Revision 8660390c
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/Layout/MenuLeft.pm | ||
---|---|---|
70 | 70 |
$menuitem->{href} .= $::form->escape($value, 1); |
71 | 71 |
} |
72 | 72 |
|
73 |
my $anchor = $menuitem->{href}; |
|
74 |
|
|
75 | 73 |
my @common_args = ($label, $spacer, "$id_prefix\_$id"); |
76 | 74 |
|
77 | 75 |
if (!$level) { # toplevel |
... | ... | |
83 | 81 |
#make_image(label => 'submenu'), |
84 | 82 |
push @items, section_menu($menu, $item, "$id_prefix\_$id"); |
85 | 83 |
} elsif ($menuitem->{module}) { |
86 |
push @items, [ @common_args, "icon16 $icon_class", 'i', $anchor ];
|
|
84 |
push @items, [ @common_args, "icon16 $icon_class", 'i', $menuitem->{href}, $menuitem->{target} ];
|
|
87 | 85 |
#make_image(size => 16, label => $item), |
88 | 86 |
} |
89 | 87 |
} continue { |
... | ... | |
129 | 127 |
2: unique id |
130 | 128 |
3: icon classes |
131 | 129 |
4: role classes |
130 |
5: href |
|
131 |
6: target |
|
132 | 132 |
|
133 | 133 |
From each entry the following dom will be generated, with [0] being entry 0 of |
134 | 134 |
the data array: |
Auch abrufbar als: Unified diff
Menüs: "target=..." wieder unterstützt