summaryrefslogtreecommitdiff
path: root/modules/image_block/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-26 15:02:04 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-26 15:02:04 +0000
commitf87e1de3ec0b199a48818f84bdef4cdf34b50244 (patch)
tree8bbddfa0f7d6f09e6f1a8a161a0450917346c751 /modules/image_block/views
parent0929d41305e84b621a05f1221ace9c447d378e75 (diff)
Implement a random image block for the side bar. Ticket #13
Diffstat (limited to 'modules/image_block/views')
-rw-r--r--modules/image_block/views/image_block_block.html.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/image_block/views/image_block_block.html.php b/modules/image_block/views/image_block_block.html.php
new file mode 100644
index 00000000..87afe4da
--- /dev/null
+++ b/modules/image_block/views/image_block_block.html.php
@@ -0,0 +1,6 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div class="gItem">
+ <a href="<?= $item->thumb_url() ?>">
+ <?= $item->thumb_tag(array("class" => "gThumbnail")) ?>
+ </a>
+</div>