1
這是我想要的Pagination風格。這就是我得到的Pagination風格。任何人都可以告訴我如何完成它?cakephp中的分頁設計
<?php
echo $this->Paginator->first('‹', array('tag' => 'a', 'title' => __('First page'), 'escape' => false));
echo $this->Paginator->prev('«', array('tag' => 'a', 'title' => __('Previous page'), 'disabledTag' => 'span', 'escape' => false), null, array('tag' => 'a', 'disabledTag' => 'span', 'escape' => false, 'class' => 'navlinks'));
echo $this->Paginator->numbers(array('separator' => false, 'tag' => 'a', 'currentTag' => 'span', 'currentClass' => 'navlinks current'));
echo $this->Paginator->next('»', array('tag' => 'a', 'disabledTag' => 'span', 'title' => __('Next page'), 'escape' => false), null, array('tag' => 'a', 'disabledTag' => 'span', 'escape' => false, 'class' => 'navlinks'));
echo $this->Paginator->last('›', array('tag' => 'a', 'title' => __('First page'), 'escape' => false));
?>