[PLUGINS] +set de base
[lhc/web/www.git] / www / plugins / abomailmans / prive / listes / abomailman_templates.html
1 [(#REM) Tous les fichiers *.html, mais pas les .txt.html ]
2 #SET{arraytemplate,#EVAL{find_all_in_path("templates/",".*(?<!txt)\.html$")}}
3
4 <BOUCLE_abomailman(ABOMAILMANS){id_abomailman}>
5 [(#SET{select,[(#MODELE_DEFAUT|nettoie_chemin)]})]
6 </BOUCLE_abomailman>
7 [(#ENV{template}|oui)
8 [(#SET{select,[(#ENV{template})]})]
9 ]
10
11
12 <BOUCLE_template(POUR){tableau #GET{arraytemplate}}{par valeur}>
13 <option value="[(#VALEUR|nettoie_chemin)]"
14 [(#GET{select}|=={[(#VALEUR|nettoie_chemin)]}|oui) selected="selected" ]>
15 [(#VALEUR|nettoie_chemin)]</option>
16 </BOUCLE_template>