diff options
author | thomascube <thomas@roundcube.net> | 2006-03-20 22:11:35 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-03-20 22:11:35 +0000 |
commit | 8c2e58b42e89ca0216307553a906c2ca776c44f8 (patch) | |
tree | 438c532eb3c7842009dc79c0b14b53e7c2702291 /program/steps/mail/show.inc | |
parent | 93ee836858aa4a3223a466f12ffb07a16889a8a5 (diff) |
Minor improvements and bugfixes (see changelog)
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r-- | program/steps/mail/show.inc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 992d06f79..49b83772b 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -95,18 +95,13 @@ function rcmail_message_attachments($attrib) $attach_prop['filename'], show_bytes($attach_prop['size'])); else - $out .= sprintf('<li><a href="#attachment" onclick="return %s.command(\'load-attachment\',{part:\'%s\', mimetype:\'%s\'},this)">%s</a></li>'."\n", + $out .= sprintf('<li><a href="%s&_part=%s" onclick="return %s.command(\'load-attachment\',{part:\'%s\', mimetype:\'%s\'},this)">%s</a></li>'."\n", + $GET_URL, + $attach_prop['part_id'], $JS_OBJECT_NAME, $attach_prop['part_id'], $attach_prop['mimetype'], $attach_prop['filename']); - /* direct link - else - $out .= sprintf('<li><a href="%s&_part=%s&_frame=1" target="rcubemailattachment">%s</a></li>'."\n", - $GET_URL, - $attach_prop['part_id'], - $attach_prop['filename']); - */ } $out .= "</ul>"; |