From 0911facde954d60ca3124e03b85b3b9b47c3c6b0 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 25 Sep 2010 13:47:51 +0000 Subject: - Truncate message subject when setting page title --- program/steps/mail/show.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail') diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 3d42de61a..382733f5e 100644 --- a/program/steps/mail/show.inc +++ b/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