From bdc8df4e735666ab286ce3e14f7baf0dada68d11 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Tue, 1 Sep 2009 12:14:06 +0000 Subject: adjusting download links --- views/default/object/image.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'views/default/object/image.php') diff --git a/views/default/object/image.php b/views/default/object/image.php index 2d560f8bb..a97916b7a 100644 --- a/views/default/object/image.php +++ b/views/default/object/image.php @@ -147,7 +147,10 @@
\"{$title}\""; + $ts = time(); + $token = generate_action_token($ts); + $download_url = $vars['url'] . "action/tidypics/download?file_guid=" . $image_guid . "&view=inline&__elgg_token={$token}&__elgg_ts={$ts}"; + echo "\"{$title}\""; } else { echo "\"{$title}\""; } -- cgit v1.2.3