aboutsummaryrefslogtreecommitdiff
path: root/views/default/graphics/icon.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 11:48:20 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 11:48:20 +0000
commit899ddba2c802ad093565f92fcd621e9608bbe208 (patch)
tree8e1265b0a149a5167327e8597be9dec5a5388121 /views/default/graphics/icon.php
parent06f45c137373be83f6edc976886d4df3693efc60 (diff)
downloadelgg-899ddba2c802ad093565f92fcd621e9608bbe208.tar.gz
elgg-899ddba2c802ad093565f92fcd621e9608bbe208.tar.bz2
Minor tweaks to the default icon
git-svn-id: https://code.elgg.org/elgg/trunk@1750 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/graphics/icon.php')
-rw-r--r--views/default/graphics/icon.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/graphics/icon.php b/views/default/graphics/icon.php
index 58af98295..093120e09 100644
--- a/views/default/graphics/icon.php
+++ b/views/default/graphics/icon.php
@@ -26,5 +26,7 @@
?>
<div class="icon">
+<?php if ($vars['link']) { ?><a href="<?php echo $vars['link'] ?>"><?php } ?>
<img src="<?php echo $entity->getIcon($vars['size']); ?>" border="0" <?php echo $align; ?> <?php echo $vars['js']; ?> />
+<?php if ($vars['link']) { ?></a><?php } ?>
</div> \ No newline at end of file