summaryrefslogtreecommitdiff
path: root/inc/funktion_menu.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 17:14:25 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 17:14:25 +0000
commit866c47ec603595e8fe67da5f0e5d162a70b1f7b4 (patch)
treeef2b85462576150f017ba6bd53ace13dc60dc510 /inc/funktion_menu.php
parentfbc8e11b91b0565ae5d23472fc4e5bfc7d879939 (diff)
move files
git-svn-id: svn://svn.cccv.de/engel-system@20 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'inc/funktion_menu.php')
-rwxr-xr-xinc/funktion_menu.php41
1 files changed, 0 insertions, 41 deletions
diff --git a/inc/funktion_menu.php b/inc/funktion_menu.php
deleted file mode 100755
index d66700e8..00000000
--- a/inc/funktion_menu.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?PHP
-
-function ShowMenu( $Menu )
-{
- if( !isset($Menu["Entry"]) ) return;
-
- global $MenueTableStart, $MenueTableEnd, $_SESSION, $DEBUG;
-
- echo $MenueTableStart;
- echo "<h4 class=\"menu\">". $Menu["Name"]. "</h4>";
-
- foreach( $Menu["Entry"] as $Entry )
- {
- //wenn File mit ../ beginnt wird "../" abgeschnitten und der Ordener weggelassen
- if( strstr( $Entry["File"], "../" ) != FALSE )
- $MenuFile = substr( $Entry["File"], strpos( $Entry["File"], "../" )+ 3) ;
- else
- $MenuFile = $Menu["Path"]. $Entry["File"];
-
- if( $_SESSION['CVS'][$MenuFile] == "Y")
- echo "\t\t\t<li><a href=\"". $Entry["File"]. "\">". $Entry["Name"]. "</a></li>\n";
- if( isset($Entry["Line"]))
- echo $Entry["Line"];
-
-
- //DEBUG
- if( $DEBUG )
- {
- if( !isset($_SESSION['CVS'][$MenuFile] ) )
- echo "ERROR CVS: '". $MenuFile. "' not set";
-
- if( $_SESSION['CVS'][$MenuFile] != "Y")
- echo "\t\t\t<li>". $Entry["File"]. " (". $Entry["Name"]. ")</li>\n";
- } // DEBUG
- } //foreach
-
- echo $MenueTableEnd;
-} //function ShowMenue
-
-
-?>