mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 01:35:12 +00:00
Give prettyphoto it's own template to make themeing it less annoying.
This commit is contained in:
parent
e83df684c0
commit
ba5803bebc
3 changed files with 8 additions and 21 deletions
|
@ -1,14 +1,4 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$(document).ready(function(){
|
||||
$("a[rel^='prettyPhoto']").prettyPhoto();
|
||||
});
|
||||
</script>
|
||||
|
||||
{{include file="prettyphoto.tpl"}}
|
||||
<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}}" rel="{{$rel}}">
|
||||
<img src="{{$imgsrc}}" alt="{{$imgalt}}" title="{{$phototitle}}" class="photo-album-photo lframe resize{{$twist}}" id="photo-album-photo-{{$id}}" />
|
||||
|
|
|
@ -1,13 +1,4 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$(document).ready(function(){
|
||||
$("a[rel^='prettyPhoto']").prettyPhoto();
|
||||
});
|
||||
</script>
|
||||
{{include file="prettyphoto.tpl"}}
|
||||
|
||||
<div id="live-display"></div>
|
||||
<h3><a href="{{$album.0}}">{{$album.1}}</a></h3>
|
||||
|
|
6
view/tpl/prettyphoto.tpl
Normal file
6
view/tpl/prettyphoto.tpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
<script type="text/javascript" charset="utf-8">
|
||||
$(document).ready(function(){
|
||||
$("a[rel^='prettyPhoto']").prettyPhoto();
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in a new issue