diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-12-20 23:19:12 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-20 23:19:12 +0000 |
| commit | 8f87a030c8abe447feac22022fa6223248979601 (patch) | |
| tree | 18d4b5ffc07177e8f37709dbe74878874e20fbdf /core/views | |
| parent | 99c481897b8d1574bf984a1d5ea732fe63482fe0 (diff) | |
Implement the photo stream with the most recently uploaded photos.
Diffstat (limited to 'core/views')
| -rw-r--r-- | core/views/admin_block_photo_stream.html.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/views/admin_block_photo_stream.html.php b/core/views/admin_block_photo_stream.html.php index 3255fb04..af8d8545 100644 --- a/core/views/admin_block_photo_stream.html.php +++ b/core/views/admin_block_photo_stream.html.php @@ -2,7 +2,8 @@ <p> Recent photos added to your Gallery </p> -<img src="<?= $theme->url("images/photostream.png") ?>" alt="" /> -<p class="gWarning"> - Slider type of display. Show titles underneath or on hover. Draw a keyline around albums, or differentiate some how. Each will be linked to item view -</p> +<? foreach ($photos as $photo): ?> +<a href="<?= url::site("photos/$photo->id") ?>"> + <img <?= photo::img_dimensions($photo, 72) ?> src="<?= $photo->thumb_url() ?>" alt="" /> +</a> +<? endforeach ?> |
