freenetis-github/system/views/pagination/extended.php @ 6970ac8e
8baed187 | Michal Kliment | <?php
|
|
/**
|
|||
* Extended pagination style
|
|||
*
|
|||
* @preview « Previous | Page 2 of 11 | Showing items 6-10 of 52 | Next »
|
|||
*/
|
|||
?>
|
|||
<p class="pagination">
|
|||
<?php if ($previous_page): ?>
|
|||
<a href="<?php echo str_replace('{page}', $previous_page, $url) ?>">« <?php echo Kohana::lang('pagination.previous') ?></a>
|
|||
<?php else: ?>
|
|||
« <?php echo Kohana::lang('pagination.previous') ?>
|
|||
<?php endif ?>
|
|||
| <?php echo Kohana::lang('pagination.page') ?> <?php echo $current_page ?> <?php echo Kohana::lang('pagination.of') ?> <?php echo $total_pages ?>
|
|||
| <?php echo Kohana::lang('pagination.items') ?> <?php echo $current_first_item ?>–<?php echo $current_last_item ?> <?php echo Kohana::lang('pagination.of') ?> <?php echo $total_items ?>
|
|||
| <?php if ($next_page): ?>
|
|||
<a href="<?php echo str_replace('{page}', $next_page, $url) ?>"><?php echo Kohana::lang('pagination.next') ?> »</a>
|
|||
<?php else: ?>
|
|||
<?php echo Kohana::lang('pagination.next') ?> »
|
|||
<?php endif ?>
|
|||
</p>
|