From 1ba234a9b632234a524e180a4f5bb4e97e92de30 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 17 Aug 2008 11:02:44 -0400 Subject: make settings and search menus localisable darcs-hash:20080817150244-84dde-7f2e4dec226aa9754dfc970386e62076f952db72.gz --- lib/searchaction.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib/searchaction.php') 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); } } -- cgit v1.2.3-54-g00ecf