Merge branch 'MDL-47700-27' of git://github.com/xow/moodle into MOODLE_27_STABLE

This commit is contained in:
Dan Poltawski
2014-11-18 10:04:28 +00:00
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ function grade_report_overview_settings_definition(&$mform) {
0 => get_string('hide'),
1 => get_string('show'));
if (empty($CFG->grade_overviewreport_showrank)) {
if (empty($CFG->grade_report_overview_showrank)) {
$options[-1] = get_string('defaultprev', 'grades', $options[0]);
} else {
$options[-1] = get_string('defaultprev', 'grades', $options[1]);
+2 -1
View File
@@ -26,7 +26,8 @@ defined('MOODLE_INTERNAL') || die;
if ($ADMIN->fulltree) {
$settings->add(new admin_setting_configcheckbox('grade_report_overview_showrank', get_string('showrank', 'grades'), get_string('showrank_help', 'grades'), 0, PARAM_INT));
$settings->add(new admin_setting_configcheckbox('grade_report_overview_showrank', get_string('showrank', 'grades'),
get_string('showrank_help', 'grades'), 0));
$settings->add(new admin_setting_configselect('grade_report_overview_showtotalsifcontainhidden', get_string('hidetotalifhiddenitems', 'grades'),
get_string('hidetotalifhiddenitems_help', 'grades'), GRADE_REPORT_HIDE_TOTAL_IF_CONTAINS_HIDDEN,