aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-12-11 12:30:23 +0000
committerCash Costello <cash.costello@gmail.com>2009-12-11 12:30:23 +0000
commit3bd5e571364385cb93a93b8526e1e90e56db7b49 (patch)
tree1536e0b02dc1a4739368a2e83cb0ec971d0f2ee6 /views/default
parent622dca92b2a8eb399e7b2b44a682d7dd682dc68c (diff)
downloadelgg-3bd5e571364385cb93a93b8526e1e90e56db7b49.tar.gz
elgg-3bd5e571364385cb93a93b8526e1e90e56db7b49.tar.bz2
moved download action to download page
Diffstat (limited to 'views/default')
-rw-r--r--views/default/object/image.php2
-rw-r--r--views/default/tidypics/image_menu.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index dd52f872e..fb7a72ff8 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -150,7 +150,7 @@
$image_link = false;
if (get_plugin_setting('download_link', 'tidypics') != "disabled") {
// admin allows downloads so default to inline download link
- $image_link = $vars['url'] . "action/tidypics/download?file_guid=" . $image_guid . "&amp;view=inline";
+ $image_link = $vars['url'] . "pg/photos/download/{$image_guid}/inline/";
}
// does any plugin want to override the link
$image_link = trigger_plugin_hook('tp_image_link', 'image', $image, $image_link);
diff --git a/views/default/tidypics/image_menu.php b/views/default/tidypics/image_menu.php
index 5e6053a94..9e7a53969 100644
--- a/views/default/tidypics/image_menu.php
+++ b/views/default/tidypics/image_menu.php
@@ -43,7 +43,7 @@
}
if (get_plugin_setting('download_link', 'tidypics') != "disabled") {
- $download_url = $vars['url'] . "action/tidypics/download?file_guid=" . $image_guid;
+ $download_url = $vars['url'] . "pg/photos/download/{$image_guid}/";
?>
<li id="download_image"><a href="<?php echo $download_url; ?>"><?php echo elgg_echo("image:download"); ?></a></li>
<?php