$menu->submenu(_m('Tags'), $tagSubMenu);
}
- foreach ($tags as $tag) {
- $menu->out->menuItem(common_local_url('tag',
- array('tag' => $tag)),
- sprintf('#%s', $tag),
- sprintf(_('Notices tagged with %s'), $tag),
- $menu->actionName == 'tag' && $menu->action->arg('tag') == $tag,
- 'nav_streams_tag_'.$tag);
- }
-
return true;
}
{
$this->out->elementStart('ul', array('class' => 'nav'));
- foreach ($tags as $tag) {
+ foreach ($this->tags as $tag) {
$this->out->menuItem(common_local_url('tag',
array('tag' => $tag)),
sprintf('#%s', $tag),