diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-09-25 13:47:51 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-09-25 13:47:51 +0000 |
| commit | f040936b07cf9a93d594c4d1ee94de7d81589216 (patch) | |
| tree | 103f6fb44d5967169aa5341a7eb6784ddf937e5d /roundcubemail/program/steps/mail | |
| parent | 4095c1544a3ba233d11f87231db1f0a080cac489 (diff) | |
- Truncate message subject when setting page title
git-svn-id: https://svn.roundcube.net/trunk@3991 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
| -rw-r--r-- | roundcubemail/program/steps/mail/show.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
