From b91b8331c77f5254ac9c1bba1c8884be228eabd8 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 27 Feb 2019 20:14:50 +0100 Subject: [PATCH] =?UTF-8?q?dev22=20:=20couleur=20par=20d=C3=A9faut=20apr?= =?UTF-8?q?=C3=A8s=20eff=20image=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 4 ++-- core/module/theme/view/header/header.js.php | 3 ++- core/module/theme/view/header/header.php | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index 92e7a6d4..91f7504a 100644 --- a/core/core.php +++ b/core/core.php @@ -28,7 +28,7 @@ class common { const GROUP_ADMIN = 3; // Numéro de version de développement :/ // Désactive l'update auto - const ZWII_VERSION = '9.0.00-dev21'; + const ZWII_VERSION = '9.0.00-dev22'; // Numéro de version stable //const ZWII_VERSION = '9.0.00'; @@ -363,7 +363,7 @@ class common { 'user' => [], 'theme' => [ 'body' => [ - 'backgroundColor' => 'rgba(236, 239, 241, 1)', + 'backgroundColor' => '2(236, 239, 241, 1)', 'image' => '', 'imageAttachment' => 'scroll', 'imageRepeat' => 'no-repeat', diff --git a/core/module/theme/view/header/header.js.php b/core/module/theme/view/header/header.js.php index 949d353c..38a60ab1 100755 --- a/core/module/theme/view/header/header.js.php +++ b/core/module/theme/view/header/header.js.php @@ -94,7 +94,8 @@ $("input, select").on("change", function() { $("#themeHeaderImage").on("change", function() { if($("#themeHeaderImage").val()) { - $("#themeHeaderBackgroundColorWrapper").slideUp(); + $("#themeHeaderBackgroundColorWrapper").slideUp(); + $("#themeHeaderBackgroundColor").val($("#themeHeaderBackgroundColor").val()); } else { $("#themeHeaderBackgroundColorWrapper").slideDown(); } diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index 081d32e9..e5268579 100755 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -1,4 +1,7 @@ + $this->getData(['theme', 'site', 'backgroundColor']) + ]); ?>