forked from GNUsocial/gnu-social
Add an even (hook): StartPersonalGroupNav.
This commit is contained in:
parent
a4238e97d7
commit
ed05569716
@ -93,6 +93,7 @@ class PersonalGroupNav extends Widget
|
||||
|
||||
$this->out->elementStart('ul', array('class' => 'nav'));
|
||||
|
||||
if (Event::handle('StartPersonalGroupNav', array($this))) {
|
||||
$this->out->menuItem(common_local_url('all', array('nickname' =>
|
||||
$nickname)),
|
||||
_('Personal'),
|
||||
@ -129,7 +130,8 @@ class PersonalGroupNav extends Widget
|
||||
_('Your sent messages'),
|
||||
$action == 'outbox');
|
||||
}
|
||||
|
||||
Event::handle('EndPersonalGroupNav', array($this));
|
||||
}
|
||||
$this->out->elementEnd('ul');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user