Rev 12 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 14 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | { |
21 | { |
22 | echo $ueberschrift; |
22 | echo $ueberschrift; |
23 | } |
23 | } |
24 | else |
24 | else |
25 | { |
25 | { |
26 | if ($ib_user_type == '0') |
26 | if ($wb_user_type == '0') |
27 | echo 'Gastzugang'; |
27 | echo 'Gastzugang'; |
28 | else if ($ib_user_type == '1') |
28 | else if ($wb_user_type == '1') |
29 | echo 'Benutzermenü'; |
29 | echo 'Benutzermenü'; |
30 | else if ($ib_user_type == '2') |
30 | else if ($wb_user_type == '2') |
31 | echo 'Verwaltung'; |
31 | echo 'Verwaltung'; |
32 | else |
32 | else |
33 | echo 'Hauptmenü'; |
33 | echo 'Hauptmenü'; |
34 | } |
34 | } |
35 | 35 | ||
Line 57... | Line 57... | ||
57 | $menuevisible = ''; |
57 | $menuevisible = ''; |
58 | $license = ''; |
58 | $license = ''; |
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 (((($wb_user_type == 0) || ($wb_user_type == 1)) && ($modulrechte == 0)) || ($wb_user_type == $modulrechte)) |
63 | { |
63 | { |
64 | if (($menuevisible) && (file_exists('modules/'.wb_dir_escape($m2).'/pages/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'; |