forked from GNUsocial/gnu-social
Merge commit 'jeff-themovie/0.8.x-private-search' into 0.8.x
This commit is contained in:
commit
b93df1ccbc
@ -184,7 +184,8 @@ function main()
|
||||
|
||||
if (!$user && common_config('site', 'private')) {
|
||||
$public_actions = array('openidlogin', 'finishopenidlogin',
|
||||
'recoverpassword', 'api', 'doc');
|
||||
'recoverpassword', 'api', 'doc',
|
||||
'opensearch');
|
||||
$login_action = 'openidlogin';
|
||||
if (!common_config('site', 'openidonly')) {
|
||||
$public_actions[] = 'login';
|
||||
|
@ -450,8 +450,10 @@ class Action extends HTMLOutputter // lawsuit
|
||||
}
|
||||
$this->menuItem(common_local_url('doc', array('title' => 'help')),
|
||||
_('Help'), _('Help me!'), false, 'nav_help');
|
||||
$this->menuItem(common_local_url('peoplesearch'),
|
||||
_('Search'), _('Search for people or text'), false, 'nav_search');
|
||||
if ($user || !common_config('site', 'private')) {
|
||||
$this->menuItem(common_local_url('peoplesearch'),
|
||||
_('Search'), _('Search for people or text'), false, 'nav_search');
|
||||
}
|
||||
Event::handle('EndPrimaryNav', array($this));
|
||||
}
|
||||
$this->elementEnd('ul');
|
||||
|
Loading…
Reference in New Issue
Block a user