* * -------------------------------------------- * * 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$ */ //$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True); $phpgw_info["flags"]["currentapp"] = "preferences"; include("../header.inc.php"); // This func called by the includes to dump a row header function section_start($name="",$icon="") { global $phpgw,$phpgw_info; //echo "\n"; echo "
\n"; //echo ""; echo ""; if ($icon != "") { echo ""; echo ""; } else { echo ""; } echo "\n"; echo "
[Icon]".lang($name)."$name
\n"; } function section_end() { echo "
\n\n"; } // The account stuff that should be at the top of the list $appname = "preferences"; $f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/preferences.inc.php"; if (file_exists($f)) { include($f); } while (list(,$appname) = each($phpgw_info["user"]["app_perms"])) { $f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/preferences.inc.php"; if (file_exists($f)) { echo "

\n"; include($f); } } $phpgw->common->phpgw_footer(); ?>