diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/webpagelist.tpl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl index 5c00dee6b..d94d78067 100644 --- a/view/tpl/webpagelist.tpl +++ b/view/tpl/webpagelist.tpl @@ -1,9 +1,20 @@ +<script type="text/javascript" charset="utf-8"> + $(document).ready(function(){ + $("a[rel^='prettyPhoto']").prettyPhoto({theme: 'dark_rounded'}); + }); +</script> + {{if $pages}} <div id="pagelist-content-wrapper"> {{foreach $pages as $key => $items}} {{foreach $items as $item}} - <div class="page-list-item"><a href="editwebpage/{{$item.url}}">{{$editlink}}</a> | <a href="page/{{$channel}}/{{$item.title}}">{{$view}}</a> {{$item.title}}</div> + <div class="page-list-item"><a href="{{$baseurl}}/{{$item.url}}">{{$edit}}</a> | + <a href="page/{{$channel}}/{{$item.title}}">{{$view}}</a> + {{$item.title}} | + <a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" rel="prettyPhoto[iframes]">Preview</a> + +</div> {{/foreach}} {{/foreach}} </div> |