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 --- .../views/default/logbrowser/gallery.php | 8 +----- mod/logbrowser/views/default/logbrowser/icon.php | 29 ---------------------- .../views/default/logbrowser/listing.php | 2 +- 3 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 mod/logbrowser/views/default/logbrowser/icon.php (limited to 'mod/logbrowser/views/default') 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