* * -------------------------------------------- * * 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"'; } ?>
"> "; } ?>
: " size="2">
:
: >
:
:
:
: " . "" . "" . "\n"; ?>
' . lang("show current users on navigation bar") . '' . '
">
">
common->phpgw_footer(); } else { $phpgw->preferences->preferences_delete("byappnotheme",$phpgw_info["user"]["account_id"],"common"); $phpgw->db->lock("preferences"); while ($setting = each($settings)) { $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],$setting[0],"common",$setting[1]); } // This one is specialized, so we do it manually if ($phpgw_info["user"]["apps"]["admin"]) { if ($show_currentusers) { $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"show_currentusers","common"); } } $phpgw->db->unlock(); if ($phpgw_info["server"]["useframes"] != "never") { Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/index.php")); exit; } Header("Location: " . $phpgw->link("index.php")); } ?>