diff options
author | thomascube <thomas@roundcube.net> | 2011-12-06 07:55:36 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-12-06 07:55:36 +0000 |
commit | 3f81174e106b46eca1ec68ffb7834f0352739d25 (patch) | |
tree | f7767e9ca03482c83c0f8dc003bf41faf3132115 /program/steps/mail/get.inc | |
parent | 8bbc6204fc220fa5ed12fc7eaa9ee4a812ec7cde (diff) |
Show attachment filename in page title
Diffstat (limited to 'program/steps/mail/get.inc')
-rw-r--r-- | program/steps/mail/get.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc index 721c66196..1e0583cf8 100644 --- a/program/steps/mail/get.inc +++ b/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; } |