[CSS] +habillage
authorLudovic CHEVALIER <ludovic@beurresarrasin.net>
Thu, 15 Jan 2015 14:47:14 +0000 (15:47 +0100)
committerLudovic CHEVALIER <ludovic@beurresarrasin.net>
Thu, 15 Jan 2015 14:47:14 +0000 (15:47 +0100)
clavettes_pipelines.php [new file with mode: 0644]
css/habillage.css [new file with mode: 0644]
paquet.xml

diff --git a/clavettes_pipelines.php b/clavettes_pipelines.php
new file mode 100644 (file)
index 0000000..fdcfa0b
--- /dev/null
@@ -0,0 +1,6 @@
+<?php
+    function clavettes_insert_head($texte){
+        $texte .= '<link rel="stylesheet" type="text/css" href="'.find_in_path('css/habillage.css').'" media="all" />'."\n";
+        return $texte;
+    }
+?>
diff --git a/css/habillage.css b/css/habillage.css
new file mode 100644 (file)
index 0000000..e69de29
index 7c6fdaa..d9c0d31 100644 (file)
@@ -10,4 +10,5 @@
     <auteur lien="http://johangiraud.com">Johan GIRAUD</auteur>
     <licence>AGPL</licence>
     <copyright>2015</copyright>
+    <pipeline nom="insert_head" inclure="clavettes_pipelines.php"/>
 </paquet>