From 3502d7863280b2c3ec31361fc39f26a1f6310a8e Mon Sep 17 00:00:00 2001 From: F TEMPEZ Date: Tue, 12 Mar 2024 11:49:47 +0100 Subject: [PATCH] =?UTF-8?q?1.7.04=20Gestion=20des=20espaces=20divisions=20?= =?UTF-8?q?non=20ferm=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- core/core.php | 2 +- core/module/course/view/edit/edit.php | 3 +- core/module/course/view/manage/manage.php | 212 +++++++++++----------- 4 files changed, 110 insertions(+), 109 deletions(-) diff --git a/README.md b/README.md index 9db820e..eb2c2c1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCampus 1.7.03 +# ZwiiCampus 1.7.04 ZwiiCampus (Learning Management System) est logiciel auteur destiné à mettre en ligne des tutoriels. Il dispose de plusieurs modalités d'ouverture et d'accès des contenus. Basé sur la version 13 du CMS Zwii, la structure logicielle est solide, le framework de Zwii est éprouvé. diff --git a/core/core.php b/core/core.php index 9b8b7ef..7c9ff0e 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.7.03'; + const ZWII_VERSION = '1.7.04'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/module/course/view/edit/edit.php b/core/module/course/view/edit/edit.php index d608f1a..7ee96ac 100644 --- a/core/module/course/view/edit/edit.php +++ b/core/module/course/view/edit/edit.php @@ -106,4 +106,5 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/core/module/course/view/manage/manage.php b/core/module/course/view/manage/manage.php index f809ec1..db85029 100644 --- a/core/module/course/view/manage/manage.php +++ b/core/module/course/view/manage/manage.php @@ -8,7 +8,6 @@
- getUser('permission', 'course', 'delete') === true): ?>
getUrl(2), [ @@ -58,111 +57,112 @@
- -
-
-
-

- -

-
-
- 'Titre', - 'value' => $this->getdata(['course', $this->getUrl(2), 'title']), - 'readonly' => true, - ]); ?> -
-
- 'text', - 'value' => $this->signature( $this->getdata(['course', $this->getUrl(2), 'author']) ), - 'readonly' => true, - ]); ?> -
+
+
+
+
+

+ +

+
+
+ 'Titre', + 'value' => $this->getdata(['course', $this->getUrl(2), 'title']), + 'readonly' => true, + ]); ?>
-
-
- 'Page d\'accueil', - 'value' => $module::$pagesList[$this->getdata(['course', $this->getUrl(2), 'homePageId'])]['shortTitle'], - 'readonly' => true, - ]); ?> -
-
- 'Catégorie', - 'value' => $module::$courseCategories[$this->getdata(['course', $this->getUrl(2), 'category'])], - 'readonly' => true, - ]); ?> -
-
-
-
- 'Description', - 'value' => $this->getdata(['course', $this->getUrl(2), 'description']), - 'readonly' => true, - ]); ?> -
-
-
-
- 'Disponibilité', - 'value' =>$module::$courseAccess [$this->getdata(['course', $this->getUrl(2), 'access'])], - 'readonly' => true, - ]); ?> -
-
- 'datetime-local', - 'label' => 'Ouverture', - 'value' => is_null($this->getdata(['course', $this->getUrl(2), 'openingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'openingDate']) / 60) * 60, - 'readonly' => true, - ]); ?> -
-
- 'datetime-local', - 'label' => 'Fermeture', - 'value' => is_null($this->getdata(['course', $this->getUrl(2), 'closingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'closingDate']) / 60) * 60, - 'readonly' => true, - ]); ?> -
-
-
-
- 'Participation', - 'value' => $module::$courseEnrolment[$this->getdata(['course', $this->getUrl(2), 'enrolment'])], - 'readonly' => true, - ]); ?> -
-
- 'Clé', - 'value' => $this->getdata(['course', $this->getUrl(2), 'enrolmentKey']), - 'readonly' => true, - ]); ?> -
-
-
-
- $this->getdata(['course', $this->getUrl(2), 'limitEnrolment']), - 'help' => 'Ne s\'applique pas à l\'inscription anonyme', - 'disabled' => true, - ]); ?> -
-
- 'datetime-local', - 'label' => 'Fermeture', - 'value' => is_null($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate']) / 60) * 60, - 'readonly' => true, - ]); ?> -
+
+ 'text', + 'value' => $this->signature($this->getdata(['course', $this->getUrl(2), 'author'])), + 'readonly' => true, + ]); ?>
-
\ No newline at end of file +
+
+ 'Page d\'accueil', + 'value' => $module::$pagesList[$this->getdata(['course', $this->getUrl(2), 'homePageId'])]['shortTitle'], + 'readonly' => true, + ]); ?> +
+
+ 'Catégorie', + 'value' => $module::$courseCategories[$this->getdata(['course', $this->getUrl(2), 'category'])], + 'readonly' => true, + ]); ?> +
+
+
+
+ 'Description', + 'value' => $this->getdata(['course', $this->getUrl(2), 'description']), + 'readonly' => true, + ]); ?> +
+
+
+
+ 'Disponibilité', + 'value' => $module::$courseAccess[$this->getdata(['course', $this->getUrl(2), 'access'])], + 'readonly' => true, + ]); ?> +
+
+ 'datetime-local', + 'label' => 'Ouverture', + 'value' => is_null($this->getdata(['course', $this->getUrl(2), 'openingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'openingDate']) / 60) * 60, + 'readonly' => true, + ]); ?> +
+
+ 'datetime-local', + 'label' => 'Fermeture', + 'value' => is_null($this->getdata(['course', $this->getUrl(2), 'closingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'closingDate']) / 60) * 60, + 'readonly' => true, + ]); ?> +
+
+
+
+ 'Participation', + 'value' => $module::$courseEnrolment[$this->getdata(['course', $this->getUrl(2), 'enrolment'])], + 'readonly' => true, + ]); ?> +
+
+ 'Clé', + 'value' => $this->getdata(['course', $this->getUrl(2), 'enrolmentKey']), + 'readonly' => true, + ]); ?> +
+
+
+
+ $this->getdata(['course', $this->getUrl(2), 'limitEnrolment']), + 'help' => 'Ne s\'applique pas à l\'inscription anonyme', + 'disabled' => true, + ]); ?> +
+
+ 'datetime-local', + 'label' => 'Fermeture', + 'value' => is_null($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate']) / 60) * 60, + 'readonly' => true, + ]); ?> +
+
+
+
+
\ No newline at end of file