aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/icon.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/tidypics/icon.php')
-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