Add an even (hook): StartPersonalGroupNav.

This commit is contained in:
Robin Millette 2009-04-16 17:58:52 +00:00
parent a4238e97d7
commit ed05569716

View File

@ -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');
}
}