diff options
author | marijus <mario@mariovavti.com> | 2014-09-10 17:10:39 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-09-10 17:10:39 +0200 |
commit | c1c2214b477223e87547f06f1dc1c0c9e7fe47d4 (patch) | |
tree | 72408b0d35e28040b3190223751145c286893c6e /view/tpl/photo_album.tpl | |
parent | 9f5ad8e9de421d37b856fdbd6efc4dd164d192fc (diff) | |
download | volse-hubzilla-c1c2214b477223e87547f06f1dc1c0c9e7fe47d4.tar.gz volse-hubzilla-c1c2214b477223e87547f06f1dc1c0c9e7fe47d4.tar.bz2 volse-hubzilla-c1c2214b477223e87547f06f1dc1c0c9e7fe47d4.zip |
photo justification
Diffstat (limited to 'view/tpl/photo_album.tpl')
-rwxr-xr-x | view/tpl/photo_album.tpl | 10 |
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> |