Revision 69ff27ee
Von Moritz Bunkus vor fast 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"})) { |
|
54 |
if ($menu_item->{"submenu"} || !defined($menu_item->{"module"}) && !defined($menu_item->{href})) {
|
|
55 | 55 |
|
56 | 56 |
my $h = $self->print_menu("${parent}${item}", $depth * 1 + 1)."\n"; |
57 | 57 |
if (!$parent) { |
... | ... | |
96 | 96 |
my @vars = qw(module action target href); |
97 | 97 |
|
98 | 98 |
if ($menuitem->{href}) { |
99 |
$str = qq|<a href=$menuitem->{href}|; |
|
99 |
$str = qq|<a href="$menuitem->{href}|;
|
|
100 | 100 |
@vars = qw(module target href); |
101 | 101 |
} |
102 | 102 |
|
Auch abrufbar als: Unified diff
CSS-Menüs: Anzeige von href-Menüeinträgen gefixt
Behebt #2061.