commit bcd4ac8924dc2eda8e5cae1b19ae66aed2cc5c5a
parent 0012f6b57cfc59a3be4db549e593a2cd39facfc1
Author: Georges Dupéron <jahvascriptmaniac+github@free.fr>
Date: Fri, 30 Jul 2010 20:58:04 +0200
Création du CSS (très brouillon, TODO).
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/__cms__/modules/admin/couleurs.php b/__cms__/modules/admin/couleurs.php
@@ -33,6 +33,13 @@ function vue($chemin, $vue = "normal") {
$ret .= "<input ... Couleur C />";
$ret .= ...
return "Vue normale de la page.";
+ } else if ($vue == "css") {
+ // TODO : où mettre ce gen_css... ?
+ return Site::gen_css(array(
+ "Couleur_A" => Stockage::get_prop($chemin, "Coucleur_A"),
+ "Couleur_B" => Stockage::get_prop($chemin, "Coucleur_B"),
+ "Couleur_C" => Stockage::get_prop($chemin, "Coucleur_C")
+ ));
}
}