summaryrefslogtreecommitdiff
path: root/lib/searchaction.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/searchaction.php')
-rw-r--r--lib/searchaction.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/searchaction.php b/lib/searchaction.php
index c0eab7d24..f99883b25 100644
--- a/lib/searchaction.php
+++ b/lib/searchaction.php
@@ -94,17 +94,17 @@ class SearchAction extends Action {
function search_menu() {
# action => array('prompt', 'title', $args)
$action = $this->trimmed('action');
- $menu =
- array('peoplesearch' =>
- array(
- _('People'),
- _('Find people on this site'),
- ($action != 'peoplesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : NULL),
- 'noticesearch' =>
- array( _('Text'),
- _('Find content of notices'),
- ($action != 'noticesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : NULL)
- );
+ $menu =
+ array('peoplesearch' =>
+ array(
+ _('People'),
+ _('Find people on this site'),
+ ($action != 'peoplesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : NULL),
+ 'noticesearch' =>
+ array( _('Text'),
+ _('Find content of notices'),
+ ($action != 'noticesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : NULL)
+ );
$this->nav_menu($menu);
}
}