diff --git a/.gitattributes b/.gitattributes index f68ff40daa84fe14b290c8c3d160347196eb4d2f..fdd6ed9a6ef3467872f9d40abc3c24867f95da61 100644 --- a/.gitattributes +++ b/.gitattributes @@ -375,6 +375,7 @@ lang/soyezcreateurs_it.php -text lang/soyezcreateurs_nl.php -text lang/soyezcreateurs_sk.php -text lang/soyezcreateurs_uk.php -text +lang/soyezcreateursprive_fr.php -text /layout.css.html -text /lettre_info.html -text /lettre_info_txt.html -text diff --git a/formulaires/configurer_soyezcreateurs_couleurs.html b/formulaires/configurer_soyezcreateurs_couleurs.html index 17ef50c5d6a102c292b2ad893f07cacada209605..80b58de6c46483421d2150167e355bb94cb3005d 100755 --- a/formulaires/configurer_soyezcreateurs_couleurs.html +++ b/formulaires/configurer_soyezcreateurs_couleurs.html @@ -251,6 +251,34 @@ <p class="boutons"> <input type="submit" name="enregistrer" value="<:bouton_enregistrer|attribut_html:>" /> </p> + <fieldset> + <h3 class="legend"><:soyezcreateursprive:cfg_ombres:></h3> + <p><:soyezcreateursprive:cfg_ombres_explications:></p> + <table style="width:100%;"> + <tbody> + <th><:soyezcreateursprive:cfg_zone:></th> + <th><:soyezcreateursprive:cfg_couleur:></th> + <th><:soyezcreateursprive:cfg_transparence:></th> + <th><:soyezcreateursprive:cfg_parametres:></th> + <th style="width:50%"><:soyezcreateurs:cfg_exemple_rendu:></th> + <th><:soyezcreateursprive:cfg_ombrenon:></th> + </tr> + <tr>#SET{valeur,#ENV{ombrepagenon}|is_null|?{on,#ENV{ombrepagenon}}} + <th><:soyezcreateurs:cfg_page:></th> + <INCLURE{fond=formulaires/inc/config_couleurs, + color=#ENV{ombrepagecouleur,#aaaaaa},nobk=oui,nosample=oui, + name=ombrepagecouleur}> + <td><input type="text" name="ombrepagetransparence" value="#ENV{ombrepagetransparence,1}" id="sc_ombrepagetransparence" size="4" class="fondl" /></td> + <td><input type="text" name="ombrepageparametres" value="#ENV{ombrepageparametres,0px 0px 10px 0px}" id="sc_ombrepageparametres" size="20" class="fondl" /></td> + <td style="[background-color:(#ENV{body_bk,#eceded});]"><div style="height:3em;[color:(#ENV{container,#02265a});][background-color:(#ENV{container_bk,#f6f6f6});][(#ENV{transparencecontent,1}|!={1}|oui)background-color: rgba([(#ENV{container_bk,#f6f6f6}|sc_rgb)], #ENV{transparencecontent,1});]margin: 1em; [(#GET{valeur}|=={on}|non)-webkit-box-shadow: [(#ENV{ombrepageparametres,0px 0px 10px 0px})] rgba([(#ENV{ombrepagecouleur,#aaaaaa}|sc_rgb)], #ENV{ombrepagetransparence,1}); -moz-box-shadow: [(#ENV{ombrepageparametres,0px 0px 10px 0px})] rgba([(#ENV{ombrepagecouleur,#aaaaaa}|sc_rgb)], #ENV{ombrepagetransparence,1}); box-shadow: [(#ENV{ombrepageparametres,0px 0px 10px 0px})] rgba([(#ENV{ombrepagecouleur,#aaaaaa}|sc_rgb)], #ENV{ombrepagetransparence,1});]"><:soyezcreateurs:cfg_exemple:> #ENV{transparencecontent,1}</div></td> + <td><div class="choix"><input type="hidden" name="ombrepagenon" value="" /><input type="checkbox" name="ombrepagenon" class="checkbox" id='champ_ombrepagenon'[ (#GET{valeur}|=={on}|oui)checked='checked'] value='on' /><label for="champ_ombrepagenon"><:ecrire:item_non:></label></div></td> + </tr> + </tbody> + </table> + </fieldset> + <p class="boutons"> + <input type="submit" name="enregistrer" value="<:bouton_enregistrer|attribut_html:>" /> + </p> <fieldset> <h3 class="legend"><:soyezcreateurs:cfg_couleurs_css_lettre:></h3> <table style="width:100%;"> diff --git a/formulaires/inc/config_couleurs.html b/formulaires/inc/config_couleurs.html index 2ea10d838eabe3b2dd4dc1b30c3e26e07c527177..bb452ceb4df31e565877e135929ff333d16942b6 100644 --- a/formulaires/inc/config_couleurs.html +++ b/formulaires/inc/config_couleurs.html @@ -3,7 +3,7 @@ <td> [(#ENV{color}|oui)<input type="text" name="#ENV{name}" id="sc_#ENV{name}" value="#ENV{color}" size="7" class="fondl[ (#ENV{color}|!={transparent}|?{palette})]" />] </td> - <td> + [(#ENV{nobk}|non)<td> [(#ENV{color_bk}|oui)<input type="text" name="#ENV{name}_bk" id="sc_#ENV{name}_bk" value="#ENV{color_bk}" size="7" class="fondl[ (#ENV{color_bk}|!={transparent}|?{palette})]" />] - </td> - <td style="[color:(#GET{color})];[background-color:(#GET{color_bk})]"><:soyezcreateurs:cfg_exemple:></td> \ No newline at end of file + </td>] + [(#ENV{nosample}|non)<td style="[color:(#GET{color})];[background-color:(#GET{color_bk})]"><:soyezcreateurs:cfg_exemple:></td>] \ No newline at end of file diff --git a/lang/soyezcreateursprive_fr.php b/lang/soyezcreateursprive_fr.php new file mode 100644 index 0000000000000000000000000000000000000000..d22d4ecd57f4c87a546e5a99deb307c5667e3e4a --- /dev/null +++ b/lang/soyezcreateursprive_fr.php @@ -0,0 +1,18 @@ +<?php +// This is a SPIP language file -- Ceci est un fichier langue de SPIP +// Fichier source, a modifier dans svn://zone.spip.org/spip-zone/_squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/lang/ +if (!defined('_ECRIRE_INC_VERSION')) return; + +$GLOBALS[$GLOBALS['idx_lang']] = array( + + 'cfg_ombres' => 'Réglage des ombres du site', + 'cfg_ombres_explications' => 'Explication sur les <a href="http://www.cssmatic.com/box-shadow" target="_blank">réglages et expérimetation</a>.', + 'cfg_zone' => 'Zone', + 'cfg_transparence' => 'Transparence', + 'cfg_parametres' => 'Paramètres', + 'cfg_ombrenon' => 'Ombre', + 'cfg_couleur' => 'Couleur' + +); + +?> diff --git a/soyezcreateurs_options.php b/soyezcreateurs_options.php index 529a78450b8f732c3d531a19e739367b56c2ca05..8a5b6e7626698c7df3ca4e02585f50431d1830e7 100644 --- a/soyezcreateurs_options.php +++ b/soyezcreateurs_options.php @@ -26,7 +26,7 @@ if (!defined('_AUTOBR')) define('_AUTOBR', ''); // cf http://www.spip.net/fr_article5427.html (TextWheel) // Recalculer le cache si la config du site change -$GLOBALS['marqueur'] .= ":".md5($GLOBALS['meta']['boutonstexte'].$GLOBALS['meta']['btv2'].$GLOBALS['meta']['soyezcreateurs_couleurs'].$GLOBALS['meta']['soyezcreateurs_layout'].$GLOBALS['meta']['soyezcreateurs'].$GLOBALS['meta']['soyezcreateurs_google'].$GLOBALS['meta']['bte'].$GLOBALS['meta']['nom_site'].$GLOBALS['meta']['slogan_site'].$GLOBALS['meta']['descriptif_site'].$GLOBALS['meta']['email_webmaster']); // Sur un conseil de Cedric : http://permalink.gmane.org/gmane.comp.web.spip.zone/6258 +$GLOBALS['marqueur'] .= ":sc".md5($GLOBALS['meta']['boutonstexte'].$GLOBALS['meta']['btv2'].$GLOBALS['meta']['soyezcreateurs_couleurs'].$GLOBALS['meta']['soyezcreateurs_layout'].$GLOBALS['meta']['soyezcreateurs'].$GLOBALS['meta']['soyezcreateurs_google'].$GLOBALS['meta']['bte'].$GLOBALS['meta']['nom_site'].$GLOBALS['meta']['slogan_site'].$GLOBALS['meta']['descriptif_site'].$GLOBALS['meta']['email_webmaster']); // Sur un conseil de Cedric : http://permalink.gmane.org/gmane.comp.web.spip.zone/6258 if (!defined('_TRI_GROUPES_MOTS')) define('_TRI_GROUPES_MOTS', '0+titre,titre'); // cf http://trac.rezo.net/trac/spip/changeset/14712 if (!defined('_DUREE_CACHE_DEFAUT')) diff --git a/stylessoyezcreateurs.css.html b/stylessoyezcreateurs.css.html index 4d20495d1e52a6bafe883fba14a40700bb80e18e..7df9ce71a18d0e47503cab9f25beb652a4dcae71 100644 --- a/stylessoyezcreateurs.css.html +++ b/stylessoyezcreateurs.css.html @@ -188,7 +188,7 @@ a:active { color: #GET{c_active}; } .retourtop { clear: both; padding: 1.5em 1em 2em; font-style: italic; text-align: right; } /*************** STRUCTURE - GENERAL */ -#shadow { margin: 3em 0; -webkit-box-shadow: 0px 0px 10px #aaa; -moz-box-shadow: 0px 0px 10px #aaa; box-shadow: 0px 0px 10px #aaa; } +#shadow { margin: 3em 0; [(#CONFIG{soyezcreateurs_couleurs/ombrepagenon}|non)-webkit-box-shadow: [(#CONFIG{soyezcreateurs_couleurs/ombrepageparametres,0px 0px 10px 0px})] rgba([(#CONFIG{soyezcreateurs_couleurs/ombrepagecouleur,#aaaaaa}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/ombrepagetransparence,1}); -moz-box-shadow: [(#CONFIG{soyezcreateurs_couleurs/ombrepageparametres,0px 0px 10px 0px})] rgba([(#CONFIG{soyezcreateurs_couleurs/ombrepagecouleur,#aaaaaa}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/ombrepagetransparence,1}); box-shadow: [(#CONFIG{soyezcreateurs_couleurs/ombrepageparametres,0px 0px 10px 0px})] rgba([(#CONFIG{soyezcreateurs_couleurs/ombrepagecouleur,#aaaaaa}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/ombrepagetransparence,1});] } #container { background-color: #GET{c_container_bk};[(#CONFIG{soyezcreateurs_couleurs/transparencecontent,1}|!={1}|oui)background-color: rgba([(#GET{c_container_bk}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/transparencecontent,1});] color: #GET{c_container}; } #clearbottom { height: 0; } /* tooltip */