52 lines
No EOL
2 KiB
HTML
52 lines
No EOL
2 KiB
HTML
#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}}}
|
|
#SET{sep,#ENV{separateur,'-'}}
|
|
<B_pages>
|
|
<span
|
|
class='label'><:zcore:pagination_pages:></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}}
|
|
|ancre_url{#ENV{ancre}}
|
|
|lien_ou_expose{<:zcore:pagination_prev:>,#ENV{page_courante}|<={1},'lien_pagination','',nofollow}
|
|
|inserer_attribut{rel,prev}
|
|
)[<span
|
|
class='sep'>(#GET*{sep})</span>]</span>]<span
|
|
class="pages">[<a
|
|
href='[(#ENV{url}|parametre_url{#ENV{debut},''})]##ENV{ancre}'
|
|
class='lien_pagination'
|
|
rel='nofollow'>(#GET{premiere}|>{1}|?{1})</a><span
|
|
class="tbc">[<span
|
|
class='sep'>(#GET*{sep})</span>]...[<span
|
|
class='sep'>(#GET*{sep})</span>]</span
|
|
|
|
>]<BOUCLE_pages(POUR){tableau #GET{pages}}>[
|
|
(#SET{item, #VALEUR|moins{1}|mult{#ENV{pas}} })
|
|
][(#ENV{url}
|
|
|parametre_url{#ENV{debut},#GET{item}}
|
|
|ancre_url{#ENV{ancre}}
|
|
|lien_ou_expose{#VALEUR,#VALEUR|=={#ENV{page_courante}},lien_pagination,'',nofollow})][<span
|
|
class='sep'>(#VALEUR|<{#GET{derniere}}|?{#GET{sep}})</span
|
|
>]</BOUCLE_pages>[<span
|
|
|
|
class="tbc">[<span
|
|
class='sep'>(#GET*{sep})</span>]...[<span
|
|
class='sep'>(#GET*{sep})</span>]</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}}|?{#ENV{nombre_pages}})</a>]</span>[
|
|
(#SET{item, #ENV{page_courante}|mult{#ENV{pas}} })
|
|
][<span
|
|
class="next[(#ENV{page_courante}|>={#ENV{nombre_pages}}|oui)disabled]">[<span class='sep'>(#GET*{sep})</span>](#ENV{url}
|
|
|parametre_url{#ENV{debut},#GET{item}}
|
|
|ancre_url{#ENV{ancre}}
|
|
|lien_ou_expose{<:zcore:pagination_next:>,#ENV{page_courante}|>={#ENV{nombre_pages}},'lien_pagination','',nofollow}
|
|
|inserer_attribut{rel,next}
|
|
)</span>]
|
|
</B_pages> |