Reworked the paginator number display to play nice with Bootstrap

This commit is contained in:
Kyle Johnson 2013-09-10 20:27:30 -04:00
parent fa3725d377
commit c41810bbf1
1 changed files with 8 additions and 2 deletions

View File

@ -56,8 +56,11 @@ echo $this->Form->inputs(array(
</div>
<?php $this->end(); ?>
<ul class="pagination">
<?php echo $this->Paginator->numbers(array('tag' => 'li', 'separator' => false, 'currentClass' => 'active', 'currentTag' => 'span')); ?>
</ul>
<div id="Events">
<div style="clear:both;"><?php echo $this->Paginator->numbers(); ?></div>
<table>
<tr>
<th>Thumbnail</th>
@ -96,5 +99,8 @@ foreach ($events as $key => $value) {
}
?>
</table>
<div style="clear:both;"><?php echo $this->Paginator->numbers(); ?></div>
</div>
<ul class="pagination">
<?php echo $this->Paginator->numbers(array('tag' => 'li', 'separator' => false, 'currentClass' => 'active', 'currentTag' => 'span')); ?>
</ul>