1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
3 * Like the Digg style, but without page numbers, because they're slow to calculate
5 * @preview « Previous Next »
7 $label_previous = '<span class="icon-16 x16-arrow-left" title="'._('Previous').'"></span>';
8 $label_next = '<span class="icon-16 x16-arrow-right" title="'._('Next').'"></span>';
10 <div
class="pagination_container">
13 $paging_step = config
::get('pagination.paging_step', '*'); # step used below to print nr of items per page
14 $max_items_per_page = config
::get('pagination.max_items_per_page', '*'); # maximum items per page to show
15 $entries = _('entries');
16 if (!isset($items_per_page)) {
17 $items_per_page = config
::get('pagination.items_per_page', '*');
20 <span
class="pagination_entries_str" style
="display:none"><?php
echo $entries ?
></span
>
22 <div
class="pagination">
23 <?php
if ($previous_page): ?
>
24 <a href
="<?php echo str_replace('{page}', $previous_page, $url) ?>" class="prevpage" title
="<?php echo _('Previous') ?>"><?php
echo $label_previous ?
></a
>
26 <?php
echo $label_previous ?
>
29 <?php
if ($next_page && !$hide_next): ?
>
30 <a href
="<?php echo str_replace('{page}', $next_page, $url) ?>" class="nextpage" title
="<?php echo _('Next') ?>"><?php
echo $label_next ?
></a
>
32 <?php
echo $label_next ?
>
34 <?php
//echo ' (' . _('total') . ': ' . $total_items . ' ' . _('entries') . ')' ?>