source: extensions/stripped_black_bloc/template/navigation_bar.tpl @ 11679

Last change on this file since 11679 was 11679, checked in by flop25, 10 years ago

custom navigation bar
menu switch works according to the config and at the first run
custom album tittle color

File size: 870 bytes
Line 
1<div class="navigationBar">
2        <span class="nav_bulle">Page {$navbar.CURRENT_PAGE} / {$navbar.pages|@count}</span>
3  {if isset($navbar.URL_FIRST)}
4  <a href="{$navbar.URL_FIRST}" rel="first" class="first nav_bulle">{'First'|@translate}</a>
5  <a href="{$navbar.URL_PREV}" rel="prev" class="newer nav_bulle">«</a>
6  {/if}
7
8  {assign var='prev_page' value=0}
9  {foreach from=$navbar.pages key=page item=url}
10    {if $page > $prev_page+1}...{/if}
11    {if $page == $navbar.CURRENT_PAGE}
12    <span class="current nav_bulle">{$page}</span>
13    {else}
14    <a href="{$url}" class="nav_bulle" >{$page}</a>
15    {/if}
16    {assign var='prev_page' value=$page}
17  {/foreach}
18
19  {if isset($navbar.URL_NEXT)}
20   <a href="{$navbar.URL_NEXT}" rel="next" class="older nav_bulle">»</a>
21   <a href="{$navbar.URL_LAST}" rel="last" class="last nav_bulle">{'Last'|@translate}</a>
22  {/if}
23</div>
Note: See TracBrowser for help on using the repository browser.