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 .= '
  • '; - $items .= ''; + $items .= ''; $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": "

    Wellcome on The ZwiiCMS!

    ", + "hideTitle": false, + "breadCrumb": false, + "metaDescription": "", + "metaTitle": "", + "moduleId": "", + "modulePosition": "bottom", + "parentPageId": "", + "position": 1, + "group": 0, + "targetBlank": false, + "title": "Home", + "block": "12", + "barLeft": "", + "barRight": "", + "displayMenu": "none", + "hideMenuSide": false, + "hideMenuHead": false, + "hideMenuChildren": false, + "homePageId": true + } + } +} \ No newline at end of file diff --git a/core/module/i18n/view/index/index.php b/core/module/i18n/view/index/index.php index 0fcad14b..e8349269 100644 --- a/core/module/i18n/view/index/index.php +++ b/core/module/i18n/view/index/index.php @@ -18,8 +18,8 @@
    i18nInstalled(true), [ - 'label' => 'Copier à partir ', - 'help' => 'Pour démarrer sans copie des pages te des modules d\'une langue existante, ne rien sélectionner', + 'label' => 'Copier la structure de', + 'help' => 'Ne rien sélectionner pour une copie vierge ', 'selected' => -1 ]); ?>