diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-11-21 13:51:07 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-11-21 13:51:07 -0800 |
| commit | 3c523bcac6e902973c5891c02842254eaecd33a4 (patch) | |
| tree | 805ba27e848c013fb4034a507fdbce4a0b1a81bb /modules/image_block/views | |
| parent | 5f4ab7fd76d24e3848aa96b3f657fca587d68f72 (diff) | |
Create a module setting for the number of random images to show in the
sidebar. Fixes #1499.
Diffstat (limited to 'modules/image_block/views')
| -rw-r--r-- | modules/image_block/views/image_block_block.html.php | 2 |
1 files changed, 2 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 index 68d5fa89..2a57c395 100644 --- a/modules/image_block/views/image_block_block.html.php +++ b/modules/image_block/views/image_block_block.html.php @@ -1,6 +1,8 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> +<? foreach ($items as $item): ?> <div class="g-image-block"> <a href="<?= $item->url() ?>"> <?= $item->thumb_img(array("class" => "g-thumbnail")) ?> </a> </div> +<? endforeach ?> |
