* * -------------------------------------------- * * 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) { ?>
"> "; } ?>
: " size="2">
:
:
:
: " . "" . "" . "\n"; ?>
' . lang("show current users on navigation bar") . '' . '
">
">
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(); Header("Location: " . $phpgw->link("index.php")); } $phpgw->common->phpgw_footer(); ?>