Renommage pipeline header_prive
authorLudovic CHEVALIER <l.chevalier@lespetitsdebrouillards-ra.org>
Mon, 28 Nov 2011 22:34:06 +0000 (23:34 +0100)
committerLudovic CHEVALIER <l.chevalier@lespetitsdebrouillards-ra.org>
Mon, 28 Nov 2011 22:34:06 +0000 (23:34 +0100)
carte_de_sites_pipelines.php
plugin.xml

index 18ac8d3..b343780 100644 (file)
@@ -4,7 +4,7 @@ function carte_de_sites_insert_head($flux){
        $flux .= "<!--[if lte IE 8]><link rel='stylesheet' href='".url_de_base()."lib/CloudMade-Leaflet-404b097/dist/leaflet.ie.css' /><![endif]-->\n"."\n\n";
        return $flux;
 }
        $flux .= "<!--[if lte IE 8]><link rel='stylesheet' href='".url_de_base()."lib/CloudMade-Leaflet-404b097/dist/leaflet.ie.css' /><![endif]-->\n"."\n\n";
        return $flux;
 }
-function carte_de_sites_header_prive($flux){
+function carte_de_sites_inserer_header_prive($flux){
        $flux .= "<link rel='stylesheet' href='".url_de_base()."lib/CloudMade-Leaflet-404b097/dist/leaflet.css' />"."\n";
        $flux .= "<!--[if lte IE 8]><link rel='stylesheet' href='".url_de_base()."lib/CloudMade-Leaflet-404b097/dist/leaflet.ie.css' /><![endif]-->\n"."\n\n";
        return $flux;
        $flux .= "<link rel='stylesheet' href='".url_de_base()."lib/CloudMade-Leaflet-404b097/dist/leaflet.css' />"."\n";
        $flux .= "<!--[if lte IE 8]><link rel='stylesheet' href='".url_de_base()."lib/CloudMade-Leaflet-404b097/dist/leaflet.ie.css' /><![endif]-->\n"."\n\n";
        return $flux;
index 6d39fe0..ba0036a 100644 (file)
         id="lib:CloudMade-Leaflet-404b097"
         src="https://nodeload.github.com/CloudMade/Leaflet/zipball/v0.2.1"
     />
         id="lib:CloudMade-Leaflet-404b097"
         src="https://nodeload.github.com/CloudMade/Leaflet/zipball/v0.2.1"
     />
-    <pipeline>\r
-               <nom>insert_head</nom>\r
-               <inclure>carte_de_sites_pipelines.php</inclure>\r
+    <pipeline>
+               <nom>insert_head</nom>
+               <inclure>carte_de_sites_pipelines.php</inclure>
        </pipeline>
        </pipeline>
-       <pipeline>\r
+       <pipeline>
                <nom>header_prive</nom>
                <nom>header_prive</nom>
-               <inclure>carte_de_sites_pipelines.php</inclure>\r
+               <action>inserer_header_prive</action>
+               <inclure>carte_de_sites_pipelines.php</inclure>
        </pipeline>
 </plugin>
        </pipeline>
 </plugin>