Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add rel support in basic view.

  • Loading branch information...
commit bccf6e9d5c78345ce83c3a698d3a0a97f6d04003 1 parent 1eb8909
@bistory bistory authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 views/pagination/basic.php
View
6 views/pagination/basic.php
@@ -1,13 +1,13 @@
<p class="pagination">
<?php if ($first_page !== FALSE): ?>
- <a href="<?php echo $page->url($first_page) ?>"><?php echo __('First') ?></a>
+ <a href="<?php echo $page->url($first_page) ?>" rel="start"><?php echo __('First') ?></a>
<?php else: ?>
<?php echo __('First') ?>
<?php endif ?>
<?php if ($previous_page !== FALSE): ?>
- <a href="<?php echo $page->url($previous_page) ?>"><?php echo __('Previous') ?></a>
+ <a href="<?php echo $page->url($previous_page) ?>" rel="prev"><?php echo __('Previous') ?></a>
<?php else: ?>
<?php echo __('Previous') ?>
<?php endif ?>
@@ -23,7 +23,7 @@
<?php endfor ?>
<?php if ($next_page !== FALSE): ?>
- <a href="<?php echo $page->url($next_page) ?>"><?php echo __('Next') ?></a>
+ <a href="<?php echo $page->url($next_page) ?>" rel="next"><?php echo __('Next') ?></a>
<?php else: ?>
<?php echo __('Next') ?>
<?php endif ?>

0 comments on commit bccf6e9

Please sign in to comment.
Something went wrong with that request. Please try again.