summaryrefslogtreecommitdiff
path: root/program/steps/mail/search.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-04-07 17:01:30 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-04-07 17:01:30 +0200
commit6dc1a6645168e5e777a3db97b92d360a9e6b0c86 (patch)
treec2031248d0e3c0ad66729dcabf99ac37292e9a89 /program/steps/mail/search.inc
parente8cb51669a325a3d5b60fcc37b99d494809bf837 (diff)
Fix page title and folder selection in search mode
Diffstat (limited to 'program/steps/mail/search.inc')
-rw-r--r--program/steps/mail/search.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc
index 941e68bd9..797c8fcd8 100644
--- a/program/steps/mail/search.inc
+++ b/program/steps/mail/search.inc
@@ -170,4 +170,5 @@ $OUTPUT->set_env('messagecount', $count);
$OUTPUT->set_env('pagecount', ceil($count/$RCMAIL->storage->get_pagesize()));
$OUTPUT->set_env('exists', $RCMAIL->storage->count($mbox_name, 'EXISTS'));
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count, 1), $mbox);
+$OUTPUT->set_pagetitle($RCMAIL->gettext(array('name' => 'searchfor', 'vars' => array('q' => $str))));
$OUTPUT->send();