diff options
author | alecpl <alec@alec.pl> | 2010-09-25 13:47:51 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-09-25 13:47:51 +0000 |
commit | 0911facde954d60ca3124e03b85b3b9b47c3c6b0 (patch) | |
tree | 3a2d5ccfc870a037e3c84163e90c85dc538a677c /program/steps/mail | |
parent | 2753a4cab5642f821b1b0a88a50b5a568aa6ec11 (diff) |
- Truncate message subject when setting page title
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/show.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |