summaryrefslogtreecommitdiff
path: root/modules/dynamic/views/dynamic_block.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-10 09:59:04 +0800
committerTim Almdal <tnalmdal@shaw.ca>2009-07-10 12:39:22 +0800
commit7862e8b02ddd41eb68e858278cd909c8ff371550 (patch)
tree74a1b7f5789a639282cf5c7b605795b9111ceca4 /modules/dynamic/views/dynamic_block.html.php
parent1475b772bd256238e7e5e8c0985daede9e18a16f (diff)
Created the dynamic albums module which provides a dynamic album
containing either recent updates or most viewed images. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
Diffstat (limited to 'modules/dynamic/views/dynamic_block.html.php')
-rw-r--r--modules/dynamic/views/dynamic_block.html.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/dynamic/views/dynamic_block.html.php b/modules/dynamic/views/dynamic_block.html.php
new file mode 100644
index 00000000..d14c2900
--- /dev/null
+++ b/modules/dynamic/views/dynamic_block.html.php
@@ -0,0 +1,10 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div class="gDynamicBlock">
+ <ul>
+ <? foreach ($albums as $album => $text): ?>
+ <li>
+ <a href="<?= url::site("dynamic/$album") ?>"><?= t($text) ?></a>
+ </li>
+ <? endforeach ?>
+ </ul>
+</div>