forked from ZwiiCMS-Team/ZwiiCMS
dev22 : couleur par défaut après eff image header
This commit is contained in:
parent
98b3df44c1
commit
b91b8331c7
@ -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',
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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', [
|
||||
|
Loading…
Reference in New Issue
Block a user