X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsearchaction.php;h=cf0e583a44a1fadc649bdb3405f0a280bf609581;hb=0883f54f62f3f2d512d3b3e965eb84b5d9102b50;hp=6d7f46cd6ee0131b4fcb1cba2fccb25332233b7c;hpb=cff14c7e10b5125874438215fb799bccaa9337ea;p=quix0rs-gnu-social.git diff --git a/lib/searchaction.php b/lib/searchaction.php index 6d7f46cd6e..cf0e583a44 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; @@ -98,10 +84,6 @@ class SearchAction extends Action return null; } - function showNoticeForm() { - // remote post notice form - } - function showContent() { $this->showTop(); $this->showForm(); @@ -138,39 +120,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'); } }