Code Duplication    Length = 6-6 lines in 2 locations

system/views/pagination/digg.php 1 location

@@ 11-16 (lines=6) @@
8
9
<p class="pagination">
10
11
	<?php if ($previous_page): ?>
12
		<a href="<?php echo str_replace('{page}', $previous_page, $url) ?>">&laquo;&nbsp;<?php echo Kohana::lang('pagination.previous') ?></a>
13
	<?php else: ?>
14
		&laquo;&nbsp;<?php echo Kohana::lang('pagination.previous') ?>
15
	<?php endif ?>
16
17
18
	<?php if ($total_pages < 13): /* « Previous  1 2 3 4 5 6 7 8 9 10 11 12  Next » */ ?>
19

system/views/pagination/extended.php 1 location

@@ 11-16 (lines=6) @@
8
9
<p class="pagination">
10
11
	<?php if ($previous_page): ?>
12
		<a href="<?php echo str_replace('{page}', $previous_page, $url) ?>">&laquo;&nbsp;<?php echo Kohana::lang('pagination.previous') ?></a>
13
	<?php else: ?>
14
		&laquo;&nbsp;<?php echo Kohana::lang('pagination.previous') ?>
15
	<?php endif ?>
16
17
	| <?php echo Kohana::lang('pagination.page') ?> <?php echo $current_page ?> <?php echo Kohana::lang('pagination.of') ?> <?php echo $total_pages ?>
18
19
	| <?php echo Kohana::lang('pagination.items') ?> <?php echo $current_first_item ?>&ndash;<?php echo $current_last_item ?> <?php echo Kohana::lang('pagination.of') ?> <?php echo $total_items ?>