aboutsummaryrefslogtreecommitdiff
path: root/views/default/graphics
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 22:46:47 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 22:46:47 +0000
commit7be26eab54af016c2f64b2316141d40955c6c2f6 (patch)
tree876bef678df3c0893859b7f402660074a57d3f57 /views/default/graphics
parent90a5804aca9fb7730ac026f4362753013f3df249 (diff)
downloadelgg-7be26eab54af016c2f64b2316141d40955c6c2f6.tar.gz
elgg-7be26eab54af016c2f64b2316141d40955c6c2f6.tar.bz2
removing old entities views that are no longer needed and did the last changes for the icon system
git-svn-id: http://code.elgg.org/elgg/trunk@8054 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/graphics')
-rw-r--r--views/default/graphics/icon.php44
1 files changed, 0 insertions, 44 deletions
diff --git a/views/default/graphics/icon.php b/views/default/graphics/icon.php
deleted file mode 100644
index 06e866d33..000000000
--- a/views/default/graphics/icon.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-/**
- * Generic icon view.
- *
- * @package Elgg
- * @subpackage Core
- *
- * @uses $vars['entity'] The entity the icon represents - uses getIcon() method
- * @uses $vars['js'] Any JavaScript to add to img tag
- * @uses $vars['size'] topbar, tiny, small, medium (default), large, master
- * @uses $vars['link'] Optional link for the image
- * @uses $vars['align'] Align attribute of the img tag
- */
-
-$entity = $vars['entity'];
-
-$sizes = array('small','medium','large','tiny','master','topbar');
-// Get size
-if (!in_array($vars['size'], $sizes)) {
- $vars['size'] = "medium";
-}
-
-// Get any align and js
-if (!empty($vars['align'])) {
- $align = " align=\"{$vars['align']}\" ";
-} else {
- $align = "";
-}
-
-
-?>
-<div class="icon">
-<?php
-if ($vars['link']) {
- ?><a href="<?php echo $vars['link'] ?>"><?php
-}
-?>
-<img src="<?php echo $entity->getIcon($vars['size']); ?>" <?php echo $align; ?> <?php echo $vars['js']; ?> />
-<?php
-if ($vars['link']) {
- ?></a><?php
-}
-?>
-</div> \ No newline at end of file