Rev 8 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8 | Rev 12 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | $deaktiviere_zugangspruefung = 0; |
59 | $deaktiviere_zugangspruefung = 0; |
60 | 60 | ||
61 | include('modules/'.wb_dir_escape($m2).'/var.inc.php'); |
61 | include('modules/'.wb_dir_escape($m2).'/var.inc.php'); |
62 | if (((($ib_user_type == 0) || ($ib_user_type == 1)) && ($modulrechte == 0)) || ($ib_user_type == $modulrechte)) |
62 | if (((($ib_user_type == 0) || ($ib_user_type == 1)) && ($modulrechte == 0)) || ($ib_user_type == $modulrechte)) |
63 | { |
63 | { |
64 | if (($menuevisible) && (file_exists('modules/'.wb_dir_escape($m2).'/seite_inhalt.inc.php'))) |
64 | if (($menuevisible) && (file_exists('modules/'.wb_dir_escape($m2).'/pages/inhalt.inc.php'))) |
65 | { |
65 | { |
66 | if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.png')) |
66 | if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.png')) |
67 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.png'; |
67 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.png'; |
68 | else if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.gif')) |
68 | else if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.gif')) |
69 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.gif'; |
69 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.gif'; |
Line 78... | Line 78... | ||
78 | $k = 'design/spacer.gif'; |
78 | $k = 'design/spacer.gif'; |
79 | 79 | ||
80 | if (!isset($men[$modulpos][$modulsekpos])) $men[$modulpos][$modulsekpos] = ''; |
80 | if (!isset($men[$modulpos][$modulsekpos])) $men[$modulpos][$modulsekpos] = ''; |
81 | $men[$modulpos][$modulsekpos] .= gfx_zeichnemenuepunkt($m2, 'inhalt', my_htmlentities($modulueberschrift), $k, $g); |
81 | $men[$modulpos][$modulsekpos] .= gfx_zeichnemenuepunkt($m2, 'inhalt', my_htmlentities($modulueberschrift), $k, $g); |
82 | } |
82 | } |
83 | if (isset($prv_modul) && ($m2 == $prv_modul) && (file_exists('modules/'.wb_dir_escape($m2).'/seite_inhalt.inc.php'))) |
83 | if (isset($prv_modul) && ($m2 == $prv_modul) && (file_exists('modules/'.wb_dir_escape($m2).'/pages/inhalt.inc.php'))) |
84 | { |
84 | { |
85 | if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.png')) |
85 | if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.png')) |
86 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.png'; |
86 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.png'; |
87 | else if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.gif')) |
87 | else if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.gif')) |
88 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.gif'; |
88 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.gif'; |
Line 96... | Line 96... | ||
96 | </script>'."\n\n"; |
96 | </script>'."\n\n"; |
97 | $startgefunden = true; |
97 | $startgefunden = true; |
98 | } |
98 | } |
99 | else |
99 | else |
100 | { |
100 | { |
101 | if (($modulpos == 0) && ($modulsekpos == 0) && (!$startgefunden) && (file_exists('modules/'.wb_dir_escape($m2).'/seite_inhalt.inc.php'))) |
101 | if (($modulpos == 0) && ($modulsekpos == 0) && (!$startgefunden) && (file_exists('modules/'.wb_dir_escape($m2).'/pages/inhalt.inc.php'))) |
102 | { |
102 | { |
103 | if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.png')) |
103 | if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.png')) |
104 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.png'; |
104 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.png'; |
105 | else if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.gif')) |
105 | else if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.gif')) |
106 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.gif'; |
106 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.gif'; |