Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,24 @@ public function definition() {
$mform->addElement('select', 'status', get_string('status', 'enrol_notificationeabc'), $options);

// Enrol notifications.
$mform->addElement('advcheckbox', 'customint1', get_string('activeenrolalert', 'enrol_notificationeabc'));
$mform->addHelpButton('customint1', 'activeenrolalert', 'enrol_notificationeabc');
$mform->addElement('advcheckbox', 'customint1', get_string('activecustomenrolalert', 'enrol_notificationeabc'));
$mform->addHelpButton('customint1', 'activecustomenrolalert', 'enrol_notificationeabc');

$mform->addElement('editor', 'customtext1', get_string('location', 'enrol_notificationeabc'), null);
$mform->setType('customtext1', PARAM_RAW);
$mform->addHelpButton('customtext1', 'location', 'enrol_notificationeabc');

// Unenrol notifications.
$mform->addElement('advcheckbox', 'customint2', get_string('activeunenrolalert', 'enrol_notificationeabc'));
$mform->addHelpButton('customint2', 'activeunenrolalert', 'enrol_notificationeabc');
$mform->addElement('advcheckbox', 'customint2', get_string('activecustomunenrolalert', 'enrol_notificationeabc'));
$mform->addHelpButton('customint2', 'activecustomunenrolalert', 'enrol_notificationeabc');

$mform->addElement('editor', 'customtext2', get_string('unenrolmessage', 'enrol_notificationeabc'), null);
$mform->setType('customtext2', PARAM_RAW);
$mform->addHelpButton('customtext2', 'unenrolmessage', 'enrol_notificationeabc');

// Update enrolment notifications.
$mform->addElement('advcheckbox', 'customint3', get_string('activeenrolupdatedalert', 'enrol_notificationeabc'));
$mform->addHelpButton('customint3', 'activeenrolupdatedalert', 'enrol_notificationeabc');
$mform->addElement('advcheckbox', 'customint3', get_string('activecustomenrolupdatedalert', 'enrol_notificationeabc'));
$mform->addHelpButton('customint3', 'activecustomenrolupdatedalert', 'enrol_notificationeabc');

$mform->addElement('editor', 'customtext3', get_string('updatedenrolmessage', 'enrol_notificationeabc'), null);
$mform->setType('customtext3', PARAM_RAW);
Expand Down
12 changes: 6 additions & 6 deletions lang/en/enrol_notificationeabc.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
$string['namesender_help'] = 'By default it takes the name set to the user support';
$string['status'] = 'Active enrol notification';
$string['subject'] = 'Enrolment notification';
$string['activeenrolalert'] = 'Active enrol alert';
$string['activeenrolalert_help'] = 'Active enrol alert';
$string['activecustomenrolalert'] = 'Active custom message enrol alert';
$string['activecustomenrolalert_help'] = 'Active custom enrol alert';
// Unenrol notifications.
$string['activeunenrolalert'] = 'Active unenrol notifications';
$string['activeunenrolalert_help'] = 'Active unenrol alert';
$string['activecustomunenrolalert'] = 'Active custom message unenrol notifications';
$string['activecustomunenrolalert_help'] = 'Active unenrol alert';
$string['activarglobalunenrolalert'] = 'Active global';
$string['activarglobalunenrolalert_help'] = 'Active enrol notifications for all site';
$string['unenrolmessage'] = 'Custom Message';
Expand All @@ -69,8 +69,8 @@
</pre>';
$string['unenrolmessagedefault'] = 'You has been unenrolled from {$a->fullname} ({$a->url})';
// Update enrol notifications.
$string['activeenrolupdatedalert'] = 'Active update enrol notifications';
$string['activeenrolupdatedalert_help'] = 'Active update enrol notifications';
$string['activecustomenrolupdatedalert'] = 'Active custom update enrol notifications';
$string['activecustomenrolupdatedalert_help'] = 'Active custom update enrol notifications';
$string['activarglobalenrolupdated'] = 'Active global';
$string['activarglobalenrolupdated_help'] = 'Active enrol updated notifications for all site';
$string['updatedenrolmessage'] = 'Custom message';
Expand Down
12 changes: 6 additions & 6 deletions lang/es/enrol_notificationeabc.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
$string['namesender_help'] = 'Por defecto toma el nombre configurado como el usuario de soporte ';
$string['status'] = 'Activar notification de matriculación';
$string['subject'] = 'Notificación de Matriculación';
$string['activeenrolalert'] = 'Activar aviso de matriculación';
$string['activeenrolalert_help'] = 'Activar aviso de matriculación';
$string['activecustomenrolalert'] = 'Activar aviso de matriculación personalizado';
$string['activecustomenrolalert_help'] = 'Activar aviso de matriculación personalizado';
// Aviso de desmatriculacion.
$string['activeunenrolalert'] = 'Activar aviso de desmatriculacion';
$string['activeunenrolalert_help'] = 'Activar aviso de desmatriculacion';
$string['activecustomunenrolalert'] = 'Activar aviso de desmatriculacion personalizado';
$string['activecustomunenrolalert_help'] = 'Activar aviso de desmatriculacion personalizado';
$string['activarglobalunenrolalert'] = 'Activar para todo el sitio';
$string['activarglobalunenrolalert_help'] = 'Activar la notificacion de desmatriculacion para todo el sitio';
$string['unenrolmessage'] = 'Mensaje personalizado';
Expand All @@ -69,8 +69,8 @@
</pre>';
$string['unenrolmessagedefault'] = 'Ud ha sido desmatriculado del curso {$a->fullname} ({$a->url})';
// Aviso de actualizacion de matriculacion.
$string['activeenrolupdatedalert'] = 'Activar aviso de actualizacion de matriculacion';
$string['activeenrolupdatedalert_help'] = 'Activar aviso de actualizacion de matriculacion';
$string['activecustomenrolupdatedalert'] = 'Activar aviso de actualizacion de matriculacion personalizado';
$string['activecustomenrolupdatedalert_help'] = 'Activar aviso de actualizacion de matriculacion personaliado';
$string['activarglobalenrolupdated'] = 'Activar para todo el sitio';
$string['activarglobalenrolupdated_help'] = 'Activar la notificacion de actualizacion de matriculacion para todo el sitio';
$string['updatedenrolmessage'] = 'Mensaje personalizado';
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2017111700;
$plugin->version = 2021123000;
$plugin->requires = 2016120503;
$plugin->component = 'enrol_notificationeabc';
$plugin->maturity = MATURITY_STABLE;
Expand Down