v0.2.0 : choisir de fixer les images d'arrière plan dans la configuration + crédits Glyphicons

svn/root/tags/v0.2.15
chankalan@free.fr 9 years ago
parent 5aaf048f77
commit 2511cb42ec

@ -71,8 +71,16 @@ a:focus,
[(#REM) styles issus de la programmation ]
<BOUCLE_rubriques(RUBRIQUES)>
[.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)]
}]
</BOUCLE_rubriques>
<BOUCLE_articles(ARTICLES)>
[#(#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)]
}]
</BOUCLE_articles>

@ -22,6 +22,16 @@
<input type="color" name="#GET{name}" class="palette" value="[(#ENV*{#GET{name}})]" id="#GET{name}" />
<p class="explication">[(#GET{cc}|concat{':explication_',#GET{name}}|_T)]</p>
</li>
#SET{name,backgroundimagefixed}
<li class="editer editer_[(#GET{name})]">
<label>[(#GET{cc}|concat{':label_',#GET{name}}|_T)]</label>
#SET{val,oui}
<div class="choix">
<input type="checkbox" name="#GET{name}" class="checkbox" id="#GET{name}_#GET{val}" value="#GET{val}"[(#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:oui:></label>
<p class="explication">[(#GET{cc}|concat{':explication_',#GET{name}}|_T)]</p>
</div>
</li>
#SET{name,color}
<li class="editer editer_[(#GET{name})]">
<label for="#GET{name}">[(#GET{cc}|concat{':label_',#GET{name}}|_T)]</label>

@ -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 :',

@ -1,7 +1,7 @@
<paquet
prefix="moulinette"
categorie="squelette"
version="0.1.1"
version="0.2.0"
etat="dev"
compatibilite="[3.1.0-alpha;3.1.*["
logo="prive/themes/spip/images/moulinette-32.png"
@ -18,6 +18,7 @@
<credit lien='http://getbootstrap.com/'>Bootstrap v3.3.0</credit>
<credit lien='https://github.com/IronSummitMedia/startbootstrap-grayscale'>Grayscale par Startbootstrap</credit>
<credit lien='http://glyphicons.com/'>Glyphicons</credit>
<necessite nom="Zcore" compatibilite="[2.3.0;[" />
<necessite nom="comments" compatibilite="];[" />

Loading…
Cancel
Save