diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-06-02 22:40:08 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-06-02 22:40:08 +0200 |
commit | 3afd05636e46aedb53e1c1d954d23d6563b5e104 (patch) | |
tree | aa684fe9c652ddd4d929466e0f7b20a9b21cb593 /includes/funktion_menu.php | |
parent | c0b15dfe0dce7c4603cc7ec7c19b5a6cf226dc95 (diff) |
admin groups
Diffstat (limited to 'includes/funktion_menu.php')
-rw-r--r-- | includes/funktion_menu.php | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/includes/funktion_menu.php b/includes/funktion_menu.php deleted file mode 100644 index 0a324758..00000000 --- a/includes/funktion_menu.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php -// Menue generieren -function ShowMenu($MenuName) { - global $MenueTableStart, $MenueTableEnd, $_SESSION, $debug, $url, $ENGEL_ROOT; - $Gefunden = false; - - // Ueberschift - $Text = ""; - - // Eintraege - foreach ($_SESSION['CVS'] as $Key => $Entry) - if (strpos($Key, ".php") > 0) - if ((strpos("00$Key", "0$MenuName") > 0) || ((strlen($MenuName) == 0) && (strpos("0$Key", "/") == 0))) { - $TempName = Get_Text($Key, true); - - if ((true || $debug) && ($TempName == "")) - $TempName = "not found: \"$Key\""; - - if ($Entry == "Y") { - //zum absichtlkichen ausblenden von einträgen - if (strlen($TempName) > 1) { - //sonderfälle: - - if ($Key == "admin/faq.php") - $TempName .= " (" . noAnswer() . ")"; - elseif ($Key == "credits.php") continue; - //ausgabe - $Text .= "<li><a href=\"" . $url . $ENGEL_ROOT . $Key . "\">$TempName</a></li>\n"; - $Gefunden = true; - } - } - elseif ($debug) { - $Gefunden = true; - $Text .= "<li>$TempName ($Key)</li>\n"; - } - } - if ($Gefunden) - echo '<nav class="container"><h4>' . Get_Text("$MenuName/") . '</h4><ul class="content">' . $Text . '</ul></nav>'; -} //function ShowMenue -?> |