{if $paginator.pageCount > 1 || $paginator.totalItemCount > reset($paginator.ippList)}
Showing {$paginator.firstItemNumber} - {$paginator.lastItemNumber} of {$paginator.totalItemCount}
{if $paginator.pageCount > 1} {if $paginator.first != $paginator.current} {capture assign = 'href'}{$paginator.url|replace:$paginator.pagePlaceholder:$paginator.first}{/capture} {else} {/if} {if isset($paginator.previous)} {capture assign = 'href'}{$paginator.url|replace:$paginator.pagePlaceholder:$paginator.previous}{/capture} {else} {/if} {foreach from = $paginator.pagesInRange item = page} {if $page != $paginator.current} {capture assign = 'href'}{$paginator.url|replace:$paginator.pagePlaceholder:$page}{/capture} {$page} {else} {$page} {/if} {/foreach} {if isset($paginator.next)} {capture assign = 'href'}{$paginator.url|replace:$paginator.pagePlaceholder:$paginator.next}{/capture} {else} {/if} {if $paginator.last != $paginator.current} {capture assign = 'href'}{$paginator.url|replace:$paginator.pagePlaceholder:$paginator.last}{/capture} {else} {/if} {/if} {if $paginator.changeableIpp} {if !($paginator.pageCount > 1)}|{/if} {php} $this->assign( 'ippAttribs', array('value' => $this->_tpl_vars['paginator']['ipp'], 'onchange' => 'qs.paginator.setIpp(this.value);') ); {/php} {assign var="ippOptions" value='array_combine'|call_user_func:$paginator.ippList:$paginator.ippList} Items per page: {$view->formSelect('paginator-ipp', $paginator.ipp, $ippAttribs, $ippOptions)} {/if}