* * -------------------------------------------- * * 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 ($submit) { $phpgw_info["flags"] = array("nonavbar" => True, "noheader" => True); } $phpgw_info["flags"]["currentapp"] = "preferences"; include("../header.inc.php"); if (! $submit) { if ($phpgw_info["server"]["useframes"] == "allowed") { $target = ' target="_top"'; } ?>
common->phpgw_footer(); } else { while ($setting = each($settings)) { $phpgw->preferences->change("common",$setting[0],$setting[1]); } // This one is specialized, so we do it manually if ($phpgw_info["user"]["apps"]["admin"]) { if ($show_currentusers) { $phpgw->preferences->change("common","show_currentusers"); } } $phpgw->preferences->commit(); if ($phpgw_info["server"]["useframes"] != "never") { Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/index.php")); exit; } Header("Location: " . $phpgw->link("index.php")); } ?>