aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-05-09 13:32:37 +0000
committerCash Costello <cash.costello@gmail.com>2009-05-09 13:32:37 +0000
commit37a556d955f2e18f83d239733963527cd573c233 (patch)
tree37a3e8d82d43a4e82f623a6f67aaf8a5733f7746 /views/default/object/image.php
parent896610c152dde74488a01acb6a3e5beda6cde04d (diff)
downloadelgg-37a556d955f2e18f83d239733963527cd573c233.tar.gz
elgg-37a556d955f2e18f83d239733963527cd573c233.tar.bz2
admins can now override download link
Diffstat (limited to 'views/default/object/image.php')
-rw-r--r--views/default/object/image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index b456fdebc..16ec74868 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -137,7 +137,7 @@ if ($photo_tags) {
<div id="tidypics_controls">
<ul>
<li><a id="tag_control" href="javascript:void(0)" onclick="startTagging()"><?= elgg_echo('image:tagthisphoto') ?></a></li>
- <li><a href="<?php echo $vars['url']; ?>action/tidypics/download?file_guid=<?php echo $file_guid; ?>"><?php echo elgg_echo("image:download"); ?></a></li>
+ <?php echo elgg_view('tidypics/download', array('file_guid' => $file_guid,) ); ?>
</ul>
</div>
<?php if ($photo_tags) { ?>