diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-08-03 00:04:26 +0200 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-08-03 00:04:26 +0200 |
commit | c0cd147a3a9a86b270ea32026089ced16fb2f50c (patch) | |
tree | 77232d70031622a162f4e00aec128961ecc7a764 /view/tpl/webpagelist.tpl | |
parent | d2d1e54bfe928fe4cdfdcfc7e9acf658cda76898 (diff) | |
parent | 1d816ba90ad3408822dc64f294597273fd19bc57 (diff) | |
download | volse-hubzilla-c0cd147a3a9a86b270ea32026089ced16fb2f50c.tar.gz volse-hubzilla-c0cd147a3a9a86b270ea32026089ced16fb2f50c.tar.bz2 volse-hubzilla-c0cd147a3a9a86b270ea32026089ced16fb2f50c.zip |
merge
Diffstat (limited to 'view/tpl/webpagelist.tpl')
-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> |