From 8835f646aeb6276987f11cc4799c3810802c3f1f Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 11 Sep 2014 10:35:19 +0200 Subject: Revert "Revert "Merge pull request #583 from git-marijus/master"" This reverts commit 08638f3ec88e86def618ff89bdedb9ae9696d218. --- view/tpl/photo_album.tpl | 10 +++------- view/tpl/photo_top.tpl | 9 +++------ view/tpl/photos_recent.tpl | 2 +- 3 files changed, 7 insertions(+), 14 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index a63bff78c..b5ea14c14 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -1,7 +1,3 @@ -
- - {{$imgalt}} -

{{$desc}}

-
-
-
+ + {{if $desc}}{{$desc}}{{else}}{{$imgalt}}{{/if}} + diff --git a/view/tpl/photo_top.tpl b/view/tpl/photo_top.tpl index 944928f85..4a106c30d 100755 --- a/view/tpl/photo_top.tpl +++ b/view/tpl/photo_top.tpl @@ -1,7 +1,4 @@ -
- - {{$photo.alt}} - - -
+ + {{$photo.album.name}} + diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index 386979de5..8eaa208b1 100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -3,7 +3,7 @@ {{$upload.0}} {{/if}} -
+
{{foreach $photos as $photo}} {{include file="photo_top.tpl"}} {{/foreach}} -- cgit v1.2.3