From 8639d1781fa5c8f26cd04931da9c3d17806febdf Mon Sep 17 00:00:00 2001
From: fredtempez
Date: Thu, 19 Oct 2023 15:40:24 +0200
Subject: [PATCH] v47 bug de lien
---
core/core.php | 2 +-
core/module/course/course.php | 2 +-
module/workshop/view/index/index.php | 18 ++++++++----------
module/workshop/workshop.php | 2 +-
4 files changed, 11 insertions(+), 13 deletions(-)
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'