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_UserSuffix($_SESSION['conf_suffusers']); $conf->set_GroupSuffix($_SESSION['conf_suffgroups']); $conf->set_HostSuffix($_SESSION['conf_suffhosts']); $conf->set_DomainSuffix($_SESSION['conf_suffdomains']); $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 ("