Revision b886be01
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
SL/Layout/Css.pm | ||
---|---|---|
51 | 51 |
my $menu_title = $::locale->text($item); |
52 | 52 |
my $menu_text = $menu_title; |
53 | 53 |
|
54 |
if ($menu_item->{"submenu"} || !defined($menu_item->{"module"}) || |
|
55 |
($menu_item->{"module"} eq "menu.pl")) { |
|
54 |
if ($menu_item->{"submenu"} || !defined($menu_item->{"module"})) { |
|
56 | 55 |
|
57 | 56 |
my $h = $self->print_menu("${parent}${item}", $depth * 1 + 1)."\n"; |
58 | 57 |
if (!$parent) { |
SL/Layout/Javascript.pm | ||
---|---|---|
114 | 114 |
my $item = { 'title' => $::locale->text($name) }; |
115 | 115 |
push @{ $all_items }, $item; |
116 | 116 |
|
117 |
if ($menu_item->{submenu} || !defined($menu_item->{module}) || ($menu_item->{module} eq "menu.pl")) {
|
|
117 |
if ($menu_item->{submenu} || !defined($menu_item->{module})) { |
|
118 | 118 |
$item->{subitems} = []; |
119 | 119 |
$item->{image} = _icon_path("$name.png"); |
120 | 120 |
$self->create_menu($menu, $item->{subitems}, "${parent}${name}", $depth * 1 + 1); |
Auch abrufbar als: Unified diff
action=menu.pl macht keinen Sinn mehr. submenu ist der korrekte Check.