diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-06 07:55:36 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-06 07:55:36 +0000 |
| commit | 9d11a4f0dd9e4404630913210e4713ff1bca89ba (patch) | |
| tree | e8b9e4d2a2e4319f8cf1b0aebfaacee874728060 /roundcubemail/program | |
| parent | 3fdbb2bdcfff05a191282b526b1ff3516a6e5dfd (diff) | |
Show attachment filename in page title
git-svn-id: https://svn.roundcube.net/trunk@5547 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/steps/mail/get.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/get.inc b/roundcubemail/program/steps/mail/get.inc index 721c66196..1e0583cf8 100644 --- a/roundcubemail/program/steps/mail/get.inc +++ b/roundcubemail/program/steps/mail/get.inc @@ -66,6 +66,9 @@ if (!empty($_GET['_uid'])) { // show part page if (!empty($_GET['_frame'])) { + if (($part_id = get_input_value('_part', RCUBE_INPUT_GPC)) && ($part = $MESSAGE->mime_parts[$part_id]) && $part->filename) + $OUTPUT->set_pagetitle($part->filename); + $OUTPUT->send('messagepart'); exit; } |
