MDL-21695 Replaced grade/hidden.html and removed grade/hiddenuntil.html

No auto AMOS replacement here as the original HTML help is not suitable
for the new help system. Helen recommended to remove hiddenuntil help.
This commit is contained in:
David Mudrak 2010-06-07 09:35:45 +00:00
parent 28b6fe73d0
commit d7a04343b2
6 changed files with 4 additions and 54 deletions

View File

@ -200,9 +200,8 @@ class edit_category_form extends moodleform {
/// hiding
// advcheckbox is not compatible with disabledIf!
$mform->addElement('checkbox', 'grade_item_hidden', get_string('hidden', 'grades'));
$mform->setHelpButton('grade_item_hidden', array('hidden', get_string('hidden', 'grades'), 'grade'));
$mform->addHelpButton('grade_item_hidden', 'hidden', 'grades');
$mform->addElement('date_time_selector', 'grade_item_hiddenuntil', get_string('hiddenuntil', 'grades'), array('optional'=>true));
$mform->setHelpButton('grade_item_hiddenuntil', array('hiddenuntil', get_string('hiddenuntil', 'grades'), 'grade'));
$mform->disabledIf('grade_item_hidden', 'grade_item_hiddenuntil[off]', 'notchecked');
/// locking

View File

@ -87,9 +87,8 @@ class edit_grade_form extends moodleform {
/// hiding
/// advcheckbox is not compatible with disabledIf !!
$mform->addElement('checkbox', 'hidden', get_string('hidden', 'grades'));
$mform->setHelpButton('hidden', array('hidden', get_string('hidden', 'grades'), 'grade'));
$mform->addHelpButton('hidden', 'hidden', 'grades');
$mform->addElement('date_time_selector', 'hiddenuntil', get_string('hiddenuntil', 'grades'), array('optional'=>true));
$mform->setHelpButton('hiddenuntil', array('hiddenuntil', get_string('hiddenuntil', 'grades'), 'grade'));
$mform->disabledIf('hidden', 'hiddenuntil[off]', 'notchecked');
/// locking

View File

@ -138,9 +138,8 @@ class edit_item_form extends moodleform {
/// hiding
// advcheckbox is not compatible with disabledIf!
$mform->addElement('checkbox', 'hidden', get_string('hidden', 'grades'));
$mform->setHelpButton('hidden', array('hidden', get_string('hidden', 'grades'), 'grade'));
$mform->addHelpButton('hidden', 'hidden', 'grades');
$mform->addElement('date_time_selector', 'hiddenuntil', get_string('hiddenuntil', 'grades'), array('optional'=>true));
$mform->setHelpButton('hiddenuntil', array('hiddenuntil', get_string('hiddenuntil', 'grades'), 'grade'));
$mform->disabledIf('hidden', 'hiddenuntil[off]', 'notchecked');
/// locking

View File

@ -66,9 +66,8 @@ class edit_outcomeitem_form extends moodleform {
/// hiding
/// advcheckbox is not compatible with disabledIf !!
$mform->addElement('checkbox', 'hidden', get_string('hidden', 'grades'));
$mform->setHelpButton('hidden', array('hidden', get_string('hidden', 'grades'), 'grade'));
$mform->addHelpButton('hidden', 'hidden', 'grades');
$mform->addElement('date_time_selector', 'hiddenuntil', get_string('hiddenuntil', 'grades'), array('optional'=>true));
$mform->setHelpButton('hiddenuntil', array('hiddenuntil', get_string('hiddenuntil', 'grades'), 'grade'));
$mform->disabledIf('hidden', 'hiddenuntil[off]', 'notchecked');
//locking

View File

@ -1,23 +0,0 @@
<h1>Hidden</h1>
<p>Whether or not the grades are <strong>hidden</strong> to participants. Usually after the end of the activity and of the grading process.. A typical sequence of events would be:
</p>
<table class="generaltable boxaligncenter" cellpadding="4" cellspacing="1" summary="Principal events in the grading process, and matching locked and hidden states">
<tr>
<th class="header">Event</th><th class="header">Locked</th><th class="header">Hidden</th>
</tr>
<tr>
<td class="cell">Start of activity and participant submissions</td>
<td class="cell">No</td>
<td class="cell">Yes</td>
</tr>
<tr>
<td class="cell">End of activity and beginning of grading/feedback</td>
<td class="cell">Yes</td>
<td class="cell">Yes</td>
</tr>
<tr>
<td class="cell">End of grading/feedback, and release of grades</td>
<td class="cell">Yes</td>
<td class="cell">No</td>
</tr>
</table>

View File

@ -1,23 +0,0 @@
<h1>Hidden until</h1>
<p>Date until which the grades will be <strong>hidden</strong> to participants. Usually after the end of the activity and of the grading process.. A typical sequence of events would be:
</p>
<table class="generaltable boxaligncenter" cellpadding="4" cellspacing="1" summary="Principal events in the grading process, and matching locked and hidden states">
<tr>
<th class="header">Event</th><th class="header">Locked</th><th class="header">Hidden</th>
</tr>
<tr>
<td class="cell">Start of activity and participant submissions</td>
<td class="cell">No</td>
<td class="cell">Yes</td>
</tr>
<tr>
<td class="cell">End of activity and beginning of grading/feedback</td>
<td class="cell">Yes</td>
<td class="cell">Yes</td>
</tr>
<tr>
<td class="cell">End of grading/feedback, and release of grades</td>
<td class="cell">Yes</td>
<td class="cell">No</td>
</tr>
</table>