Blame view

src/Template/Element/pagination_with_first_and_last.ctp 714 Bytes
9478e982   Etienne Pallier   refactorisation d...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
	<!-- La façon cakephp 3.4 avec cake.css --> 
	<div class="paginator">
    <ul class="pagination">
    <p>
    <!-- La façon inventirap.css 
    <div class="paging" style="color: black;">
    <div class="paging">
    -->
    	<?php 
    	echo $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']);
    	echo $this->Paginator->first('<< ' . __(''), ['class' => 'prev']);
        echo $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']);
        echo $this->Paginator->numbers(['separator' => '']);
        echo $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']);
		echo $this->Paginator->last(__('') . ' >>', ['class' => 'next']);
		?>
    </p>
	</ul>
    </div>