GET request would send 'search' parameter because it had a name
This commit is contained in:
parent
22481b1de6
commit
bfaa700763
|
@ -109,7 +109,7 @@ class SearchAction extends Action
|
||||||
// TRANS: for searching can be entered.
|
// TRANS: for searching can be entered.
|
||||||
$this->input('q', _('Keyword(s)'), $q);
|
$this->input('q', _('Keyword(s)'), $q);
|
||||||
// TRANS: Button text for searching site.
|
// TRANS: Button text for searching site.
|
||||||
$this->submit('search', _m('BUTTON','Search'));
|
$this->element('input', array('type'=>'submit', 'class'=>'submit', 'value'=>_m('BUTTON','Search')));
|
||||||
$this->elementEnd('li');
|
$this->elementEnd('li');
|
||||||
$this->elementEnd('ul');
|
$this->elementEnd('ul');
|
||||||
$this->elementEnd('fieldset');
|
$this->elementEnd('fieldset');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user