Missed one _t

darcs-hash:20080710051331-533db-a687146f02d399ae1f3368e1b94476bd7e74cc5f.gz
This commit is contained in:
Mike Cochrane 2008-07-10 01:13:31 -04:00
parent 8b32942658
commit ae7eb0ab2d

View File

@ -49,11 +49,11 @@ class SearchAction extends Action {
function show_header($arr) { function show_header($arr) {
return; return;
} }
function show_form($error=NULL) { function show_form($error=NULL) {
$q = $this->trimmed('q'); $q = $this->trimmed('q');
$page = $this->trimmed('page', 1); $page = $this->trimmed('page', 1);
common_show_header($this->get_title(), array($this, 'show_header'), array($q, $error), common_show_header($this->get_title(), array($this, 'show_header'), array($q, $error),
array($this, 'show_top')); array($this, 'show_top'));
common_element_start('form', array('method' => 'post', common_element_start('form', array('method' => 'post',
@ -70,8 +70,8 @@ class SearchAction extends Action {
'id' => 'search', 'id' => 'search',
'name' => 'search', 'name' => 'search',
'class' => 'submit', 'class' => 'submit',
'value' => _t('Search'))); 'value' => _('Search')));
common_element_end('p'); common_element_end('p');
common_element_end('form'); common_element_end('form');
if ($q) { if ($q) {
@ -79,7 +79,7 @@ class SearchAction extends Action {
} }
common_show_footer(); common_show_footer();
} }
function search_menu() { function search_menu() {
# action => array('prompt', 'title') # action => array('prompt', 'title')
static $menu = static $menu =