From b0814d50dcd02b9ebb61a66a26eccd7232a29309 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 18 May 2024 18:47:06 +0200 Subject: [PATCH] 1.10.03 Workshop Tri des espaces par titre --- core/core.php | 2 +- module/workshop/view/index/index.php | 5 ++++- module/workshop/workshop.php | 7 ------- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/core/core.php b/core/core.php index 9d03df3..9581333 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.10.02'; + const ZWII_VERSION = '1.10.03'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/module/workshop/view/index/index.php b/module/workshop/view/index/index.php index 2bf0ef9..c26dce8 100644 --- a/module/workshop/view/index/index.php +++ b/module/workshop/view/index/index.php @@ -1,5 +1,8 @@ -getData(['course']) as $courseId => $courseValue): ?> +getData(['course']);?> + + + $courseValue): ?> getData(['module', $this->getUrl(0), 'config', 'category']) !== 'all' && diff --git a/module/workshop/workshop.php b/module/workshop/workshop.php index 99909f6..a9dca3f 100644 --- a/module/workshop/workshop.php +++ b/module/workshop/workshop.php @@ -153,13 +153,6 @@ class workshop extends common 'view' => 'index' ]); - - // Valeurs en sortie - $this->addOutput([ - 'showBarEditButton' => true, - 'showPageContent' => true, - 'view' => 'index', - ]); } // Initialise avec des valeurs par défaut