2009-03-05 21:08:04 +00:00
|
|
|
<div class="navigationBar">
|
2009-03-06 01:06:18 +00:00
|
|
|
{if isset($navbar.URL_FIRST)}
|
2010-03-02 14:54:22 +00:00
|
|
|
<a href="{$navbar.URL_FIRST}" rel="first">{'First'|@translate}</a> |
|
|
|
|
<a href="{$navbar.URL_PREV}" rel="prev">{'Previous'|@translate}</a> |
|
2009-03-06 01:06:18 +00:00
|
|
|
{else}
|
2010-03-02 14:54:22 +00:00
|
|
|
{'First'|@translate} |
|
|
|
|
{'Previous'|@translate} |
|
2009-03-06 01:06:18 +00:00
|
|
|
{/if}
|
2009-03-05 21:08:04 +00:00
|
|
|
|
2009-03-06 01:06:18 +00:00
|
|
|
{assign var='prev_page' value=0}
|
|
|
|
{foreach from=$navbar.pages key=page item=url}
|
|
|
|
{if $page > $prev_page+1}...{/if}
|
|
|
|
{if $page == $navbar.CURRENT_PAGE}
|
2009-03-05 21:08:04 +00:00
|
|
|
<span class="pageNumberSelected">{$page}</span>
|
2009-03-06 01:06:18 +00:00
|
|
|
{else}
|
2009-03-05 21:08:04 +00:00
|
|
|
<a href="{$url}">{$page}</a>
|
2009-03-06 01:06:18 +00:00
|
|
|
{/if}
|
|
|
|
{assign var='prev_page' value=$page}
|
|
|
|
{/foreach}
|
2009-03-05 21:08:04 +00:00
|
|
|
|
2009-03-06 01:06:18 +00:00
|
|
|
{if isset($navbar.URL_NEXT)}
|
2010-03-02 14:54:22 +00:00
|
|
|
| <a href="{$navbar.URL_NEXT}" rel="next">{'Next'|@translate}</a>
|
|
|
|
| <a href="{$navbar.URL_LAST}" rel="last">{'Last'|@translate}</a>
|
2009-03-06 01:06:18 +00:00
|
|
|
{else}
|
2010-03-02 14:54:22 +00:00
|
|
|
| {'Next'|@translate}
|
|
|
|
| {'Last'|@translate}
|
2009-03-06 01:06:18 +00:00
|
|
|
{/if}
|
|
|
|
</div>
|