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:
David Mudrak 2010-06-21 06:57:46 +00:00
parent 81ff6f1c3a
commit 69e3e962b1
3 changed files with 2 additions and 4 deletions

View File

@ -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'),

View File

@ -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,

View File

@ -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>