mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-21695 Replaced grade/showhiddenitems.html
AMOS BEGIN MOV [configshowhiddenitems,core_grades],[showhiddenitems_help,core_grades] HLP grade/showhiddenitems.html,[showhiddenitems_help,core_grades] AMOS END
This commit is contained in:
parent
81ff6f1c3a
commit
69e3e962b1
@ -463,7 +463,7 @@ function grade_report_user_settings_definition(&$mform) {
|
||||
}
|
||||
|
||||
$mform->addElement('select', 'report_user_showhiddenitems', get_string('showhiddenitems', 'grades'), $options);
|
||||
$mform->setHelpButton('report_user_showhiddenitems', array('showhiddenitems', get_string('showhiddenitems', 'grades'), 'grade'));
|
||||
$mform->addHelpButton('report_user_showhiddenitems', 'showhiddenitems', 'grades');
|
||||
|
||||
//showtotalsifcontainhidden
|
||||
$options = array(-1 => get_string('default', 'grades'),
|
||||
|
@ -23,7 +23,7 @@ $settings->add(new admin_setting_configcheckbox('grade_report_user_showpercentag
|
||||
$options = array(0 => get_string('shownohidden', 'grades'),
|
||||
1 => get_string('showhiddenuntilonly', 'grades'),
|
||||
2 => get_string('showallhidden', 'grades'));
|
||||
$settings->add(new admin_setting_configselect('grade_report_user_showhiddenitems', get_string('showhiddenitems', 'grades'), get_string('configshowhiddenitems', 'grades'), 1, $options));
|
||||
$settings->add(new admin_setting_configselect('grade_report_user_showhiddenitems', get_string('showhiddenitems', 'grades'), get_string('showhiddenitems_help', 'grades'), 1, $options));
|
||||
|
||||
$settings->add(new admin_setting_configselect('grade_report_user_showtotalsifcontainhidden', get_string('hidetotalifhiddenitems', 'grades'),
|
||||
get_string('hidetotalifhiddenitems_help', 'grades'), GRADE_REPORT_HIDE_TOTAL_IF_CONTAINS_HIDDEN,
|
||||
|
@ -1,2 +0,0 @@
|
||||
<h1>Show hidden items</h1>
|
||||
<p>Specifies how hidden grade items are shown. If Hide is selected, they are hidden completely. If Show is selected, the hidden grade item row is shown in grey with the grade hidden completely. If "Only hidden until" is selected, grade items with a "hide until" date set are shown in grey with the grades hidden completely until the set date, after which the whole item is shown.</p>
|
Loading…
x
Reference in New Issue
Block a user