source: extensions/UserAdvManager/trunk/admin/template/navigation_bar.tpl

Last change on this file was 5593, checked in by Eric, 15 years ago

[NBC_UserAdvManager]

  • Code refactoring for Piwigo 2.1 compliance
  • Bug 1508 fixed : Plugin displayed name doesn't show "nbc_" prefix any more
  • Bug 1551 fixed : There was a problem on very first time installation
  • Several translation fixes
  • Template files storage : All admin's templates are now in a "template" directory with css file
  • Property svn:eol-style set to LF
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.