Imported Upstream version 0.6.24+dfsg1
This commit is contained in:
27
lib/kohana/system/views/pagination/extended.php
Normal file
27
lib/kohana/system/views/pagination/extended.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php defined('SYSPATH') OR die('No direct access allowed.');
|
||||
/**
|
||||
* 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>
|
||||
Reference in New Issue
Block a user