MDL-31158 make grade recovery site-configurable

This commit is contained in:
Charles Fulton
2012-02-17 09:25:24 +07:00
committed by Andrew Davis
parent 0dde394db5
commit dbe93bc7c7
4 changed files with 17 additions and 3 deletions
+2
View File
@@ -58,6 +58,8 @@ if (has_capability('moodle/grade:manage', $systemcontext)
GRADE_NAVMETHOD_TABS => new lang_string('tabs', 'grades'),
GRADE_NAVMETHOD_COMBO => new lang_string('combo', 'grades'))));
$temp->add(new admin_setting_configcheckbox('recovergradesdefault', new lang_string('recovergradesdefault', 'grades'), new lang_string('recovergradesdefault_help', 'grades'), 0));
$temp->add(new admin_setting_special_gradeexport());
$temp->add(new admin_setting_special_gradelimiting());