aboutsummaryrefslogtreecommitdiff
path: root/mod/logbrowser/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/logbrowser/views/default')
-rw-r--r--mod/logbrowser/views/default/logbrowser/gallery.php8
-rw-r--r--mod/logbrowser/views/default/logbrowser/icon.php29
-rw-r--r--mod/logbrowser/views/default/logbrowser/listing.php2
3 files changed, 2 insertions, 37 deletions
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 .= "<p><b>";
if ($obj_url) $info .= "<a href=\"$obj_url\">";
$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 @@
-<?php
- /**
- * Elgg log browser.
- *
- * @package ElggLogBrowser
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Marcus Povey
- * @copyright Curverider Ltd 2008
- * @link http://elgg.com/
- */
- $group = $vars['entity'];
-
- // Get size
- if (!in_array($vars['size'],array('small','medium','large','tiny','master','topbar')))
- $vars['size'] = "medium";
-
- // Get any align and js
- if (!empty($vars['align'])) {
- $align = " align=\"{$vars['align']}\" ";
- } else {
- $align = "";
- }
-
-
-?>
-
-<div class="logbrowsericon">
-<img src="<?php echo $vars['url']; ?>mod/logbrowser/graphics/default<?php echo $vars['size']; ?>.jpg" border="0" <?php echo $align; ?> <?php echo $vars['js']; ?> />
-</div> \ 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',
)