From f4902bfed7527dd9909b36ed018d15e0a9785d9d Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 28 Mar 2020 19:31:22 +0100 Subject: [PATCH 1/3] [9.3.00] nettoyage --- module/gallery/gallery.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index b1c3b30a..be7a0b02 100644 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -44,8 +44,6 @@ class gallery extends common { public function config() { // Liste des galeries $galleries = $this->getData(['module', $this->getUrl(0)]); - $countGalleries = count($this->getData(['module',$this->getUrl(0)])); - if($galleries) { foreach($galleries as $galleryId => $gallery) { // Erreur dossier vide From 2f2f0c10d56f992f29f70860c168425b77029484 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 28 Mar 2020 19:32:52 +0100 Subject: [PATCH 2/3] [9.3.00] nettoyage --- module/gallery/gallery.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index be7a0b02..cf9c49e9 100644 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -56,9 +56,6 @@ class gallery extends common { else { $gallery['config']['directory'] = '' . $gallery['config']['directory'] . ' (dossier introuvable)'; } - // Ordre des galeries - // Element 0 chaine vide - $galeryOrder = range(1,count($this->getData(['module',$this->getUrl(0)]))); // Met en forme le tableau self::$galleries[] = [ $gallery['config']['name'], From cc9fa440522ba9e1a1191ad2406ecca65e959abc Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 30 Mar 2020 18:08:17 +0200 Subject: [PATCH 3/3] [9.3.0] Couleurs de fond des champs de formulaire --- core/core.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 84a496a7..a26026af 100644 --- a/core/core.php +++ b/core/core.php @@ -1179,7 +1179,8 @@ class core extends common { $css .= 'a{color:' . $colors['normal'] . '}'; $css .= 'a:hover{color:' . $colors['darken'] . '}'; $css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}'; - $css .= 'body,.block h4,input[type=\'email\'],input[type=\'text\'],input[type=\'password\'],.inputFile,select,textarea,.inputFile{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; + $css .= 'body,.block h4{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; + $css .= 'select,input[type=\'email\'],input[type=\'text\'],textarea{color:' . $this->getData(['theme', 'text', 'backgroundColor']) . '}'; // Couleur fixée dans admin.css //$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; $css .= '.container{max-width:' . $this->getData(['theme', 'site', 'width']) . '}';