[PLUGINS] +abomailman
[ptitvelo/web/www.git] / www / plugins / abomailmans / prive / listes / abomailman_templates.html
diff --git a/www/plugins/abomailmans/prive/listes/abomailman_templates.html b/www/plugins/abomailmans/prive/listes/abomailman_templates.html
new file mode 100755 (executable)
index 0000000..a5c3340
--- /dev/null
@@ -0,0 +1,16 @@
+[(#REM) Tous les fichiers *.html, mais pas les .txt.html ]\r
+#SET{arraytemplate,#EVAL{find_all_in_path("templates/",".*(?<!txt)\.html$")}}\r
+\r
+<BOUCLE_abomailman(ABOMAILMANS){id_abomailman}>\r
+[(#SET{select,[(#MODELE_DEFAUT|nettoie_chemin)]})]\r
+</BOUCLE_abomailman>\r
+[(#ENV{template}|oui)\r
+[(#SET{select,[(#ENV{template})]})]\r
+]\r
+\r
+\r
+<BOUCLE_template(POUR){tableau #GET{arraytemplate}}{par valeur}>\r
+<option value="[(#VALEUR|nettoie_chemin)]" \r
+[(#GET{select}|=={[(#VALEUR|nettoie_chemin)]}|oui) selected="selected" ]>\r
+[(#VALEUR|nettoie_chemin)]</option>\r
+</BOUCLE_template>
\ No newline at end of file