]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/searchaction.php
Twitter-compatible API - don't strip XML-illegal chars from JSON output
[quix0rs-gnu-social.git] / lib / searchaction.php
index c0eab7d2469044d1e97fb906b092b2090297dbbc..f99883b251ec7ca2eed5044f555155c5f1ed5166 100644 (file)
@@ -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);
        }
 }