windowd enrol become suscribe

captions wokshop
This commit is contained in:
Fred Tempez 2023-10-19 17:23:34 +02:00
parent 9b4dcad353
commit c32d90f0b2
4 changed files with 5 additions and 5 deletions

View File

@ -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/';

View File

@ -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,
]);
}

View File

@ -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'
];