diff --git a/core/core.php b/core/core.php index d6f40cb5..7394fcb9 100644 --- a/core/core.php +++ b/core/core.php @@ -1006,16 +1006,16 @@ class core extends common { $css .= ';height: 0; padding-top:'; $css .= ( $sizes[1] / $sizes[0] )* 100; $css .= '%'; - } else { + //} else { // Le fichier n'existe plus // largeur par défaut - $css .= ';height: 150px;'; + // $css .= ';height: 150px; line-height: 150px;'; } } else { // Valeur de hauteur traditionnelle - $css .= ';height:' . $this->getData(['theme', 'header', 'height']); + $css .= ';height:' . $this->getData(['theme', 'header', 'height']) . ';line-height:' . $this->getData(['theme', 'header', 'height']) ; } - $css .= ';line-height:' . $this->getData(['theme', 'header', 'height']) . ';text-align:' . $this->getData(['theme', 'header', 'textAlign']) . '}'; + $css .= ';text-align:' . $this->getData(['theme', 'header', 'textAlign']) . '}'; if($themeHeaderImage = $this->getData(['theme', 'header', 'image'])) { $css .= 'header{background-image:url("../file/source/' . $themeHeaderImage . '");background-position:' . $this->getData(['theme', 'header', 'imagePosition']) . ';background-repeat:' . $this->getData(['theme', 'header', 'imageRepeat']) . '}'; } @@ -1888,14 +1888,14 @@ class layout extends common { * Affiche le copyright */ public function showCopyright() { - // Bloc copyright + // Ouverture Bloc copyright $items = '