Changeset 114908 in spip-zone


Ignore:
Timestamp:
Apr 10, 2019, 3:05:19 PM (3 months ago)
Author:
cedric@…
Message:

utiliser les #ICON dans les precedents/suivants de la pagination

Location:
_plugins_/bootstrap/trunk/bootstrap2spip/modeles
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/bootstrap/trunk/bootstrap2spip/modeles/pagination.html

    r114827 r114908  
    1111        class='page-link lien_pagination'
    1212        rel='nofollow'
    13         title='1'>(#GET{premiere}|>{1}|?{'<i class="icon-fast-backward">&lt;&lt;</i>'})</a></li><li
     13        title='1'>(#GET{premiere}|>{1}|?{#ICON{start,'',1}})</a></li><li
    1414        class="page-item tbc disabled"><span class="page-link">...</span></li>]<BOUCLE_pages(POUR){tableau #GET{pages}}>[
    1515                (#SET{item, #VALEUR|moins{1}|mult{#ENV{pas}} })
     
    2323        class='page-link lien_pagination'
    2424        title='#ENV{nombre_pages}'
    25         rel='nofollow'>(#GET{derniere}|<{#ENV{nombre_pages}}|?{'<i class="icon-fast-forward">&gt;&gt;</i>'})</a></li>]
     25        rel='nofollow'>(#GET{derniere}|<{#ENV{nombre_pages}}|?{#ICON{end,'',#ENV{nombre_pages}}})</a></li>]
    2626        </ul>
    2727</B_pages>
  • _plugins_/bootstrap/trunk/bootstrap2spip/modeles/pagination_page.html

    r114827 r114908  
    1111        class='page-link lien_pagination'
    1212        rel='nofollow'
    13         title='1'>(#GET{premiere}|>{1}|?{'<i class="icon-fast-backward">&lt;&lt;</i>'})</a></li><li
     13        title='1'>(#GET{premiere}|>{1}|?{#ICON{start,'',1}})</a></li><li
    1414        class="page-item tbc disabled"><span class="page-link">...</span></li>]<BOUCLE_pages(POUR){tableau #GET{pages}}>[
    1515                (#SET{item, #VALEUR|moins{1}|mult{#ENV{pas}} })
     
    2323        class='page-link lien_pagination'
    2424        title='#ENV{nombre_pages}'
    25         rel='nofollow'>(#GET{derniere}|<{#ENV{nombre_pages}}|?{'<i class="icon-fast-forward">&gt;&gt;</i>'})</a></li>]
     25        rel='nofollow'>(#GET{derniere}|<{#ENV{nombre_pages}}|?{#ICON{end,'',#ENV{nombre_pages}}})</a></li>]
    2626        </ul>
    2727</B_pages>
  • _plugins_/bootstrap/trunk/bootstrap2spip/modeles/pagination_page_precedent_suivant.html

    r114827 r114908  
    1515        |parametre_url{#ENV{debut},#GET{item}}
    1616        |ancre_url{#ENV{ancre}}
    17         |lien_ou_expose{'<i class="icon-backward">&lt;</i>',#ENV{page_courante}|<={1}|?{span.page-link},'page-link lien_pagination',<:zcore:pagination_prev:>,nofollow}
     17        |lien_ou_expose{#ICON{chevron-left,'',&lt;},#ENV{page_courante}|<={1}|?{span.page-link},'page-link lien_pagination',<:zcore:pagination_prev:>,nofollow}
    1818        |inserer_attribut{rel,prev}
    1919        )</li>][<li class="page-item"><a
     
    2121        class='page-link lien_pagination'
    2222        rel='nofollow'
    23         title='1'>(#GET{premiere}|>{1}|?{'<i class="icon-fast-backward">&lt;&lt;</i>'})</a></li><li
     23        title='1'>(#GET{premiere}|>{1}|?{#ICON{start,'',1}})</a></li><li
    2424        class="page-item tbc disabled"><span class="page-link">...</span></li>]<BOUCLE_pages(POUR){tableau #GET{pages}}>[
    2525                (#SET{item, #VALEUR|moins{1}|mult{#ENV{pas}} })
     
    3333        class='page-link lien_pagination'
    3434        title='#ENV{nombre_pages}'
    35         rel='nofollow'>(#GET{derniere}|<{#ENV{nombre_pages}}|?{'<i class="icon-fast-forward">&gt;&gt;</i>'})</a></li>][
     35        rel='nofollow'>(#GET{derniere}|<{#ENV{nombre_pages}}|?{#ICON{end,'',#ENV{nombre_pages}}})</a></li>][
    3636        (#SET{item, #ENV{page_courante}|mult{#ENV{pas}} })
    3737        ][<li
     
    3939        |parametre_url{#ENV{debut},#GET{item}}
    4040        |ancre_url{#ENV{ancre}}
    41         |lien_ou_expose{<i class="icon-forward">&gt;</i>,#ENV{page_courante}|>={#ENV{nombre_pages}}|?{span.page-link},'page-link lien_pagination',<:zcore:pagination_next:>,nofollow}
     41        |lien_ou_expose{#ICON{chevron-right,'',&gt;},#ENV{page_courante}|>={#ENV{nombre_pages}}|?{span.page-link},'page-link lien_pagination',<:zcore:pagination_next:>,nofollow}
    4242        |inserer_attribut{rel,next}
    4343        )</li>]
Note: See TracChangeset for help on using the changeset viewer.