Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Fixing pagings.
Browse files Browse the repository at this point in the history
  • Loading branch information
okinaka committed Apr 7, 2014
1 parent a8421c7 commit 0eb7d7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion View/Tags/admin_index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ foreach ($tags as $tag):
</tr>
<?php endforeach; ?>
</table>
</div>
<div class="paging">
<?php echo $this->Paginator->prev('<< '.__d('tags', 'previous'), array(), null, array('class'=>'disabled'));?>
| <?php echo $this->Paginator->numbers();?>
<?php echo $this->Paginator->next(__d('tags', 'next').' >>', array(), null, array('class' => 'disabled'));?>
</div>
</div>
<div class="actions">
<ul>
<li><?php echo $this->Html->link(sprintf(__d('tags', 'New %s'), __d('tags', 'Tag')), array('action' => 'add')); ?></li>
Expand Down
4 changes: 2 additions & 2 deletions View/Tags/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ foreach ($tags as $tag):
</tr>
<?php endforeach; ?>
</table>
</div>
<div class="paging">
<?php echo $this->Paginator->prev('<< '.__d('tags', 'previous'), array(), null, array('class'=>'disabled'));?>
| <?php echo $this->Paginator->numbers();?>
<?php echo $this->Paginator->next(__d('tags', 'next').' >>', array(), null, array('class' => 'disabled'));?>
</div>
</div>
</div>

0 comments on commit 0eb7d7a

Please sign in to comment.