aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-03 18:16:00 -0700
committerfriendica <info@friendica.com>2013-06-03 18:16:00 -0700
commitb866cc26fa95c6fc1df98bef2994350b9eb07231 (patch)
tree3d25070e6dca73adc5b2430f61aca013c9cc970b /view/tpl
parent1f94429b2cbfd5f86074c671f5293d09bddb7eaa (diff)
downloadvolse-hubzilla-b866cc26fa95c6fc1df98bef2994350b9eb07231.tar.gz
volse-hubzilla-b866cc26fa95c6fc1df98bef2994350b9eb07231.tar.bz2
volse-hubzilla-b866cc26fa95c6fc1df98bef2994350b9eb07231.zip
templatise alt_pager
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/alt_pager.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/tpl/alt_pager.tpl b/view/tpl/alt_pager.tpl
new file mode 100644
index 000000000..140255eca
--- /dev/null
+++ b/view/tpl/alt_pager.tpl
@@ -0,0 +1,4 @@
+<div class="pager">
+{{if $has_less}}<a href="{{$url}}&page={{$prevpage}}" class="pager-prev">{{$less}}</a>{{/if}}
+{{if $has_more}}{{$if $has_less}}&nbsp;|&nbsp;{{/if}}<a href="{{$url}}&page={{$nextpage}}" class="pager-next">{{$more}}</a>{{/if}}
+</div>