X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsearchaction.php;h=fdfb8dc5adac4cc57378b9665c9d0744907a8d5a;hb=72b3c9108cc3344519a5b59188c912952a62806a;hp=71ab3a6ef5f1ad100b0c68b7ebfd12eea0c261b4;hpb=8a65c5175c3b734d4c53d6a3c3af51c5a645dff2;p=quix0rs-gnu-social.git diff --git a/lib/searchaction.php b/lib/searchaction.php index 71ab3a6ef5..fdfb8dc5ad 100644 --- a/lib/searchaction.php +++ b/lib/searchaction.php @@ -73,7 +73,7 @@ class SearchAction extends Action function showLocalNav() { - $nav = new SearchGroupNav($this); + $nav = new SearchGroupNav($this, $this->trimmed('q')); $nav->show(); } @@ -98,11 +98,6 @@ class SearchAction extends Action return null; } - function show_header($arr) - { - return; - } - function showNoticeForm() { // remote post notice form } @@ -119,17 +114,21 @@ class SearchAction extends Action $q = $this->trimmed('q'); $page = $this->trimmed('page', 1); $this->elementStart('form', array('method' => 'get', - 'id' => 'login', + 'id' => 'form_search', + 'class' => 'form_settings', 'action' => common_local_url($this->trimmed('action')))); - $this->elementStart('p'); + $this->elementStart('fieldset'); + $this->element('legend', null, _('Search site')); + $this->elementStart('ul', 'form_data'); + $this->elementStart('li'); if (!isset($config['site']['fancy']) || !$config['site']['fancy']) { $this->hidden('action', $this->trimmed('action')); } - $this->input('q', '', $q); - $this->text(' '); + $this->input('q', 'Keyword(s)', $q); $this->submit('search', 'Search'); - - $this->elementEnd('p'); + $this->elementEnd('li'); + $this->elementEnd('ul'); + $this->elementEnd('fieldset'); $this->elementEnd('form'); if ($q) { $this->showResults($q, $page);