forked from ZwiiCMS-Team/ZwiiCampus
windowd enrol become suscribe
captions wokshop
This commit is contained in:
parent
9b4dcad353
commit
c32d90f0b2
@ -50,7 +50,7 @@ class common
|
|||||||
const ACCESS_TIMER = 1800;
|
const ACCESS_TIMER = 1800;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '1.0.47';
|
const ZWII_VERSION = '1.0.48';
|
||||||
|
|
||||||
// URL autoupdate
|
// URL autoupdate
|
||||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/lms/';
|
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/lms/';
|
||||||
|
@ -18,7 +18,7 @@ class course extends common
|
|||||||
|
|
||||||
public static $actions = [
|
public static $actions = [
|
||||||
'swap' => self::GROUP_VISITOR,
|
'swap' => self::GROUP_VISITOR,
|
||||||
'enrol' => self::GROUP_VISITOR,
|
'suscribe' => self::GROUP_VISITOR,
|
||||||
'index' => self::GROUP_ADMIN,
|
'index' => self::GROUP_ADMIN,
|
||||||
'edit' => self::GROUP_ADMIN,
|
'edit' => self::GROUP_ADMIN,
|
||||||
'add' => self::GROUP_ADMIN,
|
'add' => self::GROUP_ADMIN,
|
||||||
@ -764,7 +764,7 @@ class course extends common
|
|||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'title' => sprintf(helper::translate('Accéder au cours %s'), $this->getData(['course', $this->getUrl(2), 'title'])),
|
'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,
|
'display' => self::DISPLAY_LAYOUT_LIGHT,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -45,8 +45,8 @@ class workshop extends common
|
|||||||
|
|
||||||
public static $coursesEnrolment = [
|
public static $coursesEnrolment = [
|
||||||
self::COURSE_ENROLMENT_GUEST => 'anonyme, sans inscription',
|
self::COURSE_ENROLMENT_GUEST => 'anonyme, sans inscription',
|
||||||
self::COURSE_ENROLMENT_SELF => 'inscription libre',
|
self::COURSE_ENROLMENT_SELF => 'réservée aux membres inscrits',
|
||||||
self::COURSE_ENROLMENT_SELF_KEY => 'inscription avec clé',
|
self::COURSE_ENROLMENT_SELF_KEY => 'réservé aux membres et avec une clé d\'inscription ',
|
||||||
//self::COURSE_ENROLMENT_MANUAL => 'Manuelle'
|
//self::COURSE_ENROLMENT_MANUAL => 'Manuelle'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user