diff --git a/core/core.php b/core/core.php index 31291609..38e7bf5e 100644 --- a/core/core.php +++ b/core/core.php @@ -1197,7 +1197,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']) . '}'; diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 74195f0e..de2ce3d8 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 @@ -58,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'],