aboutsummaryrefslogtreecommitdiffstats
path: root/admin/picture_modify.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-07-18 23:08:31 +0200
committerplegall <plg@piwigo.org>2016-07-18 23:08:31 +0200
commit80f552389267d97d667259b030bbcc1a2a29b7d3 (patch)
tree17b378cf91be4ac1990b86e73d2e8573370dc007 /admin/picture_modify.php
parente47568b087902cd98accfdbe1cf7b59007b950f9 (diff)
fixes #469, add download link on photo edit/admin page
Diffstat (limited to '')
-rw-r--r--admin/picture_modify.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index ab62c5624..af5231ff6 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -234,6 +234,7 @@ $src_image = new SrcImage($row);
$template->assign(
array(
'tag_selection' => $tag_selection,
+ 'U_DOWNLOAD' => 'action.php?id='.$_GET['image_id'].'&amp;part=e&amp;pwg_token='.get_pwg_token().'&amp;download',
'U_SYNC' => $admin_url_start.'&amp;sync_metadata=1',
'U_DELETE' => $admin_url_start.'&amp;delete=1&amp;pwg_token='.get_pwg_token(),