diff --git a/core/core.php b/core/core.php index e3ab925..1cafee1 100644 --- a/core/core.php +++ b/core/core.php @@ -50,7 +50,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.0.47'; + const ZWII_VERSION = '1.0.48'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/lms/'; diff --git a/core/module/course/course.php b/core/module/course/course.php index b6d0b56..2869c70 100644 --- a/core/module/course/course.php +++ b/core/module/course/course.php @@ -18,7 +18,7 @@ class course extends common public static $actions = [ 'swap' => self::GROUP_VISITOR, - 'enrol' => self::GROUP_VISITOR, + 'suscribe' => self::GROUP_VISITOR, 'index' => self::GROUP_ADMIN, 'edit' => self::GROUP_ADMIN, 'add' => self::GROUP_ADMIN, @@ -764,7 +764,7 @@ class course extends common // Valeurs en sortie $this->addOutput([ 'title' => sprintf(helper::translate('Accéder au cours %s'), $this->getData(['course', $this->getUrl(2), 'title'])), - 'view' => 'enrol', + 'view' => 'suscribe', 'display' => self::DISPLAY_LAYOUT_LIGHT, ]); } diff --git a/core/module/course/view/enrol/enrol.php b/core/module/course/view/suscribe/suscribe.php similarity index 100% rename from core/module/course/view/enrol/enrol.php rename to core/module/course/view/suscribe/suscribe.php diff --git a/module/workshop/workshop.php b/module/workshop/workshop.php index 8ab12c8..dc8d282 100644 --- a/module/workshop/workshop.php +++ b/module/workshop/workshop.php @@ -45,8 +45,8 @@ class workshop extends common public static $coursesEnrolment = [ self::COURSE_ENROLMENT_GUEST => 'anonyme, sans inscription', - self::COURSE_ENROLMENT_SELF => 'inscription libre', - self::COURSE_ENROLMENT_SELF_KEY => 'inscription avec clé', + self::COURSE_ENROLMENT_SELF => 'réservée aux membres inscrits', + self::COURSE_ENROLMENT_SELF_KEY => 'réservé aux membres et avec une clé d\'inscription ', //self::COURSE_ENROLMENT_MANUAL => 'Manuelle' ];