aboutsummaryrefslogtreecommitdiff
path: root/views/default/graphics/icon.php
diff options
context:
space:
mode:
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