prettier html in menu2 tags

This commit is contained in:
Christian Weiske 2010-10-07 19:46:20 +02:00
parent aa6b6863b8
commit 20cd1969d1

View file

@ -30,14 +30,16 @@ if (count($menu2Tags) > 0) {
<?php echo 'title="'.T_('This menu is composed of keywords (tags) organized by admins.').'"'?>>
<ul>
<?php
//this is unneeded and replaced by the ajax tree anyway. we keep it for
// non-js browsers
foreach ($menu2Tags as $menu2Tag) {
echo ' <li>'
. sprintf(
'<a href="%s">%s</a><ul><li><a href="#">foo</a></li><li><a href="#">bar</a></li></ul>',
'<a href="%s">%s</a>',
sprintf($cat_url, $menu2Tag),
$menu2Tag
)
. '</li>';
. '</li>' . "\n";
}
?>
</ul>