aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_album.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-03 18:06:16 -0700
committerfriendica <info@friendica.com>2013-04-03 18:06:16 -0700
commit6e17be3e85b710f0197e13051374eb45b675e93c (patch)
treecabb61dd2f1c933ba332309ccb01199da3d10bc5 /view/tpl/photo_album.tpl
parentf353b9ae3d7295dfc8123ab77a91a3f56ebef2a5 (diff)
parent0ba7f76bfd49fb510067a66743a75b7ea068cffd (diff)
downloadvolse-hubzilla-6e17be3e85b710f0197e13051374eb45b675e93c.tar.gz
volse-hubzilla-6e17be3e85b710f0197e13051374eb45b675e93c.tar.bz2
volse-hubzilla-6e17be3e85b710f0197e13051374eb45b675e93c.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'view/tpl/photo_album.tpl')
-rw-r--r--view/tpl/photo_album.tpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl
index cc3dcfb9c..53392e709 100644
--- a/view/tpl/photo_album.tpl
+++ b/view/tpl/photo_album.tpl
@@ -1,5 +1,11 @@
+<script type="text/javascript" charset="utf-8">
+ $(document).ready(function(){
+ $("a[rel^='prettyPhoto']").prettyPhoto();
+ });
+</script>
+
<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-$id">
- <a href="$photolink" class="photo-album-photo-link" id="photo-album-photo-link-$id" title="$phototitle">
+ <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$twist" id="photo-album-photo-$id" />
<p class='caption'>$desc</p>
</a>