diff --git a/README.md b/README.md index 4a4a557..980e915 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCampus 1.7.00 +# ZwiiCampus 1.7.01 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 ca8bbf4..9237e3c 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.00'; + const ZWII_VERSION = '1.7.01'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/module/course/view/manage/manage.php b/core/module/course/view/manage/manage.php index 00a451f..f809ec1 100644 --- a/core/module/course/view/manage/manage.php +++ b/core/module/course/view/manage/manage.php @@ -70,30 +70,30 @@ 'Titre', 'value' => $this->getdata(['course', $this->getUrl(2), 'title']), - 'disabled' => true, + 'readonly' => true, ]); ?>
- 'Auteur', - 'selected' => $this->getdata(['course', $this->getUrl(2), 'author']), - 'disabled' => true, + 'text', + 'value' => $this->signature( $this->getdata(['course', $this->getUrl(2), 'author']) ), + 'readonly' => true, ]); ?>
- 'Page d\'accueil', - 'selected' => $this->getdata(['course', $this->getUrl(2), 'homePageId']), - 'disabled' => true, + 'value' => $module::$pagesList[$this->getdata(['course', $this->getUrl(2), 'homePageId'])]['shortTitle'], + 'readonly' => true, ]); ?>
- 'Catégorie', - 'selected' => $this->getdata(['course', $this->getUrl(2), 'category']), - 'disabled' => true, + 'value' => $module::$courseCategories[$this->getdata(['course', $this->getUrl(2), 'category'])], + 'readonly' => true, ]); ?>
@@ -102,16 +102,16 @@ 'Description', 'value' => $this->getdata(['course', $this->getUrl(2), 'description']), - 'disabled' => true, + 'readonly' => true, ]); ?>
- 'Disponibilité', - 'selected' => $this->getdata(['course', $this->getUrl(2), 'access']), - 'disabled' => true, + 'value' =>$module::$courseAccess [$this->getdata(['course', $this->getUrl(2), 'access'])], + 'readonly' => true, ]); ?>
@@ -119,7 +119,7 @@ 'type' => 'datetime-local', 'label' => 'Ouverture', 'value' => is_null($this->getdata(['course', $this->getUrl(2), 'openingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'openingDate']) / 60) * 60, - 'disabled' => true, + 'readonly' => true, ]); ?>
@@ -127,23 +127,23 @@ 'type' => 'datetime-local', 'label' => 'Fermeture', 'value' => is_null($this->getdata(['course', $this->getUrl(2), 'closingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'closingDate']) / 60) * 60, - 'disabled' => true, + 'readonly' => true, ]); ?>
- 'Participation', - 'selected' => $this->getdata(['course', $this->getUrl(2), 'enrolment']), - 'disabled' => true, + 'value' => $module::$courseEnrolment[$this->getdata(['course', $this->getUrl(2), 'enrolment'])], + 'readonly' => true, ]); ?>
'Clé', 'value' => $this->getdata(['course', $this->getUrl(2), 'enrolmentKey']), - 'disabled' => true, + 'readonly' => true, ]); ?>
@@ -160,7 +160,7 @@ 'type' => 'datetime-local', 'label' => 'Fermeture', 'value' => is_null($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate']) / 60) * 60, - 'disabled' => true, + 'readonly' => true, ]); ?>