aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-28 03:34:25 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-28 03:34:25 +0000
commit5107faa7e96efd940ce28da9f46508298759c189 (patch)
treef3b241177607f27e05a8c1cb00900066100af280 /views/default/object/image.php
parente0eebd803e76bae0d7aa6456427667c90b4e2368 (diff)
downloadelgg-5107faa7e96efd940ce28da9f46508298759c189.tar.gz
elgg-5107faa7e96efd940ce28da9f46508298759c189.tar.bz2
Diffstat (limited to 'views/default/object/image.php')
-rw-r--r--views/default/object/image.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index 97095822e..79939bfbb 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -87,18 +87,7 @@
echo '</div>';
?>
<div id="tidypics_controls">
- <a target="_new" href="<?php echo $vars['url']; ?>action/tidypics/download?file_guid=<?php echo $file->getGUID(); ?>"><?php echo elgg_echo("image:download"); ?></a>&nbsp;
-<?php
- if ($file->canEdit()) { // add edit controls
-?>
- <a href="<?php echo $vars['url']; ?>mod/tidypics/edit.php?file_guid=<?php echo $file->getGUID(); ?>"><?php echo elgg_echo('image:edit'); ?></a>&nbsp;
- <?php echo elgg_view('output/confirmlink',array(
- 'href' => $vars['url'] . "action/tidypics/delete?file=" . $file->getGUID(),
- 'text' => elgg_echo("image:delete"),
- 'confirm' => elgg_echo("image:delete:confirm"),
- ));
- }
- ?>
+<div class="tidypics_download"><p><a href="<?php echo $vars['url']; ?>action/tidypics/download?file_guid=<?php echo $file_guid; ?>"><?php echo elgg_echo("image:download"); ?></a></p></div>
</div>
<div id="tidypics_info">