diff --git a/CHANGES.md b/CHANGES.md index 17afe2f1..05363257 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,7 +11,7 @@ - Corrections : - Langues : bug de l'utilitaire de copie de site. - Fichier robots.txt non fourni lors les bots ne sont pas autorisés. - - Page parente ayant des pages enfants non affichées : lors du renommage de la page, les pages enfants n'étaient pas actualisées. + - Page parente ayant des pages enfants non affichées dans le menu : lors du renommage de la page, les pages enfants n'étaient pas actualisées. - Modifications : - Dispositions des écrans du thème : site, menu, pied de page, menu et bannière. diff --git a/core/core.js.php b/core/core.js.php index 0a26537b..0e082c80 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -223,7 +223,7 @@ core.start = function() { * Message sur l'utilisation des cookies */ var analytics = ""; - if (getData(['config', 'analyticsId'])); ?>) { + if (getData(['config', 'seo', 'analyticsId'])); ?>) { analytics = ' grâce au cookie Google Analytics' } if(getData(['config', 'cookieConsent'])); ?>) { diff --git a/core/core.php b/core/core.php index 33e76636..3da8feba 100644 --- a/core/core.php +++ b/core/core.php @@ -2074,17 +2074,16 @@ class common { ( isset($_COOKIE['ZWII_I18N_SCRIPT']) AND $_COOKIE['ZWII_I18N_SCRIPT'] === $key ) ) { - $select = ' id="i18nFlagSelected" '; + $select = ' class="i18nFlagSelected" '; } else { - $select = ' id="i18nFlag" '; + $select = ' class="i18nFlag" '; } echo '
  • '; - echo ''; + echo ' .  $key . '; echo '
  • '; } } - echo ''; } } diff --git a/core/layout/common.css b/core/layout/common.css index d2fd0d52..03b3dd02 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -702,11 +702,11 @@ li .menuSideChild { /* Drapeaux */ -#i18nFlag { +.i18nFlag { width: 70%; } -#i18nFlagSelected { +.i18nFlagSelected { width: 100%; } @@ -719,12 +719,12 @@ li .menuSideChild { @media screen and (max-width:1024px){ - #i18nFlag { + .i18nFlag { width: 100%; padding: 5px; } - #i18nFlagSelected { + .i18nFlagSelected { width: 130%; padding: 5px; } diff --git a/core/module/theme/view/body/body.php b/core/module/theme/view/body/body.php index 172d8981..5a16aef9 100644 --- a/core/module/theme/view/body/body.php +++ b/core/module/theme/view/body/body.php @@ -9,7 +9,7 @@ ]); ?>
    - 'https://doc.zwiicms.fr/arriere-plan', 'target' => '_blank', 'ico' => 'help', diff --git a/core/module/theme/view/footer/footer.php b/core/module/theme/view/footer/footer.php index 5c7e2bf2..874f37e3 100644 --- a/core/module/theme/view/footer/footer.php +++ b/core/module/theme/view/footer/footer.php @@ -9,7 +9,7 @@ ]); ?>
    - 'https://doc.zwiicms.fr/pied-de-page', 'target' => '_blank', 'ico' => 'help', diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index a5f67d51..787bca17 100644 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -9,7 +9,7 @@ ]); ?>
    - 'https://doc.zwiicms.fr/banniere', 'target' => '_blank', 'ico' => 'help', diff --git a/core/module/theme/view/menu/menu.php b/core/module/theme/view/menu/menu.php index df4889fa..aceee652 100644 --- a/core/module/theme/view/menu/menu.php +++ b/core/module/theme/view/menu/menu.php @@ -9,7 +9,7 @@ ]); ?>
    - 'https://doc.zwiicms.fr/menu', 'target' => '_blank', 'ico' => 'help', diff --git a/core/module/theme/view/site/site.js.php b/core/module/theme/view/site/site.js.php index 8eaeaef1..dc79cd70 100644 --- a/core/module/theme/view/site/site.js.php +++ b/core/module/theme/view/site/site.js.php @@ -16,7 +16,7 @@ /** * Aperçu en direct */ - $("input, select").on("change",function() { +$("input, select").on("change",function() { /** * Option de marge si la taille n'est pas fluide @@ -112,4 +112,4 @@ .text(css) .appendTo("head"); -}).trigger("change"); \ No newline at end of file +}).trigger("change");