fixed some debug warnings
This commit is contained in:
parent
83607d1581
commit
a328c4cb48
|
@ -89,7 +89,7 @@ echo $_SESSION['header'];
|
||||||
<tr><td style="border-style:none" > </td></tr>
|
<tr><td style="border-style:none" > </td></tr>
|
||||||
<?php
|
<?php
|
||||||
// print message if login was incorrect
|
// print message if login was incorrect
|
||||||
if ($message) { // $message is set by confmain.php (requires conflogin.php then)
|
if (isset($message)) { // $message is set by confmain.php (requires conflogin.php then)
|
||||||
echo ("<tr><td style=\"border-style:none\" rowspan=\"2\"></td>" .
|
echo ("<tr><td style=\"border-style:none\" rowspan=\"2\"></td>" .
|
||||||
"<td style=\"border-style:none\" colspan=2 align=\"center\"><b><font color=red>" . $message . "</font></b></td>" .
|
"<td style=\"border-style:none\" colspan=2 align=\"center\"><b><font color=red>" . $message . "</font></b></td>" .
|
||||||
"<td style=\"border-style:none\" rowspan=\"2\"></td></tr>");
|
"<td style=\"border-style:none\" rowspan=\"2\"></td></tr>");
|
||||||
|
|
|
@ -43,7 +43,7 @@ session_save_path("../../sess");
|
||||||
setlanguage();
|
setlanguage();
|
||||||
|
|
||||||
// check if button was pressed and if we have to save the setting or go back to login
|
// check if button was pressed and if we have to save the setting or go back to login
|
||||||
if ($_POST['back'] || $_POST['submitconf'] || $_POST['editmodules']){
|
if (isset($_POST['back']) || isset($_POST['submitconf']) || isset($_POST['editmodules'])){
|
||||||
// save settings
|
// save settings
|
||||||
if ($_POST['submitconf'] || $_POST['editmodules']){
|
if ($_POST['submitconf'] || $_POST['editmodules']){
|
||||||
// save HTTP-POST variables in session
|
// save HTTP-POST variables in session
|
||||||
|
@ -87,7 +87,7 @@ if ($_POST['back'] || $_POST['submitconf'] || $_POST['editmodules']){
|
||||||
}
|
}
|
||||||
|
|
||||||
// get password if register_globals is off
|
// get password if register_globals is off
|
||||||
if ($_POST['passwd']) $passwd = $_POST['passwd'];
|
if (isset($_POST['passwd'])) $passwd = $_POST['passwd'];
|
||||||
if ($_GET["modulesback"] == "true") $passwd = $_SESSION['conf_passwd'];
|
if ($_GET["modulesback"] == "true") $passwd = $_SESSION['conf_passwd'];
|
||||||
|
|
||||||
// check if password was entered
|
// check if password was entered
|
||||||
|
|
Loading…
Reference in New Issue