Created the dynamic albums module which provides a dynamic album

containing either recent updates or most viewed images.
This commit is contained in:
Tim Almdal
2009-07-09 18:59:04 -07:00
parent 512f22a600
commit 3347178eee
8 changed files with 303 additions and 0 deletions
@@ -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>