diff --git a/lam/session-vars.txt b/lam/session-vars.txt index ccab2ca8..aebbb585 100644 --- a/lam/session-vars.txt +++ b/lam/session-vars.txt @@ -56,31 +56,31 @@ domain: convsave, confmain, conflogin: -- passwd: Eingabe von confmain -- passwd1: Eingabe von confmain -- passwd2: Eingabe von confmain -- serverurl: Eingabe von confmain -- cachetimeout: Eingabe von confmain -- admins: Eingabe von confmain -- suffusers: Eingabe von confmain -- suffgroups: Eingabe von confmain -- suffhosts: Eingabe von confmain -- suffdomains: Eingabe von confmain -- minUID: Eingabe von confmain -- maxUID: Eingabe von confmain -- minGID: Eingabe von confmain -- maxGID: Eingabe von confmain -- minMach: Eingabe von confmain -- maxMach: Eingabe von confmain -- usrlstattr: Eingabe von confmain -- grplstattr: Eingabe von confmain -- hstlstattr: Eingabe von confmain -- maxlistentries: Eingabe von confmain -- lang: Eingabe von confmain -- scriptpath: Eingabe von confmain -- scriptserver: Eingabe von confmain -- samba3: Eingabe von confmain -- filename: Dateiname des Profils +- conf_passwd: Eingabe von confmain +- conf_passwd1: Eingabe von confmain +- conf_passwd2: Eingabe von confmain +- conf_serverurl: Eingabe von confmain +- conf_cachetimeout: Eingabe von confmain +- conf_admins: Eingabe von confmain +- conf_suffusers: Eingabe von confmain +- conf_suffgroups: Eingabe von confmain +- conf_suffhosts: Eingabe von confmain +- conf_suffdomains: Eingabe von confmain +- conf_minUID: Eingabe von confmain +- conf_maxUID: Eingabe von confmain +- conf_minGID: Eingabe von confmain +- conf_maxGID: Eingabe von confmain +- conf_minMach: Eingabe von confmain +- conf_maxMach: Eingabe von confmain +- conf_usrlstattr: Eingabe von confmain +- conf_grplstattr: Eingabe von confmain +- conf_hstlstattr: Eingabe von confmain +- conf_maxlistentries: Eingabe von confmain +- conf_lang: Eingabe von confmain +- conf_scriptpath: Eingabe von confmain +- conf_scriptserver: Eingabe von confmain +- conf_samba3: Eingabe von confmain +- conf_filename: Dateiname des Profils useredit: diff --git a/lam/templates/config/conflogin.php b/lam/templates/config/conflogin.php index ce19dbec..d544876c 100644 --- a/lam/templates/config/conflogin.php +++ b/lam/templates/config/conflogin.php @@ -33,30 +33,30 @@ session_save_path("../../sess"); setlanguage(); // remove settings from session -unset($_SESSION['passwd']); -unset($_SESSION['passwd1']); -unset($_SESSION['passwd2']); -unset($_SESSION['serverurl']); -unset($_SESSION['admins']); -unset($_SESSION['suffusers']); -unset($_SESSION['suffgroups']); -unset($_SESSION['suffhosts']); -unset($_SESSION['minUID']); -unset($_SESSION['maxUID']); -unset($_SESSION['minGID']); -unset($_SESSION['maxGID']); -unset($_SESSION['minMach']); -unset($_SESSION['maxMach']); -unset($_SESSION['usrlstattr']); -unset($_SESSION['grplstattr']); -unset($_SESSION['hstlstattr']); -unset($_SESSION['maxlistentries']); -unset($_SESSION['lang']); -unset($_SESSION['scriptpath']); -unset($_SESSION['scriptserver']); -unset($_SESSION['samba3']); -unset($_SESSION['domainSID']); -unset($_SESSION['filename']); +unset($_SESSION['conf_passwd']); +unset($_SESSION['conf_passwd1']); +unset($_SESSION['conf_passwd2']); +unset($_SESSION['conf_serverurl']); +unset($_SESSION['conf_admins']); +unset($_SESSION['conf_suffusers']); +unset($_SESSION['conf_suffgroups']); +unset($_SESSION['conf_suffhosts']); +unset($_SESSION['conf_minUID']); +unset($_SESSION['conf_maxUID']); +unset($_SESSION['conf_minGID']); +unset($_SESSION['conf_maxGID']); +unset($_SESSION['conf_minMach']); +unset($_SESSION['conf_maxMach']); +unset($_SESSION['conf_usrlstattr']); +unset($_SESSION['conf_grplstattr']); +unset($_SESSION['conf_hstlstattr']); +unset($_SESSION['conf_maxlistentries']); +unset($_SESSION['conf_lang']); +unset($_SESSION['conf_scriptpath']); +unset($_SESSION['conf_scriptserver']); +unset($_SESSION['conf_samba3']); +unset($_SESSION['conf_domainSID']); +unset($_SESSION['conf_filename']); echo $_SESSION['header']; diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php index d1d55696..a875a93e 100644 --- a/lam/templates/config/confmain.php +++ b/lam/templates/config/confmain.php @@ -38,33 +38,33 @@ if ($_POST['back'] || $_POST['submitconf']){ if ($_POST['submitconf']){ // save HTTP-POST variables in session // get data if register_globals is off - if ($_POST['passwd']) $_SESSION['passwd'] = $_POST['passwd']; - if ($_POST['passwd1']) $_SESSION['passwd1'] = $_POST['passwd1']; - if ($_POST['passwd2']) $_SESSION['passwd2'] = $_POST['passwd2']; - if ($_POST['serverurl']) $_SESSION['serverurl'] = $_POST['serverurl']; - if (isset($_POST['cachetimeout'])) $_SESSION['cachetimeout'] = $_POST['cachetimeout']; - if ($_POST['admins']) $_SESSION['admins'] = $_POST['admins']; - if ($_POST['suffusers']) $_SESSION['suffusers'] = $_POST['suffusers']; - if ($_POST['suffgroups']) $_SESSION['suffgroups'] = $_POST['suffgroups']; - if ($_POST['suffhosts']) $_SESSION['suffhosts'] = $_POST['suffhosts']; - if ($_POST['suffdomains']) $_SESSION['suffdomains'] = $_POST['suffdomains']; - if (isset($_POST['minUID'])) $_SESSION['minUID'] = $_POST['minUID']; - if ($_POST['maxUID']) $_SESSION['maxUID'] = $_POST['maxUID']; - if (isset($_POST['minGID'])) $_SESSION['minGID'] = $_POST['minGID']; - if ($_POST['maxGID']) $_SESSION['maxGID'] = $_POST['maxGID']; - if (isset($_POST['minMach'])) $_SESSION['minMach'] = $_POST['minMach']; - if ($_POST['maxMach']) $_SESSION['maxMach'] = $_POST['maxMach']; - if ($_POST['usrlstattr']) $_SESSION['usrlstattr'] = $_POST['usrlstattr']; - if ($_POST['grplstattr']) $_SESSION['grplstattr'] = $_POST['grplstattr']; - if ($_POST['hstlstattr']) $_SESSION['hstlstattr'] = $_POST['hstlstattr']; - if ($_POST['maxlistentries']) $_SESSION['maxlistentries'] = $_POST['maxlistentries']; - if ($_POST['lang']) $_SESSION['lang'] = $_POST['lang']; - if ($_POST['samba3']) $_SESSION['samba3'] = $_POST['samba3']; - if ($_POST['scriptpath']) $_SESSION['scriptpath'] = $_POST['scriptpath']; - else $_SESSION['scriptpath'] = ""; - if ($_POST['scriptserver']) $_SESSION['scriptserver'] = $_POST['scriptserver']; - else $_SESSION['scriptserver'] = ""; - if ($_POST['filename']) $_SESSION['filename'] = $_POST['filename']; + if ($_POST['passwd']) $_SESSION['conf_passwd'] = $_POST['passwd']; + if ($_POST['passwd1']) $_SESSION['conf_passwd1'] = $_POST['passwd1']; + if ($_POST['passwd2']) $_SESSION['conf_passwd2'] = $_POST['passwd2']; + if ($_POST['serverurl']) $_SESSION['conf_serverurl'] = $_POST['serverurl']; + if (isset($_POST['cachetimeout'])) $_SESSION['conf_cachetimeout'] = $_POST['cachetimeout']; + if ($_POST['admins']) $_SESSION['conf_admins'] = $_POST['admins']; + if ($_POST['suffusers']) $_SESSION['conf_suffusers'] = $_POST['suffusers']; + if ($_POST['suffgroups']) $_SESSION['conf_suffgroups'] = $_POST['suffgroups']; + if ($_POST['suffhosts']) $_SESSION['conf_suffhosts'] = $_POST['suffhosts']; + if ($_POST['suffdomains']) $_SESSION['conf_suffdomains'] = $_POST['suffdomains']; + if (isset($_POST['minUID'])) $_SESSION['conf_minUID'] = $_POST['minUID']; + if ($_POST['maxUID']) $_SESSION['conf_maxUID'] = $_POST['maxUID']; + if (isset($_POST['minGID'])) $_SESSION['conf_minGID'] = $_POST['minGID']; + if ($_POST['maxGID']) $_SESSION['conf_maxGID'] = $_POST['maxGID']; + if (isset($_POST['minMach'])) $_SESSION['conf_minMach'] = $_POST['minMach']; + if ($_POST['maxMach']) $_SESSION['conf_maxMach'] = $_POST['maxMach']; + if ($_POST['usrlstattr']) $_SESSION['conf_usrlstattr'] = $_POST['usrlstattr']; + if ($_POST['grplstattr']) $_SESSION['conf_grplstattr'] = $_POST['grplstattr']; + if ($_POST['hstlstattr']) $_SESSION['conf_hstlstattr'] = $_POST['hstlstattr']; + if ($_POST['maxlistentries']) $_SESSION['conf_maxlistentries'] = $_POST['maxlistentries']; + if ($_POST['lang']) $_SESSION['conf_lang'] = $_POST['lang']; + if ($_POST['samba3']) $_SESSION['conf_samba3'] = $_POST['samba3']; + if ($_POST['scriptpath']) $_SESSION['conf_scriptpath'] = $_POST['scriptpath']; + else $_SESSION['conf_scriptpath'] = ""; + if ($_POST['scriptserver']) $_SESSION['conf_scriptserver'] = $_POST['scriptserver']; + else $_SESSION['conf_scriptserver'] = ""; + if ($_POST['filename']) $_SESSION['conf_filename'] = $_POST['filename']; metaRefresh("confsave.php"); } // back to login @@ -322,12 +322,12 @@ echo ("
". _("New Password") . ": | ". - "\n"); + " | \n"); echo (" | " . _("Help") . " |
". _("Reenter Password") . ": | ". - "\n"); echo (" |