X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsearchaction.php;h=a7bcf3789d51975c16c03dbefb9cede7134292a9;hb=ac2d811a469b7109f34065bf13e31a5b5954dd0b;hp=a9fb77fd3c2f933cc212c299c85272301b4fdbbb;hpb=63d34061a2edf233a43b0f5b0f8f7f9fdd7177e8;p=quix0rs-gnu-social.git diff --git a/lib/searchaction.php b/lib/searchaction.php index a9fb77fd3c..a7bcf3789d 100644 --- a/lib/searchaction.php +++ b/lib/searchaction.php @@ -49,14 +49,14 @@ class SearchAction extends Action { function show_header($arr) { return; } - + function show_form($error=NULL) { $q = $this->trimmed('q'); $page = $this->trimmed('page', 1); - + common_show_header($this->get_title(), array($this, 'show_header'), array($q, $error), array($this, 'show_top')); - common_element_start('form', array('method' => 'post', + common_element_start('form', array('method' => 'get', 'id' => 'login', 'action' => common_local_url($this->trimmed('action')))); common_element_start('p'); @@ -70,8 +70,8 @@ class SearchAction extends Action { 'id' => 'search', 'name' => 'search', 'class' => 'submit', - 'value' => _t('Search'))); - + 'value' => _('Search'))); + common_element_end('p'); common_element_end('form'); if ($q) { @@ -79,7 +79,7 @@ class SearchAction extends Action { } common_show_footer(); } - + function search_menu() { # action => array('prompt', 'title') static $menu =