[10.0.86.dev] merge master
This commit is contained in:
commit
4f97509e0d
@ -43,6 +43,7 @@
|
|||||||
- Modifications :
|
- Modifications :
|
||||||
- Thème, bannière : nouvelle option de hauteur calculée à partir de la dimension de l'image sélectionnée.
|
- Thème, bannière : nouvelle option de hauteur calculée à partir de la dimension de l'image sélectionnée.
|
||||||
- Thème, bannière : informations sur l'image sélectionnée (largeur et hauteur).
|
- Thème, bannière : informations sur l'image sélectionnée (largeur et hauteur).
|
||||||
|
- Thème, pied de page : réactivation de l'aperçu.
|
||||||
- Corrections :
|
- Corrections :
|
||||||
- Thème, bannière : problème empêchant la bannière d'être cliquable lorsque la hauteur "responsive" de la bannière était sélectionnée.
|
- Thème, bannière : problème empêchant la bannière d'être cliquable lorsque la hauteur "responsive" de la bannière était sélectionnée.
|
||||||
- Mise à jour :
|
- Mise à jour :
|
||||||
@ -51,7 +52,7 @@
|
|||||||
## version 9.2.09
|
## version 9.2.09
|
||||||
- Corrections :
|
- Corrections :
|
||||||
- Module Formulaire, erreur lors de l'envoi d'un premier formulaire
|
- Module Formulaire, erreur lors de l'envoi d'un premier formulaire
|
||||||
- Thème Footer , désactivation de l'aperçu du texte personnalisé
|
- Thème Pied de page , désactivation de l'aperçu du texte personnalisé
|
||||||
|
|
||||||
## Version 9.2.08
|
## Version 9.2.08
|
||||||
- Correction :
|
- Correction :
|
||||||
|
@ -31,7 +31,7 @@ class common {
|
|||||||
const TEMP_DIR = 'site/tmp/';
|
const TEMP_DIR = 'site/tmp/';
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.0.85.dev';
|
const ZWII_VERSION = '10.0.86.dev';
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
public static $coreModuleIds = [
|
public static $coreModuleIds = [
|
||||||
@ -1321,7 +1321,7 @@ class core extends common {
|
|||||||
// Pied de page
|
// Pied de page
|
||||||
$colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor']));
|
$colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor']));
|
||||||
if($this->getData(['theme', 'footer', 'margin'])) {
|
if($this->getData(['theme', 'footer', 'margin'])) {
|
||||||
$css .= 'footer{margin:0 10px 10px;padding: 0px 10px;}';
|
$css .= 'footer{margin: 10px;padding: 10px;}';
|
||||||
} else {
|
} else {
|
||||||
$css .= 'footer{margin:0;padding:0}';
|
$css .= 'footer{margin:0;padding:0}';
|
||||||
}
|
}
|
||||||
@ -1329,10 +1329,6 @@ class core extends common {
|
|||||||
$css .= 'footer{background-color:' . $colors['normal'] . ';color:' . $this->getData(['theme', 'footer', 'textColor']) . '}';
|
$css .= 'footer{background-color:' . $colors['normal'] . ';color:' . $this->getData(['theme', 'footer', 'textColor']) . '}';
|
||||||
$css .= 'footer a{color:' . $this->getData(['theme', 'footer', 'textColor']) . '}';
|
$css .= 'footer a{color:' . $this->getData(['theme', 'footer', 'textColor']) . '}';
|
||||||
$css .= 'footer #footersite > div {margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
$css .= 'footer #footersite > div {margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||||
$css .= 'footer #footerbody > div {margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
|
||||||
$css .= "footer #footersite > div {padding:0}";
|
|
||||||
$css .= "footer #footerbody > div {padding:0}";
|
|
||||||
$css .= '#footerFontText > p {margin-top: 0; margin-bottom: 0;}';
|
|
||||||
$css .= '#footerSocials{text-align:' . $this->getData(['theme', 'footer', 'socialsAlign']) . '}';
|
$css .= '#footerSocials{text-align:' . $this->getData(['theme', 'footer', 'socialsAlign']) . '}';
|
||||||
$css .= '#footerText{text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}';
|
$css .= '#footerText{text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}';
|
||||||
$css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}';
|
$css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}';
|
||||||
|
@ -666,6 +666,20 @@ footer {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer #footerbody > div {
|
||||||
|
margin: 0
|
||||||
|
}
|
||||||
|
footer #footersite > div {
|
||||||
|
padding:0
|
||||||
|
}
|
||||||
|
footer #footerbody > div {
|
||||||
|
padding:0
|
||||||
|
}
|
||||||
|
#footerFontText > p {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#footerLoginLink,
|
#footerLoginLink,
|
||||||
#footerDisplayCopyright,
|
#footerDisplayCopyright,
|
||||||
#footerDisplayVersion,
|
#footerDisplayVersion,
|
||||||
|
@ -26,10 +26,7 @@ $("input, select").on("change", function() {
|
|||||||
css += "footer a{color:" + textColor + "}";
|
css += "footer a{color:" + textColor + "}";
|
||||||
// Hauteur du pied de page
|
// Hauteur du pied de page
|
||||||
//css += "#footersiteLeft, #footersiteCenter, #footersiteRight, #footerbodyLeft, #footerbodyCenter, #footerbodyRight {margin:" + $("#themeFooterHeight").val() + " 0}";
|
//css += "#footersiteLeft, #footersiteCenter, #footersiteRight, #footerbodyLeft, #footerbodyCenter, #footerbodyRight {margin:" + $("#themeFooterHeight").val() + " 0}";
|
||||||
css += "footer #footersite > div{padding:0}";
|
css += "footer #footersite > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
||||||
css += "footer #footersite > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
|
||||||
css += "footer #footerbody > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
|
||||||
css += "footer #footerbody > div{padding:0}";
|
|
||||||
// Alignement du contenu
|
// Alignement du contenu
|
||||||
css += "#footerSocials{text-align:" + $("#themeFooterSocialsAlign").val() + "}";
|
css += "#footerSocials{text-align:" + $("#themeFooterSocialsAlign").val() + "}";
|
||||||
css += "#footerText{text-align:" + $("#themeFooterTextAlign").val() + "}";
|
css += "#footerText{text-align:" + $("#themeFooterTextAlign").val() + "}";
|
||||||
@ -38,7 +35,7 @@ $("input, select").on("change", function() {
|
|||||||
css += "footer span{color:" + $("#themeFooterTextColor").val() + ";font-family:'" + footerFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeFooterFontWeight").val() + ";font-size:" + $("#themeFooterFontSize").val() + ";text-transform:" + $("#themeFooterTextTransform").val() + "}";
|
css += "footer span{color:" + $("#themeFooterTextColor").val() + ";font-family:'" + footerFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeFooterFontWeight").val() + ";font-size:" + $("#themeFooterFontSize").val() + ";text-transform:" + $("#themeFooterTextTransform").val() + "}";
|
||||||
// Marge
|
// Marge
|
||||||
if($("#themeFooterMargin").is(":checked")) {
|
if($("#themeFooterMargin").is(":checked")) {
|
||||||
css += 'footer{margin:0 10px 10px;padding: 0px 10px;}';
|
css += 'footer{margin: 10px;padding: 10px;}';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
css += 'footer{margin:0;padding:0}';
|
css += 'footer{margin:0;padding:0}';
|
||||||
@ -261,6 +258,7 @@ $("#themeFooterDisplaySearch").on("change", function() {
|
|||||||
}
|
}
|
||||||
}).trigger("change");
|
}).trigger("change");
|
||||||
|
|
||||||
|
/*
|
||||||
// Affiche / Cache les options de la position
|
// Affiche / Cache les options de la position
|
||||||
$("#themeFooterPosition").on("change", function() {
|
$("#themeFooterPosition").on("change", function() {
|
||||||
if($(this).val() === 'site') {
|
if($(this).val() === 'site') {
|
||||||
@ -272,3 +270,4 @@ $("#themeFooterPosition").on("change", function() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}).trigger("change");
|
}).trigger("change");
|
||||||
|
*/
|
||||||
|
@ -189,12 +189,12 @@
|
|||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col6">
|
<div class="col6">
|
||||||
<div id="themeFooterPositionOptions" class="displayNone">
|
<div id="themeFooterPositionOptions">
|
||||||
<?php echo template::checkbox('themeFooterMargin', true, 'Aligner le bas de page avec le contenu', [
|
<?php echo template::checkbox('themeFooterMargin', true, 'Alignement sur les marges', [
|
||||||
'checked' => $this->getData(['theme', 'footer', 'margin'])
|
'checked' => $this->getData(['theme', 'footer', 'margin'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
10
core/vendor/tinymce/init.js
vendored
10
core/vendor/tinymce/init.js
vendored
@ -5,11 +5,11 @@ tinymce.init({
|
|||||||
// Classe où appliquer l'éditeur
|
// Classe où appliquer l'éditeur
|
||||||
selector: ".editorWysiwyg",
|
selector: ".editorWysiwyg",
|
||||||
// Aperçu dans le pied de page
|
// Aperçu dans le pied de page
|
||||||
// setup:function(ed) {
|
setup:function(ed) {
|
||||||
// ed.on('change', function(e) {
|
ed.on('change', function(e) {
|
||||||
// $("#footerText").html(ed.getContent());
|
$("#footerText").html(tinyMCE.get('themeFooterText').getContent());
|
||||||
// });
|
});
|
||||||
//},
|
},
|
||||||
// Langue
|
// Langue
|
||||||
language: "fr_FR",
|
language: "fr_FR",
|
||||||
// Plugins
|
// Plugins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user