forked from ZwiiCMS-Team/ZwiiCMS
Merge branch 'master' into dev10
This commit is contained in:
commit
c645dbe79c
@ -24,6 +24,7 @@
|
|||||||
## version 9.2.17
|
## version 9.2.17
|
||||||
- Corrections :
|
- Corrections :
|
||||||
- Affiche le nom du la page plutôt que son id dans le fil d'ariane.
|
- Affiche le nom du la page plutôt que son id dans le fil d'ariane.
|
||||||
|
- Conformité balise p dans span.
|
||||||
- Petites corrections.
|
- Petites corrections.
|
||||||
- Modifications :
|
- Modifications :
|
||||||
- Image du fond (body), options responsive cover et contain.
|
- Image du fond (body), options responsive cover et contain.
|
||||||
|
@ -1220,13 +1220,13 @@ class core extends common {
|
|||||||
} else {
|
} else {
|
||||||
$css .= 'footer{padding:0}';
|
$css .= 'footer{padding:0}';
|
||||||
}
|
}
|
||||||
$css .= 'footer span{color:' . $this->getData(['theme', 'footer', 'textColor']) . ';font-family:"' . str_replace('+', ' ', $this->getData(['theme', 'footer', 'font'])) . '",sans-serif;font-weight:' . $this->getData(['theme', 'footer', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'footer', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'footer', 'textTransform']) . '}';
|
$css .= 'footer span, #footerText > p {color:' . $this->getData(['theme', 'footer', 'textColor']) . ';font-family:"' . str_replace('+', ' ', $this->getData(['theme', 'footer', 'font'])) . '",sans-serif;font-weight:' . $this->getData(['theme', 'footer', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'footer', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'footer', 'textTransform']) . '}';
|
||||||
$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 #footerbody > div {margin:' . $this->getData(['theme', 'footer', 'height']) . ' 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 > p {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']) . '}';
|
||||||
// Enregistre la personnalisation
|
// Enregistre la personnalisation
|
||||||
file_put_contents(self::DATA_DIR.'theme.css', $css);
|
file_put_contents(self::DATA_DIR.'theme.css', $css);
|
||||||
@ -1701,7 +1701,7 @@ class layout extends common {
|
|||||||
*/
|
*/
|
||||||
public function showFooterText() {
|
public function showFooterText() {
|
||||||
if($footerText = $this->getData(['theme', 'footer', 'text']) OR $this->getUrl(0) === 'theme') {
|
if($footerText = $this->getData(['theme', 'footer', 'text']) OR $this->getUrl(0) === 'theme') {
|
||||||
echo '<div id="footerText"><span id="footerFontText">' . nl2br($footerText) . '</span></div>';
|
echo '<div id="footerText">' . nl2br($footerText) . '</div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -612,7 +612,7 @@ footer #footersite > div {
|
|||||||
footer #footerbody > div {
|
footer #footerbody > div {
|
||||||
padding:0
|
padding:0
|
||||||
}
|
}
|
||||||
#footerFontText > p {
|
#footerFont > p {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
@ -30,10 +30,10 @@ $("input, select").on("change", function() {
|
|||||||
css += "footer #footerbody > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
css += "footer #footerbody > div{margin:" + $("#themeFooterHeight").val() + " 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 > p {text-align:" + $("#themeFooterTextAlign").val() + "}";
|
||||||
css += "#footerCopyright{text-align:" + $("#themeFooterCopyrightAlign").val() + "}";
|
css += "#footerCopyright{text-align:" + $("#themeFooterCopyrightAlign").val() + "}";
|
||||||
// Taille, couleur, épaisseur et capitalisation du titre de la bannière
|
// Taille, couleur, épaisseur et capitalisation du titre de la bannière
|
||||||
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, #footerText > p {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{padding: 0 20px;}';
|
css += 'footer{padding: 0 20px;}';
|
||||||
@ -65,8 +65,8 @@ $("input, select").on("change", function() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Réduire la marge du paragraphe de la zone de texte enrichie
|
// Réduire la marge du paragraphe de la zone de texte enrichie
|
||||||
$("#footerFontText > p").css("margin-top","0");
|
$("#footerText > p").css("margin-top","0");
|
||||||
$("#footerFontText > p").css("margin-bottom","0");
|
$("#footerText > p").css("margin-bottom","0");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user