aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/navigation_bar.tpl
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2012-02-18 20:26:52 +0000
committerpatdenice <patdenice@piwigo.org>2012-02-18 20:26:52 +0000
commit26ed60c972da7e18325c35a62e72025d1a70fbf1 (patch)
treedbbd725d4b44402ec9c4b1b149db52c4fe886173 /themes/smartpocket/template/navigation_bar.tpl
parent4b696df2dad09a333ee41705e2236fb0d986e0c1 (diff)
feature:2577
Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/smartpocket/template/navigation_bar.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/smartpocket/template/navigation_bar.tpl b/themes/smartpocket/template/navigation_bar.tpl
new file mode 100644
index 000000000..2dfbbe950
--- /dev/null
+++ b/themes/smartpocket/template/navigation_bar.tpl
@@ -0,0 +1,14 @@
+{capture}{$navbar.pages|@end}{/capture}
+<div class="ui-bar ui-bar-a" style="text-align:center;">
+<div data-role="controlgroup" data-type="horizontal">
+{strip}
+ {if isset($navbar.URL_PREV)}
+ <a href="{$navbar.URL_PREV}" rel="prev" data-role="button" data-icon="arrow-l" data-inline="true">{'Previous'|@translate}</a>
+ {/if}
+ <a href="#" data-role="button" data-inline="true">{$navbar.CURRENT_PAGE} / {$navbar.pages|@key}&nbsp;</a>
+ {if isset($navbar.URL_NEXT)}
+ <a href="{$navbar.URL_NEXT}" rel="next" data-role="button" data-icon="arrow-r" data-iconpos="right" data-inline="true">{'Next'|@translate}</a>
+ {/if}
+{/strip}
+</div>
+</div>