Browse Source

added description to admin settings page

develop_fields
Johannes Burk 11 years ago
parent
commit
8100c9d0d1
  1. 1
      lang/en/enrol_apply.php
  2. 2
      settings.php

1
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';

2
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));

Loading…
Cancel
Save