* * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * \**************************************************************************/ /* $Id$ */ if ($confirm) { $phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True); } $phpgw_info["flags"]["currentapp"] = "addressbook"; include("../header.inc.php"); if (! $ab_id) { Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/addressbook/")); } if ($confirm != "true") { $phpgw->db->query("select ab_owner from addressbook where ab_id='$ab_id'"); $phpgw->db->next_record(); if ($phpgw->db->f("ab_owner") != $phpgw_info["user"]["userid"]) Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/addressbook/")); ?>