|;
+
+ foreach my $category (@menu) { #FIXME: insert appropriate classnames for styles when they're finished.
+ $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;
+}
1;