X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsearchaction.php;h=cc8966eeaed91800b83f2122e69532709e690a92;hb=650af0a27102e5e9067850c88e5b8a446b44f045;hp=6d7f46cd6ee0131b4fcb1cba2fccb25332233b7c;hpb=b83e7005ed9dfe8675f9fbbae00650a8c6a62511;p=quix0rs-gnu-social.git diff --git a/lib/searchaction.php b/lib/searchaction.php index 6d7f46cd6e..cc8966eeae 100644 --- a/lib/searchaction.php +++ b/lib/searchaction.php @@ -62,20 +62,6 @@ class SearchAction extends Action $this->showPage(); } - /** - * Show tabset for this page - * - * Uses the SearchGroupNav widget - * - * @return void - * @see SearchGroupNav - */ - function showLocalNav() - { - $nav = new SearchGroupNav($this, $this->trimmed('q')); - $nav->show(); - } - function showTop($arr=null) { $error = null; @@ -138,39 +124,30 @@ class SearchAction extends Action } function searchSuggestions($q) { - // @todo FIXME: i18n issue: This formatting does not make this string get picked up by gettext. - // TRANS: Standard search suggestions shown when a search does not give any results. - $message = _(<<elementStart('dl', array('id' => 'help_search', 'class' => 'help')); - // TRANS: Definition list item with instructions on how to get (better) search results. - $this->element('dt', null, _('Search help')); - $this->elementStart('dd', 'instructions'); + $this->elementStart('div', 'help instructions'); $this->raw(common_markup_to_html($message)); - $this->elementEnd('dd'); $this->elementEnd('div'); } }