Rev 3 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 10 | ||
---|---|---|---|
Line 76... | Line 76... | ||
76 | $k = 'modules/'.$m1.'/images/menu/16.png'; |
76 | $k = 'modules/'.$m1.'/images/menu/16.png'; |
77 | else |
77 | else |
78 | $k = 'designs/spacer.gif'; |
78 | $k = 'designs/spacer.gif'; |
79 | 79 | ||
80 | if (!isset($men[$module_information->primary_position][$module_information->secondary_position])) $men[$module_information->primary_position][$module_information->secondary_position] = ''; |
80 | if (!isset($men[$module_information->primary_position][$module_information->secondary_position])) $men[$module_information->primary_position][$module_information->secondary_position] = ''; |
81 | $men[$module_information->primary_position][$module_information->secondary_position] .= wb_draw_menu_item($m1, 'main', htmlentities($module_information->caption), $k, $g); |
81 | $men[$module_information->primary_position][$module_information->secondary_position] .= wb_draw_menu_item($m1, 'main', wb_htmlentities($module_information->caption), $k, $g); |
82 | } |
82 | } |
83 | if (isset($prv_modul) && ($m1 == $prv_modul) && (file_exists('modules/'.$m1.'/page/main.inc.php'))) |
83 | if (isset($prv_modul) && ($m1 == $prv_modul) && (file_exists('modules/'.$m1.'/page/main.inc.php'))) |
84 | { |
84 | { |
85 | if (file_exists('modules/'.$m1.'/images/menu/32.gif')) |
85 | if (file_exists('modules/'.$m1.'/images/menu/32.gif')) |
86 | $g = 'modules/'.$m1.'/images/menu/32.gif'; |
86 | $g = 'modules/'.$m1.'/images/menu/32.gif'; |
Line 89... | Line 89... | ||
89 | else |
89 | else |
90 | $g = 'designs/spacer.gif'; |
90 | $g = 'designs/spacer.gif'; |
91 | 91 | ||
92 | $endjs = '<script language="JavaScript" type="text/javascript"> |
92 | $endjs = '<script language="JavaScript" type="text/javascript"> |
93 | <!-- |
93 | <!-- |
94 | oop(\''.$m1.'\', \''.$prv_seite.'\', \''.htmlentities($module_information->caption).'\', \''.$g.'\'); |
94 | oop(\''.$m1.'\', \''.$prv_seite.'\', \''.wb_htmlentities($module_information->caption).'\', \''.$g.'\'); |
95 | // --> |
95 | // --> |
96 | </script>'."\n\n"; |
96 | </script>'."\n\n"; |
97 | $startgefunden = true; |
97 | $startgefunden = true; |
98 | } |
98 | } |
99 | else |
99 | else |
Line 107... | Line 107... | ||
107 | else |
107 | else |
108 | $g = 'designs/spacer.gif'; |
108 | $g = 'designs/spacer.gif'; |
109 | 109 | ||
110 | $endjs = '<script language="JavaScript" type="text/javascript"> |
110 | $endjs = '<script language="JavaScript" type="text/javascript"> |
111 | <!-- |
111 | <!-- |
112 | oop(\''.$m1.'\', \'main\', \''.htmlentities($module_information->caption).'\', \''.$g.'\'); |
112 | oop(\''.$m1.'\', \'main\', \''.wb_htmlentities($module_information->caption).'\', \''.$g.'\'); |
113 | // --> |
113 | // --> |
114 | </script>'."\n\n"; |
114 | </script>'."\n\n"; |
115 | $startgefunden = true; |
115 | $startgefunden = true; |
116 | } |
116 | } |
117 | } |
117 | } |