0byt3m1n1
Path:
/
data
/
applications
/
aps
/
gallery
/
2.2-08
/
standard
/
htdocs
/
modules
/
core
/
templates
/
blocks
/
[
Home
]
File: Pager.tpl
{* * $Revision: 15342 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *} <div class="{$class}"> {g->text text="Page:"} {assign var="lastPage" value=0} {foreach name=jumpRange from=$theme.jumpRange item=page} {if ($page - $lastPage >= 2)} <span> {if ($page - $lastPage == 2)} <a href="{g->url params=$theme.pageUrl arg1="page=`$page-1`"}">{$page-1}</a> {else} ... {/if} </span> {/if} <span> {if ($theme.currentPage == $page)} {$page} {else} <a href="{g->url params=$theme.pageUrl arg1="page=$page"}">{$page}</a> {/if} </span> {assign var="lastPage" value=$page} {/foreach} </div>