X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsearchform.php;h=9d6b40e36315c36563db1a8355ac5a706ebc2a39;hb=046d070ad46bb58096664dabb6f7c13a062d847d;hp=4c632640060f482bebf29f6a6eb9f9f1c61b01f6;hpb=c751be1c0639dd02432b8f7ddd365a91504e331c;p=quix0rs-gnu-social.git diff --git a/lib/searchform.php b/lib/searchform.php index 4c63264006..9d6b40e363 100644 --- a/lib/searchform.php +++ b/lib/searchform.php @@ -4,7 +4,7 @@ * Copyright (C) 2011, StatusNet, Inc. * * Form for searching a StatusNet site - * + * * PHP version 5 * * This program is free software: you can redistribute it and/or modify @@ -44,7 +44,6 @@ if (!defined('STATUSNET')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 * @link http://status.net/ */ - class SearchForm extends Form { /** @@ -55,7 +54,6 @@ class SearchForm extends Form * * @return void */ - function formData() { $this->out->element('input', array('name' => 'q', @@ -71,11 +69,11 @@ class SearchForm extends Form * * @return void */ - function formActions() { $this->out->element('input', array('type' => 'submit', - 'value' => _('Search'))); + // TRANS: Button text for search button on search form. + 'value' => _m('BUTTON','Search'))); } /** @@ -86,7 +84,6 @@ class SearchForm extends Form * * @return int ID of the form */ - function id() { return 'header-search'; @@ -100,7 +97,6 @@ class SearchForm extends Form * * @return string URL to post to */ - function action() { return common_local_url('noticesearch'); @@ -110,9 +106,4 @@ class SearchForm extends Form { return 'get'; } - - function sessionToken() - { - return; - } }