Changeset 112871 in spip-zone


Ignore:
Timestamp:
Dec 17, 2018, 5:54:12 PM (4 weeks ago)
Author:
l.oiseau2nuit@…
Message:

ménage + fix sur paginations

Location:
_squelettes_/zktx-kore/trunk/modeles
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/zktx-kore/trunk/modeles/pagination_page_precedent_suivant.html

    r84588 r112871  
    1111#SET{separateur,#ENV{separateur,''}}
    1212<ul class="pagination">
    13 [<li><a href='[(#ENV{url}|parametre_url{#ENV{debut},''})]##ENV{ancre}' class='lien_pagination' rel='nofollow' title="<:accessibilite:pages_premieres:>[ (#ENV{apres})]">(#GET{premiere}|>{1}|?{'&lt;&lt;',''})</a></li> #GET*{separateur}]
     13[<li><a href='[(#ENV{url}|parametre_url{#ENV{debut},''})]##ENV{ancre}' class='lien_pagination' rel='nofollow' title="<:accessibilite:pages_premieres:>[ (#ENV{apres})]">(#GET{premiere}|>{1}|?{'<i class="fa fa-lg fa-angle-double-left" aria-hidden="true"></i>',''})</a></li>]
    1414#SET{i,#ENV{page_courante}|moins{1}}
    1515[(#GET{i}|>{0}|oui)[
    1616        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    17         ][(#INCLURE{fond=modeles/paginationitem}{apres=#ENV{apres}}{num=#GET{i}}{texte='&lt;'}{separateur=#GET*{separateur}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#ENV{derniere}})]
     17        ][(#INCLURE{fond=modeles/paginationitem}{apres=#ENV{apres}}{num=#GET{i}}{texte=<i class="fa fa-lg fa-angle-left" title="<:public:page_precedente:>"></i>}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#ENV{derniere}})]
    1818]
    1919
     
    2121[(#GET{i}|<={#GET{derniere}}|oui)[
    2222        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    23         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    2424]
    2525#SET{i,#GET{i}|plus{1}}
    2626[(#GET{i}|<={#GET{derniere}}|oui)[
    2727        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    28         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    2929]
    3030#SET{i,#GET{i}|plus{1}}
    3131[(#GET{i}|<={#GET{derniere}}|oui)[
    3232        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    33         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    3434]
    3535#SET{i,#GET{i}|plus{1}}
    3636[(#GET{i}|<={#GET{derniere}}|oui)[
    3737        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    38         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    3939]
    4040#SET{i,#GET{i}|plus{1}}
    4141[(#GET{i}|<={#GET{derniere}}|oui)[
    4242        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    43         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    4444]
    4545#SET{i,#GET{i}|plus{1}}
    4646[(#GET{i}|<={#GET{derniere}}|oui)[
    4747        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    48         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    4949]
    5050#SET{i,#GET{i}|plus{1}}
    5151[(#GET{i}|<={#GET{derniere}}|oui)[
    5252        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    53         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    5454]
    5555#SET{i,#GET{i}|plus{1}}
    5656[(#GET{i}|<={#GET{derniere}}|oui)[
    5757        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    58         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    5959]
    6060#SET{i,#GET{i}|plus{1}}
    6161[(#GET{i}|<={#GET{derniere}}|oui)[
    6262        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    63         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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}})]
     63        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    6464]
    6565#SET{i,#GET{i}|plus{1}}
    6666[(#GET{i}|<={#GET{derniere}}|oui)[
    6767        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    68         ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{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}})]
     68        ][(#INCLURE{fond=modeles/paginationitem}{avant=#ENV{avant}}{apres=#ENV{apres}}{num=#GET{i}}{texte=#GET{i}}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#GET{derniere}})]
    6969]
    7070
     
    7272[(#GET{i}|<{#ENV{nombre_pages}}|oui)[
    7373        (#SET{item, #GET{i}|moins{1}|mult{#ENV{pas}} })
    74         ][#GET*{separateur} (#INCLURE{fond=modeles/paginationitem}{apres=#ENV{apres}}{num=#GET{i}}{texte='&gt;'}{separateur=''}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#ENV{derniere}})]
     74        ][#GET*{separateur} (#INCLURE{fond=modeles/paginationitem}{apres=#ENV{apres}}{num=#GET{i}}{texte=<i class="fa fa-lg fa-angle-right" title="<:public:page_suivante:>"></i>}{separateur=''}{url=#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|ancre_url{#ENV{ancre}}}{page_courante=#ENV{page_courante}}{derniere=#ENV{derniere}})]
    7575]
    76 [#GET*{separateur}<li><a href='[(#ENV{url}|parametre_url{#ENV{debut},#ENV{nombre_pages}|moins{1}|mult{#ENV{pas}}})]##ENV{ancre}' class='lien_pagination' rel='nofollow' title="<:accessibilite:pages_dernieres:>[ (#ENV{apres})]">(#GET{derniere}|<{#ENV{nombre_pages}}|?{'&gt;&gt;',''})</a></li>]
     76[<li><a href='[(#ENV{url}|parametre_url{#ENV{debut},#ENV{nombre_pages}|moins{1}|mult{#ENV{pas}}})]##ENV{ancre}' class='lien_pagination' rel='nofollow' title="<:accessibilite:pages_dernieres:>[ (#ENV{apres})]">(#GET{derniere}|<{#ENV{nombre_pages}}|?{'<i class="fa fa-lg fa-angle-double-right" aria-hidden="true"></i>',''})</a></li>]
    7777</ul> [(#REM) fin .pagination ]
  • _squelettes_/zktx-kore/trunk/modeles/pagination_precedent_suivant.html

    r67361 r112871  
    33#SET{premiere, #GET{bornes}|reset}
    44#SET{derniere, #GET{bornes}|end}
    5 #SET{separateur,#ENV{separateur,'|'}}
     5#SET{separateur,#ENV{separateur,''}}
    66#SET{i,#ENV{page_courante}|moins{1}}
    7 
     7<ul class="pagination">
    88[(#ENV{page_courante}|>{1}|oui)
    99        [(#SET{item, #ENV{page_courante}|moins{2}|mult{#ENV{pas}} })]
    10         [(#ENV{url}|parametre_url{#ENV{debut},#GET{item}|?{#GET{item}}}|ancre_url{#ENV{ancre}}|lien_ou_expose{<span class="pagin_prev"><span><:public:page_precedente:></span></span>,#ENV{page_courante}|=={1},lien_pagination,'',nofollow})]
     10        [<li>(#ENV{url}|parametre_url{#ENV{debut},#GET{item}|?{#GET{item}}}|ancre_url{#ENV{ancre}}|lien_ou_expose{<i class="fa fa-lg fa-angle-left" title="<:public:page_precedente:>"></i>,#ENV{page_courante}|=={1},lien_pagination,'',nofollow})</li>]
    1111        [(#ENV{page_courante}|<{#ENV{nombre_pages}}|oui)
    12                 [<span class='sep separateur'>(#GET*{separateur})</span>]
     12                [(#GET*{separateur})]
    1313        ]
    1414]
    1515[(#ENV{page_courante}|<{#ENV{nombre_pages}}|oui)
    1616        [(#SET{item, #ENV{page_courante}|mult{#ENV{pas}} })]
    17         [(#ENV{url}|parametre_url{#ENV{debut},#GET{item}|?{#GET{item}}}|ancre_url{#ENV{ancre}}|lien_ou_expose{<span class="pagin_next"><span><:public:page_suivante:></span></span>,#ENV{page_courante}|=={#ENV{nombre_pages}},lien_pagination,'',nofollow})]
    18 ]
     17        [<li>(#ENV{url}|parametre_url{#ENV{debut},#GET{item}|?{#GET{item}}}|ancre_url{#ENV{ancre}}|lien_ou_expose{<i class="fa fa-lg fa-angle-right" title="<:public:page_suivante:>"></i>,#ENV{page_courante}|=={#ENV{nombre_pages}},lien_pagination,'',nofollow})</li>]
     18]</ul>
Note: See TracChangeset for help on using the changeset viewer.