From: stevetruckstuff Date: Fri, 6 Oct 2006 19:59:55 +0000 (+0000) Subject: Add a few more vars to image handler for later user with templates. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d2dcc1938bc3932ab0c60664c60ade26d5096b84;p=squirrelmail.git Add a few more vars to image handler for later user with templates. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11845 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/attachment_common.php b/functions/attachment_common.php index 0aed5a43..e8bee5b7 100644 --- a/functions/attachment_common.php +++ b/functions/attachment_common.php @@ -205,7 +205,9 @@ function attachment_common_link_image(&$Args) { $info['passed_id'] = $Args[3]; $info['mailbox'] = $Args[4]; $info['ent_id'] = $Args[5]; - + $info['name'] = $Args[7]; + $info['download_href'] = isset($Args[1]['download link']) ? $Args[1]['download link']['href'] : ''; + $attachment_common_show_images_list[] = $info; $Args[1]['attachment_common']['href'] = $base_uri . 'src/image.php?'. htmlspecialchars($QUERY_STRING);