diff options
| author | Nathan Kinkade <nkinkade@nkinka.de> | 2010-01-03 23:26:58 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nkinkade@nkinka.de> | 2010-01-03 23:26:58 +0000 |
| commit | bee51f53373aa6973a809fa5d6a6fd487e9d6426 (patch) | |
| tree | 7e19019ec6e76ee2a24fada27d982b49cf73be35 /modules/album_block/views/album_block_block.html.php | |
| parent | a093e02ca7db5298e60f99b5fef8384345bed063 (diff) | |
An initial attempt at a module that will display a list of albums in the right sidebar.
Diffstat (limited to 'modules/album_block/views/album_block_block.html.php')
| -rw-r--r-- | modules/album_block/views/album_block_block.html.php | 8 |
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 ?> |
