Mise en route du suivi.
[aidenligne_francais_universite.git] / dist / modeles / pagination_page.html
1 #ENV*{bloc_ancre}
2 #SET{bornes,#ENV{page_courante}|calcul_bornes_pagination{#ENV{nombre_pages},10}}
3 #SET{premiere, #GET{bornes}|reset}
4 #SET{derniere, #GET{bornes}|end}
5 #SET{separateur,'|'}
6
7 [<a href='[(#ENV{url}|parametre_url{#ENV{debut},''})]##ENV{ancre}' class='lien_pagination'>(#GET{premiere}|>{1}|?{'...',''})</a> #GET*{separateur}]
8
9 #SET{i,#GET{premiere}}
10 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
11 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
12 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
13 ]
14 #SET{i,#GET{i}|plus{1}}
15 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
16 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
17 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
18 ]
19 #SET{i,#GET{i}|plus{1}}
20 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
21 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
22 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
23 ]
24 #SET{i,#GET{i}|plus{1}}
25 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
26 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
27 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
28 ]
29 #SET{i,#GET{i}|plus{1}}
30 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
31 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
32 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
33 ]
34 #SET{i,#GET{i}|plus{1}}
35 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
36 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
37 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
38 ]
39 #SET{i,#GET{i}|plus{1}}
40 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
41 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
42 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
43 ]
44 #SET{i,#GET{i}|plus{1}}
45 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
46 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
47 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
48 ]
49 #SET{i,#GET{i}|plus{1}}
50 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
51 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
52 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
53 ]
54 #SET{i,#GET{i}|plus{1}}
55 [(#GET{i}|<={#GET{derniere}}|?{' ',''})[
56 (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
57 ][(#INCLURE{fond=modeles/paginationitem}{num=#GET{i}}{texte=#GET{i}}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
58 ]
59 [#GET*{separateur} <a href='[(#ENV{url}|parametre_url{#ENV{debut},#ENV{nombre_pages}|moins{1}|mult{#ENV{pas}}})]##ENV{ancre}' class='lien_pagination'>(#GET{derniere}|<{#ENV{nombre_pages}}|?{'...',''})</a>]