|;
foreach my $category (@menu) { #FIXME: insert appropriate classnames for styles when they're finished.
- $menu_html .='
'.$category->{'categorytitle'}.'
';
- foreach my $item (@{ $category->{items} }) {
- next if (! $item->{'permission'});
- $menu_html .= '- '.
- qq{}.
- &mt($item->{'linktext'}).'';
+ $menu_html .='
+
'.mt($category->{'categorytitle'}).'
+
';
+ foreach my $item ( @{ $category->{items} } ) {
+ next unless $item->{'permission'};
+ $menu_html .= qq|';
}
$menu_html .= '
';
}
+ $menu_html .= qq|
|;
return $menu_html;
}