Created
September 20, 2013 19:11
-
-
Save kimmellj/6642362 to your computer and use it in GitHub Desktop.
Pagination links for CakePHP while using Twitter's Bootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="pagination"> | |
<?php | |
echo '<li>'.$this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled')).'</li>'; | |
echo $this->Paginator->numbers(array('currentTag' => 'span', 'tag' => 'li', 'separator' => '')); | |
echo '<li>'.$this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled')).'</li>'; | |
?> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment