diff --git a/www-ssl/admin/dbUpdateFromXLS.php b/www-ssl/admin/dbUpdateFromXLS.php index 88f7a0f5..eb3b5ac3 100755 --- a/www-ssl/admin/dbUpdateFromXLS.php +++ b/www-ssl/admin/dbUpdateFromXLS.php @@ -1,8 +1,6 @@ '". $Page["CVS"]. "'
"; - if( $Page["Public"] == "Y") - echo "

Page is Public !!!

"; - else - echo "

Page is non Public

"; } ?> diff --git a/www-ssl/inc/funktion_menu.php b/www-ssl/inc/funktion_menu.php index d66700e8..586fce91 100755 --- a/www-ssl/inc/funktion_menu.php +++ b/www-ssl/inc/funktion_menu.php @@ -18,10 +18,11 @@ function ShowMenu( $Menu ) $MenuFile = $Menu["Path"]. $Entry["File"]; if( $_SESSION['CVS'][$MenuFile] == "Y") + { echo "\t\t\t
  • ". $Entry["Name"]. "
  • \n"; - if( isset($Entry["Line"])) - echo $Entry["Line"]; - + if( isset($Entry["Line"])) + echo $Entry["Line"]; + } //DEBUG if( $DEBUG ) diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php index 64e831fd..8dac6324 100755 --- a/www-ssl/inc/header.php +++ b/www-ssl/inc/header.php @@ -9,6 +9,9 @@ include ("./inc/secure.php"); exit (); } // Ende Rechte f. Nonpublic'*/ +if( !isset($_SESSION['IP'])) + $_SESSION['IP'] = $_SERVER['REMOTE_ADDR']; + if (IsSet($_SESSION['UID']) and ($_SESSION['IP'] <> $_SERVER['REMOTE_ADDR'])) { header("Location: https://".$_SERVER['HTTP_HOST'].$ENGEL_ROOT); @@ -64,7 +67,8 @@ if( $Page["ShowTabel"]=="Y" ) ?>
    - .png" alt="Unser Himmel"> + .png" alt="Unser Himmel">

    @@ -108,7 +112,7 @@ function SetHeaderGo2Back () } -if ( $Page["Public"]!= "Y" && $Page["CVS"] != "Y" ) { +if ( $Page["CVS"] != "Y" ) { echo "Du besitzt kein Rechte für diesen Bereich.
    \n"; If (IsSet($_SESSION['oldurl'])) echo "".Get_Text(11)." geht's zurück...\n"; diff --git a/www-ssl/index.php b/www-ssl/index.php index 9225ec71..f4de90ce 100755 --- a/www-ssl/index.php +++ b/www-ssl/index.php @@ -1,7 +1,6 @@
    "; diff --git a/www-ssl/lageplan.php b/www-ssl/lageplan.php index 08195023..6828376c 100755 --- a/www-ssl/lageplan.php +++ b/www-ssl/lageplan.php @@ -1,7 +1,6 @@ diff --git a/www-ssl/logout.php b/www-ssl/logout.php index 40995b8a..23ec9aed 100755 --- a/www-ssl/logout.php +++ b/www-ssl/logout.php @@ -1,7 +1,6 @@

    @@ -12,3 +14,24 @@ + +*/ + +$Menu["Path"] = ""; +$Menu["Name"] = Get_Text("menu_Name"); +$Menu["Entry"][0]["File"] = "index.php"; +$Menu["Entry"][0]["Name"] = Get_Text("menu_index"); +$Menu["Entry"][0]["Line"] = "
    "; +$Menu["Entry"][1]["File"] = "faq.php"; +$Menu["Entry"][1]["Name"] = Get_Text("menu_FAQ"); +$Menu["Entry"][1]["Line"] = "
    "; +$Menu["Entry"][2]["File"] = "lageplan.php"; +$Menu["Entry"][2]["Name"] = Get_Text("menu_plan"); +$Menu["Entry"][2]["Line"] = "
    "; +$Menu["Entry"][3]["File"] = "makeuser.php"; +$Menu["Entry"][3]["Name"] = Get_Text("menu_MakeUser"); +$Menu["Entry"][3]["Line"] = "
    "; +$Menu["Entry"][4]["File"] = "nonpublic/schichtplan_beamer.php"; +$Menu["Entry"][4]["Name"] = Get_Text("pub_menu_SchichtplanBeamer"); + +?> diff --git a/www-ssl/nonpublic/index.php b/www-ssl/nonpublic/index.php index d46b0a10..743534e1 100755 --- a/www-ssl/nonpublic/index.php +++ b/www-ssl/nonpublic/index.php @@ -1,7 +1,6 @@