diff --git a/core/class/layout.class.php b/core/class/layout.class.php index d20bcc7..c2260af 100644 --- a/core/class/layout.class.php +++ b/core/class/layout.class.php @@ -496,7 +496,7 @@ class layout extends common public function showMenu() { // Met en forme les items du menu - $itemsLeft = $this->formatMenu(false); + $itemsLeft = $this->formatMenu(); // Menu extra $itemsRight = $this->formatMenu(true); diff --git a/core/core.js.php b/core/core.js.php index 26ce5c7..78a063d 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -221,7 +221,6 @@ core.start = function () { var e = new Date(); e.setFullYear(e.getFullYear() + 1); var expires = "expires=" + e.toUTCString() + ";"; - // Stocke le cookie d'acceptation document.cookie = "ZWII_COOKIE_CONSENT=true; samesite=lax; " + domain + path + expires; }); @@ -254,8 +253,6 @@ core.start = function () { } }); - - /** * Choix de page dans la barre de membre */ @@ -372,9 +369,13 @@ core.start = function () { } } }).trigger("resize"); - - - + /** + * Masque les pages du menu si demandé dans la configuration du thème du menu + */ + var hidePages = "getData(['theme', 'menu', 'hidePages'])?>"; + if (hidePages == 1) { + $("#menuLeft").css("visibility", "hidden"); + } }; diff --git a/core/core.php b/core/core.php index 9f2da92..ae07065 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.15.04'; + const ZWII_VERSION = '1.16.0'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/module/config/view/connect/connect.php b/core/module/config/view/connect/connect.php index ee48bb7..fc3bc8e 100644 --- a/core/module/config/view/connect/connect.php +++ b/core/module/config/view/connect/connect.php @@ -26,13 +26,13 @@
- %s', helper::translate('Format'), $module::$imageOpenGraph['type']); ?> + %s', helper::translate('Format'), config::$imageOpenGraph['type']); ?>
- %s x %s pixels', helper::translate('Dimensions minimales'), $module::$imageOpenGraph['wide'], $module::$imageOpenGraph['height']); ?> + %s x %s pixels', helper::translate('Dimensions minimales'), config::$imageOpenGraph['wide'], config::$imageOpenGraph['height']); ?>
- %s:1', helper::translate('Ratio'), round($module::$imageOpenGraph['ratio'], 2)); ?> + %s:1', helper::translate('Ratio'), round(config::$imageOpenGraph['ratio'], 2)); ?>
- %s', helper::translate('Poids'), $module::$imageOpenGraph['size']); ?> + %s', helper::translate('Poids'), config::$imageOpenGraph['size']); ?>
Commencé le : - +
Terminé le : - +
Temps passé : - +
diff --git a/core/module/language/view/add/add.php b/core/module/language/view/add/add.php index 4027b20..abb0eb9 100644 --- a/core/module/language/view/add/add.php +++ b/core/module/language/view/add/add.php @@ -18,7 +18,7 @@