diff --git a/CHANGES.md b/CHANGES.md index c297283a..323068a6 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -20,8 +20,10 @@ - Thème : import d'un thème, d'administration impossible. - Thème : import d'un thème, nettoyage du dossier tmp. - Thème administration : modification de l'appel du code CSS permettant une mise à jour du thème sans vider le cache. + - Thème du menu : alignement inopérant. - Amélioration : - Mise en page du corps des mails de notification. + - Paramètres de localisation. - Mise à jour : - TinyMCE 4.9.11 diff --git a/core/core.php b/core/core.php index bd63087e..2e377157 100644 --- a/core/core.php +++ b/core/core.php @@ -1603,7 +1603,7 @@ class core extends common { } $css .= 'nav #burgerText{color:' . $colors['text'] . '}'; $css .= 'nav .navLevel1 a.active {border-radius:' . $this->getData(['theme', 'menu', 'radius']) . '}'; - $css .= '#menu{text-align:' . $this->getData(['theme', 'menu', 'textAlign']) . '}'; + $css .= '#menuLeft{float:' . $this->getData(['theme', 'menu', 'textAlign']) . '}'; if($this->getData(['theme', 'menu', 'margin'])) { if( $this->getData(['theme', 'menu', 'position']) === 'site-first' diff --git a/core/layout/blank.php b/core/layout/blank.php index 3627afda..5e1266fa 100644 --- a/core/layout/blank.php +++ b/core/layout/blank.php @@ -2,12 +2,12 @@ - + showMetaTitle(); ?> showMetaDescription(); ?> - showMetaType(); ?> - showMetaImage(); ?> + showMetaType(); ?> + showMetaImage(); ?> showFavicon(); ?> showVendor(); ?> showStyle(); ?> diff --git a/core/layout/common.css b/core/layout/common.css index 6ddbc3e4..5e2d616f 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -590,12 +590,12 @@ nav a:hover { } nav #menuLeft { - display: flex; - float: left; + display: inline-flex; + /*float: left;*/ } nav #menuRight { - display: flex; + display: inline-flex; float: right; } diff --git a/core/layout/light.php b/core/layout/light.php index f45709f0..c3e3d6db 100644 --- a/core/layout/light.php +++ b/core/layout/light.php @@ -2,7 +2,7 @@ - + showMetaTitle(); ?> showMetaDescription(); ?> diff --git a/core/layout/main.php b/core/layout/main.php index 2e832ae5..4590235f 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -2,7 +2,7 @@ - + showMetaTitle(); ?> showMetaDescription(); ?> diff --git a/core/module/theme/view/menu/menu.js.php b/core/module/theme/view/menu/menu.js.php index ab3848a5..02b257fb 100644 --- a/core/module/theme/view/menu/menu.js.php +++ b/core/module/theme/view/menu/menu.js.php @@ -54,7 +54,7 @@ $("input, select").on("change", function() { // Taille, hauteur, épaisseur et capitalisation de caractères du menu css += "#toggle span,#menu a{padding:" + $("#themeMenuHeight").val() + ";font-family:'" + menuFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeMenuFontWeight").val() + ";font-size:" + $("#themeMenuFontSize").val() + ";text-transform:" + $("#themeMenuTextTransform").val() + "}"; // Alignement du menu - css += "#menu{text-align:" + $("#themeMenuTextAlign").val() + "}"; + css += "#menuLeft{float:" + $("#themeMenuTextAlign").val() + "}"; // Marge if($("#themeMenuMargin").is(":checked")) { if( diff --git a/index.php b/index.php index 66ee4da0..89037a8e 100644 --- a/index.php +++ b/index.php @@ -25,7 +25,7 @@ if(version_compare(PHP_VERSION, '5.6.0', '<')) { *Localisation */ date_default_timezone_set('Europe/Paris'); -setlocale(LC_ALL, 'fr','fr_FR','fr_FR.utf8','fr-FR','fra'); +setlocale (LC_ALL, 'fr_FR.utf8','fr_Fr'); /** * Initialisation de Zwii