[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / spip-bonux / modeles / pagination_page.html
1 #ENV*{bloc_ancre}
2 #SET{bornes,#ENV{page_courante}|bornes_pagination{#ENV{nombre_pages},10}}
3 #SET{premiere, #GET{bornes}|reset}
4 #SET{derniere, #GET{bornes}|end}
5 #SET{pages,#GET{premiere}|range{#GET{derniere}}}
6 #SET{separateur,#ENV{separateur,'|'}}
7 <B_pages>
8 <span class='pagination_label'><:spip_bonux:pages:></span>
9 [<a href='[(#ENV{url}|parametre_url{#ENV{debut},''})]##ENV{ancre}' class='lien_pagination' rel='nofollow'>(#GET{premiere}|>{1}|?{'...',''})</a> [<span class='sep separateur'>(#GET*{separateur})</span>]]
10 <BOUCLE_pages(POUR){tableau #GET{pages}}>
11 [(#SET{item, #VALEUR|moins{1}|mult{#ENV{pas}} })]
12 [(#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}|aoustrong{#VALEUR,#VALEUR|=={#ENV{page_courante}},lien_pagination,'',nofollow})]
13 [<span class='sep separateur'>(#VALEUR|<{#GET{derniere}}|?{#GET{separateur}})</span>]
14 </BOUCLE_pages>
15 [[<span class='sep separateur'>(#GET*{separateur})</span>] <a href='[(#ENV{url}|parametre_url{#ENV{debut},#ENV{nombre_pages}|moins{1}|mult{#ENV{pas}}})]##ENV{ancre}' class='lien_pagination' rel='nofollow'>(#GET{derniere}|<{#ENV{nombre_pages}}|?{'...',''})</a>]
16 </B_pages>