Changeset 82755 in spip-zone for _plugins_/sjcycle


Ignore:
Timestamp:
May 26, 2014, 9:02:19 PM (5 years ago)
Author:
chankalan@…
Message:

revert du choix d'un ou plusieurs articles, mais id_article optionnel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/sjcycle/trunk/modeles/sjcycle.html

    r82749 r82755  
    11
    2 #SET{listearticles,#ARRAY}
    3 #SET{listearticles,#GET{listearticles}|push{#ENV{articles,0}}}
    4 [(#SET{listearticles,   [(#GET{listearticles}|push{#ENV{id_sjcycle}})]})]
     2[(#SET{id_article,      [(#ENV{id_sjcycle,      0})]})]
    53
    64[(#SET{largeurmax,      [(#ENV{largeurmax,      #CONFIG{sjcycle/largeurmax}})]})]
     
    7977        <div class="cycle-pager"></div>][(#GET{caption}|=={'.cycle-caption'}|oui)
    8078        <div class="cycle-caption"></div>]
    81         <BOUCLE_img(DOCUMENTS){id_article IN #GET{listearticles}}{extension==jpg|png|gif}{id_document==^((#ENV{docs}|replace{',',|}|sinon{.*}))$}{par num titre, date}{doublons}{0,#ENV{limite,100000000}}>[
     79        <BOUCLE_img(DOCUMENTS){id_article?}{extension==jpg|png|gif}{id_document==^((#ENV{docs}|replace{',',|}|sinon{.*}))$}{par num titre, date}{doublons}{0,#ENV{limite,100000000}}>[
    8280               
    8381                 #SET{fermer_a,non}
Note: See TracChangeset for help on using the changeset viewer.