X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins%2Fspip-bonux-3%2Fmodeles%2Fpagination_noancre.html;fp=www%2Fplugins%2Fspip-bonux-3%2Fmodeles%2Fpagination_noancre.html;h=97984a511f15ae8f7b71016c5680be6f66073554;hb=9711570ebac7ed1d6c0335102027680bf6ae036f;hp=0000000000000000000000000000000000000000;hpb=8f74299a99027a9c1859a8748ad6139a2090fa06;p=ptitvelo%2Fweb%2Fwww.git diff --git a/www/plugins/spip-bonux-3/modeles/pagination_noancre.html b/www/plugins/spip-bonux-3/modeles/pagination_noancre.html new file mode 100644 index 0000000..97984a5 --- /dev/null +++ b/www/plugins/spip-bonux-3/modeles/pagination_noancre.html @@ -0,0 +1,16 @@ +#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{separateur,#ENV{separateur,'|'}} +[(#SET{label,[(#ENV{label}|sinon{<:spip_bonux:pages:>})]})] + +[(#GET{label})] +[(#GET{premiere}|>{1}|?{'...',''}) [(#GET*{separateur})]] + +[(#SET{item, #VALEUR|moins{1}|mult{#ENV{pas}} })] +[(#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|aoustrong{#VALEUR,#VALEUR|=={#ENV{page_courante}},lien_pagination,'',nofollow})] +[(#VALEUR|<{#GET{derniere}}|?{#GET{separateur}})] + +[[(#GET*{separateur})] (#GET{derniere}|<{#ENV{nombre_pages}}|?{'...',''})] + \ No newline at end of file