summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_block_photo_stream.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/views/admin_block_photo_stream.html.php')
-rw-r--r--modules/gallery/views/admin_block_photo_stream.html.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_block_photo_stream.html.php b/modules/gallery/views/admin_block_photo_stream.html.php
new file mode 100644
index 00000000..e8a4d933
--- /dev/null
+++ b/modules/gallery/views/admin_block_photo_stream.html.php
@@ -0,0 +1,14 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<ul>
+<? foreach ($photos as $photo): ?>
+ <li class="gItem gPhoto">
+ <a href="<?= url::site("photos/$photo->id") ?>" title="<?= $photo->title ?>">
+ <img <?= photo::img_dimensions($photo->width, $photo->height, 72) ?>
+ src="<?= $photo->thumb_url() ?>" alt="<?= $photo->title ?>" />
+ </a>
+ </li>
+<? endforeach ?>
+</ul>
+<p>
+ <?= t("Recent photos added to your Gallery") ?>
+</p>