aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-12 14:09:29 +0100
committerplegall <plg@piwigo.org>2016-02-12 14:09:29 +0100
commit718fe065f7cd342b8f5e3fb069aec63138d5b3e8 (patch)
tree9d4494fc6bf09c3c8deb60c58269934497eb7166 /themes/default
parente71b61aee1b3e077899bb8276398f4c705586e51 (diff)
feature #360, add CSS class on navigation links
navPrevNext and navFirstLast, to make it possible to hide them.
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/template/navigation_bar.tpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/themes/default/template/navigation_bar.tpl b/themes/default/template/navigation_bar.tpl
index 82c66bd15..0e1e0fea7 100644
--- a/themes/default/template/navigation_bar.tpl
+++ b/themes/default/template/navigation_bar.tpl
@@ -1,10 +1,10 @@
<div class="navigationBar">
{if isset($navbar.URL_FIRST)}
- <a href="{$navbar.URL_FIRST}" rel="first">{'First'|@translate}</a> |
- <a href="{$navbar.URL_PREV}" rel="prev">{'Previous'|@translate}</a> |
+ <span class="navFirstLast"><a href="{$navbar.URL_FIRST}" rel="first">{'First'|@translate}</a> |</span>
+ <span class="navPrevNext"><a href="{$navbar.URL_PREV}" rel="prev">{'Previous'|@translate}</a> |</span>
{else}
- {'First'|@translate} |
- {'Previous'|@translate} |
+ <span class="navFirstLast">{'First'|@translate} |</span>
+ <span class="navPrevNext">{'Previous'|@translate} |</span>
{/if}
{assign var='prev_page' value=0}
@@ -19,10 +19,10 @@
{/foreach}
{if isset($navbar.URL_NEXT)}
- | <a href="{$navbar.URL_NEXT}" rel="next">{'Next'|@translate}</a>
- | <a href="{$navbar.URL_LAST}" rel="last">{'Last'|@translate}</a>
+ <span class="navPrevNext">| <a href="{$navbar.URL_NEXT}" rel="next">{'Next'|@translate}</a></span>
+ <span class="navFirstLast">| <a href="{$navbar.URL_LAST}" rel="last">{'Last'|@translate}</a></span>
{else}
- | {'Next'|@translate}
- | {'Last'|@translate}
+ <span class="navPrevNext">| {'Next'|@translate}</span>
+ <span class="navFirstLast">| {'Last'|@translate}</span>
{/if}
</div>