aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/nav.tpl2
-rw-r--r--view/tpl/webpagelist.tpl13
2 files changed, 13 insertions, 2 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 926e5625e..352eecd42 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -97,7 +97,7 @@
{{/if}}
{{if $nav.notifications}}
- <li id="nav-notify-linkmenu" class="nav-menu fakelink">
+ <li id="nav-notify-linkmenu" class="nav-menu fakelink {{$sel.notifications}}">
<a href="{{$nav.notifications.0}}" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
<span id="notify-update" class="nav-notify fakelink" rel="#nav-notify-menu"></span>
<ul id="nav-notify-menu" class="menu-popup notify-menus" rel="notify">
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>