- Timestamp:
- May 22, 2011, 12:34:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_on_Albums/template/navigation_bar.tpl
r9641 r10984 1 1 {* this is a copy of theme/defaults/template/navigation_bar.tpl 2 3 2 but with other variables to not interfer with the thumbnails' navigation bar *} 3 4 4 <div class="navigationBar"> 5 6 7 8 9 10 11 5 {if isset($comment_navbar.URL_FIRST)} 6 <a href="{$comment_navbar.URL_FIRST}#comments" rel="first">{'First'|@translate}</a> | 7 <a href="{$comment_navbar.URL_PREV}#comments" rel="prev">{'Previous'|@translate}</a> | 8 {else} 9 {'First'|@translate} | 10 {'Previous'|@translate} | 11 {/if} 12 12 13 14 15 16 17 18 19 20 21 22 13 {assign var='prev_page' value=0} 14 {foreach from=$comment_navbar.pages key=page item=url} 15 {if $page > $prev_page+1}...{/if} 16 {if $page == $comment_navbar.CURRENT_PAGE} 17 <span class="pageNumberSelected">{$page}</span> 18 {else} 19 <a href="{$url}#comments">{$page}</a> 20 {/if} 21 {assign var='prev_page' value=$page} 22 {/foreach} 23 23 24 25 26 27 28 29 30 24 {if isset($comment_navbar.URL_NEXT)} 25 | <a href="{$comment_navbar.URL_NEXT}#comments" rel="next">{'Next'|@translate}</a> 26 | <a href="{$comment_navbar.URL_LAST}#comments" rel="last">{'Last'|@translate}</a> 27 {else} 28 | {'Next'|@translate} 29 | {'Last'|@translate} 30 {/if} 31 31 </div>
Note: See TracChangeset
for help on using the changeset viewer.