X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsearchaction.php;h=f99883b251ec7ca2eed5044f555155c5f1ed5166;hb=aac0605bd1baf1462a20646c01edc19557a33b93;hp=c0eab7d2469044d1e97fb906b092b2090297dbbc;hpb=97bc06d2ee29b42a3009a2bf4c57ebd71e63cf0e;p=quix0rs-gnu-social.git diff --git a/lib/searchaction.php b/lib/searchaction.php index c0eab7d246..f99883b251 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); } }