aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/navigation_bar.tpl
diff options
context:
space:
mode:
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>