diff --git a/core/core.php b/core/core.php index 357a1096..b9cdbc8b 100644 --- a/core/core.php +++ b/core/core.php @@ -35,7 +35,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '10.0.14.dev'; + const ZWII_VERSION = '10.0.15.dev'; public static $actions = []; public static $coreModuleIds = [ @@ -2438,7 +2438,9 @@ class layout extends common { if (sizeof($this->i18nInstalled()) > 1) { foreach ($this->i18nInstalled() as $itemKey => $item) { $items .= '
'; } } diff --git a/core/layout/common.css b/core/layout/common.css index 1797512e..8604c1d4 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -544,10 +544,14 @@ ul .menuSideChild, li .menuSideChild { /* Icones de langues du menu */ nav .flag { - width: 30px; + height: 30px; padding: 5px; vertical-align: middle; } +nav .flagSelected { + padding: 0px; +} + /* Corps */ diff --git a/core/module/i18n/i18n.php b/core/module/i18n/i18n.php index 56389d11..41ee7b4f 100644 --- a/core/module/i18n/i18n.php +++ b/core/module/i18n/i18n.php @@ -21,8 +21,6 @@ class i18n extends common { ]; - - /** * Config : gestion des langues */ diff --git a/core/module/i18n/ressource/module.json b/core/module/i18n/ressource/module.json new file mode 100644 index 00000000..76286625 --- /dev/null +++ b/core/module/i18n/ressource/module.json @@ -0,0 +1,4 @@ +{ + "module": { + } +} \ No newline at end of file diff --git a/core/module/i18n/ressource/page.json b/core/module/i18n/ressource/page.json new file mode 100644 index 00000000..a2b301ee --- /dev/null +++ b/core/module/i18n/ressource/page.json @@ -0,0 +1,29 @@ +{ + "page": { + "home": { + "typeMenu": "text", + "iconUrl": "", + "disable": false, + "content": "