diff --git a/core/core.php b/core/core.php index ac339cb..e3ab925 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.46'; + const ZWII_VERSION = '1.0.47'; // 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 3681be4..b6d0b56 100644 --- a/core/module/course/course.php +++ b/core/module/course/course.php @@ -40,7 +40,7 @@ class course extends common ]; public static $courseEnrolment = [ - self::COURSE_ENROLMENT_GUEST => 'Sans inscription', + self::COURSE_ENROLMENT_GUEST => 'Anonyme', self::COURSE_ENROLMENT_SELF => 'Inscription libre', self::COURSE_ENROLMENT_SELF_KEY => 'Inscription avec clé', //self::COURSE_ENROLMENT_MANUAL => 'Manuelle' diff --git a/module/workshop/view/index/index.php b/module/workshop/view/index/index.php index 481af78..2b1cbf1 100644 --- a/module/workshop/view/index/index.php +++ b/module/workshop/view/index/index.php @@ -48,26 +48,24 @@

+ + getData(['module', $this->getUrl(0), 'config', 'enrolment']) === true): ?> +

+ +

+ + = $courseValue['openingDate'] && time() <= $courseValue['closingDate']) ): ?> - + getData(['module', $this->getUrl(0), 'config', 'caption']); ?> - - getData(['module', $this->getUrl(0), 'config', 'author']) === true): ?> -

- -

- - - - getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?> diff --git a/module/workshop/workshop.php b/module/workshop/workshop.php index 8d182bf..8ab12c8 100644 --- a/module/workshop/workshop.php +++ b/module/workshop/workshop.php @@ -44,7 +44,7 @@ class workshop extends common ]; public static $coursesEnrolment = [ - self::COURSE_ENROLMENT_GUEST => 'sans inscription', + self::COURSE_ENROLMENT_GUEST => 'anonyme, sans inscription', self::COURSE_ENROLMENT_SELF => 'inscription libre', self::COURSE_ENROLMENT_SELF_KEY => 'inscription avec clé', //self::COURSE_ENROLMENT_MANUAL => 'Manuelle'