Bug fix, wrong action urls.
This commit is contained in:
parent
9e9b8349a2
commit
0c7176b603
@ -71,9 +71,9 @@ class SearchGroupNav extends Widget
|
|||||||
{
|
{
|
||||||
$action_name = $this->action->trimmed('action');
|
$action_name = $this->action->trimmed('action');
|
||||||
$this->action->elementStart('ul', array('class' => 'nav'));
|
$this->action->elementStart('ul', array('class' => 'nav'));
|
||||||
$this->out->menuItem(common_local_url('people'), _('People'),
|
$this->out->menuItem(common_local_url('peoplesearch'), _('People'),
|
||||||
_('Find people on this site'), $action_name == 'peoplesearch', 'nav_search_people');
|
_('Find people on this site'), $action_name == 'peoplesearch', 'nav_search_people');
|
||||||
$this->out->menuItem(common_local_url('notice'), _('Notice'),
|
$this->out->menuItem(common_local_url('noticesearch'), _('Notice'),
|
||||||
_('Find content of notices'), $action_name == 'noticesearch', 'nav_search_notice');
|
_('Find content of notices'), $action_name == 'noticesearch', 'nav_search_notice');
|
||||||
$this->action->elementEnd('ul');
|
$this->action->elementEnd('ul');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user