diff options
author | friendica <info@friendica.com> | 2013-08-01 14:31:30 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-01 14:31:30 -0700 |
commit | 7d00f61ceb6dc04329a703987682ab49d71a2531 (patch) | |
tree | 9207848175dcb48864e04994b2c12e30898bb8c1 /view | |
parent | 005f2cbda1f0678a4e2bafa674aa0ba7507e562d (diff) | |
parent | 31ffabc3d26305fd835aa56411c03a96e28df064 (diff) | |
download | volse-hubzilla-7d00f61ceb6dc04329a703987682ab49d71a2531.tar.gz volse-hubzilla-7d00f61ceb6dc04329a703987682ab49d71a2531.tar.bz2 volse-hubzilla-7d00f61ceb6dc04329a703987682ab49d71a2531.zip |
Merge pull request #86 from beardy-unixer/master
"Can edit my webpages" permissions
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> |