aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-14 01:14:03 -0700
committerfriendica <info@friendica.com>2013-07-14 01:14:03 -0700
commit5b73755af7befa171223c6cdb6cc7ec917cedd6f (patch)
tree69041a7fd1be926904d213b9b8deab5e846ff1d2 /view/tpl
parent8154268d0a1cc934d7182935258d3f90e43827ba (diff)
parentba5803bebc144f46fe1a9d29b08e3b6ac71aaecc (diff)
downloadvolse-hubzilla-5b73755af7befa171223c6cdb6cc7ec917cedd6f.tar.gz
volse-hubzilla-5b73755af7befa171223c6cdb6cc7ec917cedd6f.tar.bz2
volse-hubzilla-5b73755af7befa171223c6cdb6cc7ec917cedd6f.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/photo_album.tpl12
-rwxr-xr-xview/tpl/photo_view.tpl11
-rw-r--r--view/tpl/prettyphoto.tpl6
-rw-r--r--view/tpl/webpagelist.tpl21
4 files changed, 19 insertions, 31 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl
index 33ab84df7..d2016e41c 100755
--- a/view/tpl/photo_album.tpl
+++ b/view/tpl/photo_album.tpl
@@ -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}}" />
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index fce6f6fa8..f825dcba6 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -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>
diff --git a/view/tpl/prettyphoto.tpl b/view/tpl/prettyphoto.tpl
new file mode 100644
index 000000000..6d047e620
--- /dev/null
+++ b/view/tpl/prettyphoto.tpl
@@ -0,0 +1,6 @@
+<script type="text/javascript" charset="utf-8">
+ $(document).ready(function(){
+ $("a[rel^='prettyPhoto']").prettyPhoto();
+ });
+</script>
+
diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl
index 8ae9a1da8..5c00dee6b 100644
--- a/view/tpl/webpagelist.tpl
+++ b/view/tpl/webpagelist.tpl
@@ -1,12 +1,13 @@
{{if $pages}}
-<div id="pagelist-content-wrapper">
-{{foreach $pages as $key => $items}}
-<ul class="page-list">
-{{foreach $items as $item}}
-<li><a href="editwebpage/{{$item.url}}">Edit</a> {{$item.title}}</li>
-{{/foreach}}
-</ul>
-<div class="clear"></div>
-</div>
-{{/foreach}}
+
+ <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>
+ {{/foreach}}
+ {{/foreach}}
+ </div>
+
+ <div class="clear"></div>
+
{{/if}}