summaryrefslogtreecommitdiff
path: root/modules/album_block/views
diff options
context:
space:
mode:
Diffstat (limited to 'modules/album_block/views')
-rw-r--r--modules/album_block/views/album_block_block.html.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/album_block/views/album_block_block.html.php b/modules/album_block/views/album_block_block.html.php
new file mode 100644
index 00000000..81660263
--- /dev/null
+++ b/modules/album_block/views/album_block_block.html.php
@@ -0,0 +1,8 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<?php foreach ( $items as $item ) : ?>
+<div>
+<a href="/photos/index.php/<?php echo $item->slug ?>">
+<img alt="<?php echo $item->title ?>" src="/photos/var/thumbs/<?php echo $item->slug ?>/.album.jpg?m=<?php echo $item->updated ?>" class="g-thumbnail"/>
+</a>
+</div>
+<?php endforeach ?>