From 866c47ec603595e8fe67da5f0e5d162a70b1f7b4 Mon Sep 17 00:00:00 2001 From: cookie Date: Sun, 6 Nov 2005 17:14:25 +0000 Subject: move files git-svn-id: svn://svn.cccv.de/engel-system@20 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/funktion_menu.php | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 www-ssl/inc/funktion_menu.php (limited to 'www-ssl/inc/funktion_menu.php') diff --git a/www-ssl/inc/funktion_menu.php b/www-ssl/inc/funktion_menu.php new file mode 100755 index 00000000..d66700e8 --- /dev/null +++ b/www-ssl/inc/funktion_menu.php @@ -0,0 +1,41 @@ +". $Menu["Name"]. ""; + + 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
  • ". $Entry["Name"]. "
  • \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
  • ". $Entry["File"]. " (". $Entry["Name"]. ")
  • \n"; + } // DEBUG + } //foreach + + echo $MenueTableEnd; +} //function ShowMenue + + +?> -- cgit v1.2.3-54-g00ecf