aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_album.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-11 10:35:19 +0200
committermarijus <mario@mariovavti.com>2014-09-11 10:35:19 +0200
commit8835f646aeb6276987f11cc4799c3810802c3f1f (patch)
tree8be0763dc52f1590fecd103203deb9660cc9c21f /view/tpl/photo_album.tpl
parent8bf4b5e7768c13d89e8080aeb7baef38b09b5ca8 (diff)
downloadvolse-hubzilla-8835f646aeb6276987f11cc4799c3810802c3f1f.tar.gz
volse-hubzilla-8835f646aeb6276987f11cc4799c3810802c3f1f.tar.bz2
volse-hubzilla-8835f646aeb6276987f11cc4799c3810802c3f1f.zip
Revert "Revert "Merge pull request #583 from git-marijus/master""
This reverts commit 08638f3ec88e86def618ff89bdedb9ae9696d218.
Diffstat (limited to 'view/tpl/photo_album.tpl')
-rwxr-xr-xview/tpl/photo_album.tpl10
1 files changed, 3 insertions, 7 deletions
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 @@
-<div class="photo-album-image-wrapper{{$twist}}" id="photo-album-image-wrapper-{{$id}}">
- <a href="{{$photolink}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$phototitle}}" rel="{{$rel}}">
- <img src="{{$imgsrc}}" alt="{{$imgalt}}" title="{{$phototitle}}" class="photo-album-photo lframe resize" id="photo-album-photo-{{$id}}" />
- <p class='caption'>{{$desc}}</p>
- </a>
-</div>
-<div class="photo-album-image-wrapper-end"></div>
+<a href="{{$photolink}}" id="photo-album-photo-link-{{$id}}" title="{{$phototitle}}" rel="{{$rel}}">
+ <img src="{{$imgsrc}}" alt="{{if $desc}}{{$desc}}{{else}}{{$imgalt}}{{/if}}" title="{{$phototitle}}" id="photo-album-photo-{{$id}}" />
+</a>