get_Passwd()) == $passwd)) { $message = _("The password is invalid! Please try again."); /** go back to login if password is invalid */ require('conflogin.php'); exit; } // check if user comes from modules page if (isset($_GET["modulesback"])) { // load config values from session $conf->set_ServerURL($_SESSION['conf_serverurl']); $conf->set_cacheTimeout($_SESSION['conf_cachetimeout']); $conf->set_Adminstring($_SESSION['conf_admins']); $conf->set_Suffix('user', $_SESSION['conf_suffusers']); $conf->set_Suffix('group', $_SESSION['conf_suffgroups']); $conf->set_Suffix('host', $_SESSION['conf_suffhosts']); $conf->set_Suffix('domain', $_SESSION['conf_suffdomains']); $conf->set_Suffix('tree', $_SESSION['conf_sufftree']); $conf->set_userlistAttributes($_SESSION['conf_usrlstattr']); $conf->set_grouplistAttributes($_SESSION['conf_grplstattr']); $conf->set_hostlistAttributes($_SESSION['conf_hstlstattr']); $conf->set_MaxListEntries($_SESSION['conf_maxlistentries']); $conf->set_defaultLanguage($_SESSION['conf_lang']); $conf->set_scriptpath($_SESSION['conf_scriptpath']); $conf->set_scriptserver($_SESSION['conf_scriptserver']); // check if modules were edited if ($_GET["moduleschanged"] == "true") { $conf->set_AccountModules($_SESSION['conf_usermodules'], 'user'); $conf->set_AccountModules($_SESSION['conf_groupmodules'], 'group'); $conf->set_AccountModules($_SESSION['conf_hostmodules'], 'host'); } } // index for tab order $tabindex = 1; echo $_SESSION['header']; echo ("