From 2511cb42ec77f5f4f5badba5e92668932f218485 Mon Sep 17 00:00:00 2001 From: "chankalan@free.fr" <> Date: Thu, 18 Dec 2014 08:50:37 +0000 Subject: [PATCH] =?UTF-8?q?v0.2.0=20:=20choisir=20de=20fixer=20les=20image?= =?UTF-8?q?s=20d'arri=C3=A8re=20plan=20dans=20la=20configuration=20+=20cr?= =?UTF-8?q?=C3=A9dits=20Glyphicons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/moulinette.css.html | 12 ++++++++++-- formulaires/configurer_moulinette.html | 10 ++++++++++ lang/moulinette_fr.php | 2 ++ paquet.xml | 3 ++- 4 files changed, 24 insertions(+), 3 deletions(-) diff --git a/css/moulinette.css.html b/css/moulinette.css.html index f6ff6ce..1d31bb2 100644 --- a/css/moulinette.css.html +++ b/css/moulinette.css.html @@ -71,8 +71,16 @@ a:focus, [(#REM) styles issus de la programmation ] -[.header-(#ID_RUBRIQUE) {[ background-image:url('(#LOGO_RUBRIQUE|image_reduire{2000,*}|image_aplatir{jpg,ffffff,80}|extraire_attribut{src})');][ background-color:(#COULEUR);] }] +[.header-(#ID_RUBRIQUE) { + [ background-image:url('(#LOGO_RUBRIQUE|image_reduire{2000,*}|image_aplatir{jpg,ffffff,80}|extraire_attribut{src})');] + [ background-color:(#COULEUR);] + [background-attachment:fixed; (#CONFIG{moulinette/backgroundimagefixed}|=={oui}|oui)] +}] -[#(#TITRE|title2anchor{#ID_ARTICLE}) {[ background-image:url('(#LOGO_ARTICLE|image_reduire{2000,*}|image_aplatir{jpg,ffffff,80}|extraire_attribut{src})');][ background-color:(#COULEUR);] }] +[#(#TITRE|title2anchor{#ID_ARTICLE}) { + [ background-image:url('(#LOGO_ARTICLE|image_reduire{2000,*}|image_aplatir{jpg,ffffff,80}|extraire_attribut{src})');] + [ background-color:(#COULEUR);] + [background-attachment:fixed; (#CONFIG{moulinette/backgroundimagefixed}|=={oui}|oui)] +}] \ No newline at end of file diff --git a/formulaires/configurer_moulinette.html b/formulaires/configurer_moulinette.html index 4f3107d..ac0bb15 100644 --- a/formulaires/configurer_moulinette.html +++ b/formulaires/configurer_moulinette.html @@ -22,6 +22,16 @@

[(#GET{cc}|concat{':explication_',#GET{name}}|_T)]

+ #SET{name,backgroundimagefixed} +
  • + + #SET{val,oui} +
    + + +

    [(#GET{cc}|concat{':explication_',#GET{name}}|_T)]

    +
    +
  • #SET{name,color}
  • diff --git a/lang/moulinette_fr.php b/lang/moulinette_fr.php index f2aa222..f845a8f 100644 --- a/lang/moulinette_fr.php +++ b/lang/moulinette_fr.php @@ -15,6 +15,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // E 'explication_accueil' => 'Renseignez ici l\'identifiant de la rubrique qui sera l\'accueil du site.', 'explication_backgroundcolor' => 'Le code hexadécimal d\'une couleur pour le fond de page.', + 'explication_backgroundimagefixed' => 'Les logos de rubriques et d\'articles sont utilisés en image d\'arrière-plan. Si vous souhaitez fixer ces images dans la page, cochez la case ci-dessus.', 'explication_color' => 'Le code hexadécimal d\'une couleur pour le texte.', 'explication_colorlink' => 'Le code hexadécimal d\'une couleur pour les liens.', 'explication_colorlinkhover' => 'Le code hexadécimal d\'une couleur pour les liens au survol.', @@ -26,6 +27,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // L 'label_accueil' => 'Rubrique n° :', 'label_backgroundcolor' => 'Couleur de fond :', + 'label_backgroundimagefixed' => 'Fixer les images d\'arrière-plan :', 'label_color' => 'Couleur du texte :', 'label_colorlink' => 'Couleur des liens :', 'label_colorlinkhover' => 'Couleur des liens au survol :', diff --git a/paquet.xml b/paquet.xml index 00b65ed..b737564 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@ Bootstrap v3.3.0 Grayscale par Startbootstrap + Glyphicons