From 31598136e807ed309c2cd7ea90dfca4da569a52a Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 31 Jul 2008 13:49:46 +0000 Subject: Logbrowser now using getIcon for graphics git-svn-id: https://code.elgg.org/elgg/trunk@1628 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/logbrowser/graphics/defaultlarge.jpg | Bin 10840 -> 0 bytes mod/logbrowser/graphics/defaultmedium.jpg | Bin 2517 -> 0 bytes mod/logbrowser/graphics/defaultsmall.jpg | Bin 1117 -> 0 bytes mod/logbrowser/graphics/defaulttiny.jpg | Bin 965 -> 0 bytes .../views/default/logbrowser/gallery.php | 8 +----- mod/logbrowser/views/default/logbrowser/icon.php | 29 --------------------- .../views/default/logbrowser/listing.php | 2 +- 7 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 mod/logbrowser/graphics/defaultlarge.jpg delete mode 100644 mod/logbrowser/graphics/defaultmedium.jpg delete mode 100644 mod/logbrowser/graphics/defaultsmall.jpg delete mode 100644 mod/logbrowser/graphics/defaulttiny.jpg delete mode 100644 mod/logbrowser/views/default/logbrowser/icon.php (limited to 'mod') diff --git a/mod/logbrowser/graphics/defaultlarge.jpg b/mod/logbrowser/graphics/defaultlarge.jpg deleted file mode 100644 index 8b7576c47..000000000 Binary files a/mod/logbrowser/graphics/defaultlarge.jpg and /dev/null differ diff --git a/mod/logbrowser/graphics/defaultmedium.jpg b/mod/logbrowser/graphics/defaultmedium.jpg deleted file mode 100644 index 996efac47..000000000 Binary files a/mod/logbrowser/graphics/defaultmedium.jpg and /dev/null differ diff --git a/mod/logbrowser/graphics/defaultsmall.jpg b/mod/logbrowser/graphics/defaultsmall.jpg deleted file mode 100644 index 3bda4a3c7..000000000 Binary files a/mod/logbrowser/graphics/defaultsmall.jpg and /dev/null differ diff --git a/mod/logbrowser/graphics/defaulttiny.jpg b/mod/logbrowser/graphics/defaulttiny.jpg deleted file mode 100644 index a83495ee6..000000000 Binary files a/mod/logbrowser/graphics/defaulttiny.jpg and /dev/null differ diff --git a/mod/logbrowser/views/default/logbrowser/gallery.php b/mod/logbrowser/views/default/logbrowser/gallery.php index 3ce6e2c43..fb3a7537d 100644 --- a/mod/logbrowser/views/default/logbrowser/gallery.php +++ b/mod/logbrowser/views/default/logbrowser/gallery.php @@ -18,13 +18,7 @@ if (is_callable(array($object, 'getURL'))) $obj_url = $object->getURL(); - $icon = elgg_view( - "logbrowser/icon", array( - 'entity' => $vars['entity'], - 'size' => 'small', - ) - ); - + $info .= "

"; if ($obj_url) $info .= ""; $info .= "{$entry->object_class}"; diff --git a/mod/logbrowser/views/default/logbrowser/icon.php b/mod/logbrowser/views/default/logbrowser/icon.php deleted file mode 100644 index 233442f50..000000000 --- a/mod/logbrowser/views/default/logbrowser/icon.php +++ /dev/null @@ -1,29 +0,0 @@ - - -

- /> -
\ No newline at end of file diff --git a/mod/logbrowser/views/default/logbrowser/listing.php b/mod/logbrowser/views/default/logbrowser/listing.php index 3ce6e2c43..9550dba2e 100644 --- a/mod/logbrowser/views/default/logbrowser/listing.php +++ b/mod/logbrowser/views/default/logbrowser/listing.php @@ -19,7 +19,7 @@ $obj_url = $object->getURL(); $icon = elgg_view( - "logbrowser/icon", array( + "graphics/icon", array( 'entity' => $vars['entity'], 'size' => 'small', ) -- cgit v1.2.3