aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-20 20:52:39 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-20 20:52:39 +0000
commit1bf62f1bc10831d559df147868dd889e5985adcc (patch)
tree7e2824768e010978853270c831f4a8da9c027207 /views/default/tidypics
parent774b7c79bfcdb5d3139ec16152e6955a86093699 (diff)
downloadelgg-1bf62f1bc10831d559df147868dd889e5985adcc.tar.gz
elgg-1bf62f1bc10831d559df147868dd889e5985adcc.tar.bz2
cleaned up icon code - don't need tidypics/icon view anymore - may reinstate it at a later time
Diffstat (limited to 'views/default/tidypics')
-rw-r--r--views/default/tidypics/icon.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/views/default/tidypics/icon.php b/views/default/tidypics/icon.php
deleted file mode 100644
index c960bc00b..000000000
--- a/views/default/tidypics/icon.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
- /**
- * Elgg tidypic icon
- * Optionally you can specify a size.
- *
- */
-
- global $CONFIG;
-
-if($vars['album']){
- echo "<img src=\"{$CONFIG->wwwroot}mod/tidypics/graphics/icons/album.gif\" border=\"0\" />";
-}
-else{
-
- $mime = $vars['mimetype'];
- if (isset($vars['thumbnail'])) {
- $thumbnail = $vars['thumbnail'];
- } else {
- $thumbnail = false;
- }
-
- $size = $vars['size'];
- if ($size != 'large') {
- $size = 'small';
- }
-
- if ($thumbnail && strpos($mime, "image/")!==false)
- echo "<img src=\"{$vars['url']}action/tidypics/icon?file_guid={$vars['file_guid']}\" border=\"0\" />";
- else
- {
- if ($size == 'large')
- echo "<img src=\"{$CONFIG->wwwroot}mod/tidypics/graphics/icons/general_lrg.gif\" border=\"0\" />";
- else
- echo "<img src=\"{$CONFIG->wwwroot}mod/tidypics/graphics/icons/general.gif\" border=\"0\" />";
- }
-}
-?> \ No newline at end of file