From f040936b07cf9a93d594c4d1ee94de7d81589216 Mon Sep 17 00:00:00 2001 From: alec Date: Sat, 25 Sep 2010 13:47:51 +0000 Subject: - Truncate message subject when setting page title git-svn-id: https://svn.roundcube.net/trunk@3991 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/show.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps/mail/show.inc') diff --git a/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc index 3d42de61a..382733f5e 100644 --- a/roundcubemail/program/steps/mail/show.inc +++ b/roundcubemail/program/steps/mail/show.inc @@ -41,7 +41,7 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) { if (!empty($MESSAGE->headers->charset)) $IMAP->set_charset($MESSAGE->headers->charset); - $OUTPUT->set_pagetitle($MESSAGE->subject); + $OUTPUT->set_pagetitle(abbreviate_string($MESSAGE->subject, 128, '...', true)); // give message uid to the client $OUTPUT->set_env('uid', $MESSAGE->uid); -- cgit v1.2.3