|
|
|
@ -45,7 +45,7 @@ class common {
|
|
|
|
|
|
|
|
|
|
// Numéro de version |
|
|
|
|
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; |
|
|
|
|
const ZWII_VERSION = '11.3.04'; |
|
|
|
|
const ZWII_VERSION = '11.3.05'; |
|
|
|
|
const ZWII_UPDATE_CHANNEL = "v11"; |
|
|
|
|
|
|
|
|
|
public static $actions = []; |
|
|
|
@ -2521,10 +2521,15 @@ class core extends common {
|
|
|
|
|
$css .= '#footerText > p {text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}'; |
|
|
|
|
$css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}'; |
|
|
|
|
|
|
|
|
|
// Enregistre les fontes |
|
|
|
|
if (!is_dir(self::DATA_DIR . 'fonts')) { |
|
|
|
|
mkdir(self::DATA_DIR . 'fonts'); |
|
|
|
|
} |
|
|
|
|
file_put_contents(self::DATA_DIR . 'fonts/fonts.html', $fontFile, ); |
|
|
|
|
|
|
|
|
|
// Enregistre la personnalisation |
|
|
|
|
file_put_contents(self::DATA_DIR.'theme.css', $css); |
|
|
|
|
file_put_contents(self::DATA_DIR.'fonts/fonts.html', $fontFile); |
|
|
|
|
|
|
|
|
|
// Effacer le cache pour tenir compte de la couleur de fond TinyMCE |
|
|
|
|
header("Expires: Tue, 01 Jan 2000 00:00:00 GMT"); |
|
|
|
|
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); |
|
|
|
|