Suite separation plusieurs balises
authorLudovic CHEVALIER <l.chevalier@lespetitsdebrouillards-ra.org>
Thu, 12 Jan 2012 09:07:12 +0000 (10:07 +0100)
committerLudovic CHEVALIER <l.chevalier@lespetitsdebrouillards-ra.org>
Thu, 12 Jan 2012 09:07:12 +0000 (10:07 +0100)
contenu/page-liste_de_sites.html
contenu/page-liste_de_sites_france.html [deleted file]
modeles/liste-des-ateliers.html

index f5450f6..fe3da15 100644 (file)
@@ -1,4 +1,7 @@
 <!-- Liste des sites -->
+[(#SET{pays,#ENV{pays}})]
+[(#GET{pays})]
+
 <h2 class='h2 spip'>Ateliers</h2>
 <BOUCLE_liste_pays(GIS){par pays}{fusion pays}>
        <h3 class='h3 spip'>#PAYS</h3>
diff --git a/contenu/page-liste_de_sites_france.html b/contenu/page-liste_de_sites_france.html
deleted file mode 100644 (file)
index 962165c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<!-- Liste des sites -->
-<h2 class='h2 spip'>Ateliers</h2>
-<BOUCLE_liste_pays(GIS){pays = France}{fusion pays}>
-       <h3 class='h3 spip'>#PAYS</h3>
-               <BOUCLE_liste_region(GIS){par region}{pays}{fusion region}>
-                       <h4 class='h4 spip'>#REGION</h4>
-                               <BOUCLE_liste_ateliers(GIS spip_gis_liens){par ville}{region}>
-                                       <li>#VILLE (#CODE_POSTAL) <a href="#URL_SITE_SPIP/[(#ID_OBJET|generer_url_entite{#OBJET})]">#TITRE</a> - #ADRESSE</li>
-                               </BOUCLE_liste_ateliers>
-               </BOUCLE_liste_region>
-</BOUCLE_liste_pays>   
index 8bf6be5..ae3fc49 100755 (executable)
@@ -1,2 +1,4 @@
 [(#REM) Liste des ateliers ]\r
-<INCLURE{fond=contenu/page-liste_de_sites} />\r
+\r
+[(#REM) <INCLURE{fond=contenu/page-liste_de_sites, pays} /> ]\r
+<INCLURE{fond=contenu/page-test, pays} />\r