diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-17 11:02:44 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-17 11:02:44 -0400 |
commit | 1ba234a9b632234a524e180a4f5bb4e97e92de30 (patch) | |
tree | 3afadba08ee44101ef8780a321a212e256325394 /lib/searchaction.php | |
parent | 5b01880685f41a413f7590e75c6b219f258972f9 (diff) |
make settings and search menus localisable
darcs-hash:20080817150244-84dde-7f2e4dec226aa9754dfc970386e62076f952db72.gz
Diffstat (limited to 'lib/searchaction.php')
-rw-r--r-- | lib/searchaction.php | 22 |
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); } } |