You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

40 lines
1.7 KiB

#ENV*{bloc_ancre}
#SET{bornes,#ENV{page_courante}|bornes_pagination{#ENV{nombre_pages},10}}
#SET{premiere, #GET{bornes}|reset}
#SET{derniere, #GET{bornes}|end}
#SET{pages,#GET{premiere}|range{#GET{derniere}}}
<B_pages>
[<span class='label'>(#ENV{label,''})</span>][
(#SET{item, #ENV{page_courante}|moins{2}|mult{#ENV{pas}} })
][<span class="prev[(#ENV{page_courante}|<={1}|oui)disabled]">(#ENV{url}
|parametre_url{#ENV{debut},#GET{item}|?{#GET{item}}}
|ancre_url{#ENV{ancre}}
|lien_ou_expose{#ENV{label_precedent,<:public:page_precedente:>},#ENV{page_courante}|<={1},'previous','',nofollow}
|inserer_attribut{rel,prev}
)</span>]
[<a href='[(#ENV{url}|parametre_url{#ENV{debut},''})]##ENV{ancre}'
class='page'
rel='nofollow'>(#GET{premiere}|>{1}|?{1})</a><span
class="tbc">&hellip;</span>]
<BOUCLE_pages(POUR){tableau #GET{pages}}>[
(#SET{item, #VALEUR|moins{1}|mult{#ENV{pas}} })
][(#ENV{url}
|parametre_url{#ENV{debut},#GET{item}|?{#GET{item}}}
|ancre_url{#ENV{ancre}}
|lien_ou_expose{#VALEUR,#VALEUR|=={#ENV{page_courante}},page,'',nofollow})]
</BOUCLE_pages>
[<span class="tbc">&hellip;</span>
<a href='[(#ENV{url}|parametre_url{#ENV{debut},#ENV{nombre_pages}|moins{1}|mult{#ENV{pas}}})]##ENV{ancre}'
class='page'
rel='nofollow'>(#GET{derniere}|<{#ENV{nombre_pages}}|?{#ENV{nombre_pages}})</a>][
(#SET{item, #ENV{page_courante}|mult{#ENV{pas}} })
][<span class="next[(#ENV{page_courante}|>={#ENV{nombre_pages}}|oui)disabled]">(#ENV{url}
|parametre_url{#ENV{debut},#GET{item}|?{#GET{item}}}
|ancre_url{#ENV{ancre}}
|lien_ou_expose{#ENV{label_suivant,<:public:page_suivante:>},#ENV{page_courante}|>={#ENV{nombre_pages}},'next','',nofollow}
|inserer_attribut{rel,next})</span>]
</B_pages>