X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins%2Fauto%2Fspip-bonux%2Fdemo%2Fboucles_tableaux.html;fp=www%2Fplugins%2Fauto%2Fspip-bonux%2Fdemo%2Fboucles_tableaux.html;h=982c9fb7132b5be0b1e466b47651852930a2fcbe;hb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed;hp=0000000000000000000000000000000000000000;hpb=aaf970bf4cdaf76689ecc10609048e18d073820c;p=velocampus%2Fweb%2Fwww.git diff --git a/www/plugins/auto/spip-bonux/demo/boucles_tableaux.html b/www/plugins/auto/spip-bonux/demo/boucles_tableaux.html new file mode 100644 index 0000000..982c9fb --- /dev/null +++ b/www/plugins/auto/spip-bonux/demo/boucles_tableaux.html @@ -0,0 +1,119 @@ +[(#REM) Attention #ENV est un tableau serialize, et echappe, donc inutilisable +Preferer #ENV* ] + +#TOTAL_BOUCLE items dans l'env
+ +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+ + +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+ + +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+ + +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+ + +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+ + +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+ + +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+ + +

#PAGINATION

+
    + +
  • #CLE=>#VALEUR
  • + +
+
+
+ + + +#CLE=>[(#VALEUR|var_export{1})]
+ +
+ + +#CLE=>[(#VALEUR|var_export{1})]
+ +
+ + +#CLE=>[(#VALEUR|var_export{1})]
+ +
+a}> +#CLE=>[(#VALEUR|var_export{1})]
+ +
+ + +
  • + +#CLE=>
      +
    • #CLE=>
    • +
    +
    +#VALEUR
  • + +
+
+
+ +

Tableau GET

+#SET{test,#ARRAY{1,2,5,6,3,4}} + +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+

Par cle

+ +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+

!Par cle

+ +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+

Par valeur

+ +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +
+

!Par valeur

+ +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ + + +
+Pagination +#SET{test,#ARRAY{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30}} + +

#PAGINATION

+ +#COMPTEUR_BOUCLE) #CLE=>#VALEUR
+ +[#TOTAL_BOUCLE/#GRAND_TOTAL] +