dev22 : couleur par défaut après eff image header

This commit is contained in:
fredtempez 2019-02-27 20:14:50 +01:00
parent 98b3df44c1
commit b91b8331c7
3 changed files with 7 additions and 3 deletions

View File

@ -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',

View File

@ -95,6 +95,7 @@ $("input, select").on("change", function() {
$("#themeHeaderImage").on("change", function() {
if($("#themeHeaderImage").val()) {
$("#themeHeaderBackgroundColorWrapper").slideUp();
$("#themeHeaderBackgroundColor").val($("#themeHeaderBackgroundColor").val());
} else {
$("#themeHeaderBackgroundColorWrapper").slideDown();
}

View File

@ -1,4 +1,7 @@
<?php echo template::formOpen('themeHeaderForm'); ?>
<?php echo template::hidden('themeSiteBackgrounColor', [
'value' => $this->getData(['theme', 'site', 'backgroundColor'])
]); ?>
<div class="row">
<div class="col2">
<?php echo template::button('themeHeaderBack', [