Last change
on this file since 13805 was
5095,
checked in by plg, 15 years ago
|
feature 1494: move all *.tpl files from template/yoga to the new
template/default (from which yoga derives)
|
File size:
835 bytes
|
Line | |
---|
1 | <div class="navigationBar"> |
---|
2 | {if isset($navbar.URL_FIRST)} |
---|
3 | <a href="{$navbar.URL_FIRST}" rel="first">{'First'|@translate}</a> | |
---|
4 | <a href="{$navbar.URL_PREV}" rel="prev">{'Previous'|@translate}</a> | |
---|
5 | {else} |
---|
6 | {'First'|@translate} | |
---|
7 | {'Previous'|@translate} | |
---|
8 | {/if} |
---|
9 | |
---|
10 | {assign var='prev_page' value=0} |
---|
11 | {foreach from=$navbar.pages key=page item=url} |
---|
12 | {if $page > $prev_page+1}...{/if} |
---|
13 | {if $page == $navbar.CURRENT_PAGE} |
---|
14 | <span class="pageNumberSelected">{$page}</span> |
---|
15 | {else} |
---|
16 | <a href="{$url}">{$page}</a> |
---|
17 | {/if} |
---|
18 | {assign var='prev_page' value=$page} |
---|
19 | {/foreach} |
---|
20 | |
---|
21 | {if isset($navbar.URL_NEXT)} |
---|
22 | | <a href="{$navbar.URL_NEXT}" rel="next">{'Next'|@translate}</a> |
---|
23 | | <a href="{$navbar.URL_LAST}" rel="last">{'Last'|@translate}</a> |
---|
24 | {else} |
---|
25 | | {'Next'|@translate} |
---|
26 | | {'Last'|@translate} |
---|
27 | {/if} |
---|
28 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.