Move group logo edit from object nav to block actions

This commit is contained in:
Evan Prodromou
2011-08-27 15:50:56 -04:00
parent 330af9991f
commit ffd387e2dd
2 changed files with 9 additions and 9 deletions

View File

@@ -92,15 +92,6 @@ class GroupNav extends Menu
$action_name == 'groupqueue',
'nav_group_pending');
}
$this->out->menuItem(common_local_url('grouplogo', array('nickname' =>
$nickname)),
// TRANS: Menu item in the group navigation page. Only shown for group administrators.
_m('MENU','Logo'),
// TRANS: Tooltip for menu item in the group navigation page. Only shown for group administrators.
// TRANS: %s is the nickname of the group.
sprintf(_m('TOOLTIP','Add or edit %s logo'), $nickname),
$action_name == 'grouplogo',
'nav_group_logo');
}
Event::handle('EndGroupGroupNav', array($this));
}