diff --git a/lang/en/enrol_apply.php b/lang/en/enrol_apply.php index 7c73d45..1bbb2ff 100644 --- a/lang/en/enrol_apply.php +++ b/lang/en/enrol_apply.php @@ -12,6 +12,7 @@ // The name of your plugin. Displayed on admin menus. $string['enrolname'] = 'Course enrol confirmation'; $string['pluginname'] = 'Course enrol confirmation'; +$string['pluginname_desc'] = 'With this plugin users can apply to a course and a teacher have to comfirm before the user gets enroled.'; $string['confirmmailsubject'] = 'Confirm mail subject'; $string['confirmmailcontent'] = 'Confirm mail content'; diff --git a/settings.php b/settings.php index 3a564a6..7677750 100644 --- a/settings.php +++ b/settings.php @@ -14,7 +14,7 @@ defined('MOODLE_INTERNAL') || die(); if ($ADMIN->fulltree) { //--- general settings ----------------------------------------------------------------------------------- - $settings->add(new admin_setting_heading('enrol_apply_enrolname','','')); + $settings->add(new admin_setting_heading('enrol_apply_enrolname','',get_string('pluginname_desc', 'enrol_apply'))); $settings->add(new admin_setting_configtext('enrol_apply/confirmmailsubject','',get_string('confirmmailsubject', 'enrol_apply'),null,PARAM_TEXT,60));