* * -------------------------------------------- * * 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"); if ($phpgw_info["user"]["permissions"]["anonymous"]) { Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/")); exit; } if (! $submit) { $phpgw->common->phpgw_header(); $phpgw->common->navbar(); ?>
common->phpgw_footer(); } else { if ($n_passwd != $n_passwd_2) $error = lang("the two passwords are not the same"); if (! $n_passwd) $error = lang("you must enter a password"); if ($error) { $phpgw->common->navbar(); echo "
$error