mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-21695 Assignment module now uses new help strings
AMOS BEGIN HLP assignment/allowdeleting.html,[allowdeleting_help,mod_assignment] HLP assignment/allowmaxfiles.html,[allowmaxfiles_help,mod_assignment] HLP assignment/allownotes.html,[allownotes_help,mod_assignment] HLP assignment/commentinline.html,[commentinline_help,mod_assignment] HLP assignment/emailnotification.html,[enableemailnotification_help,mod_assignment] HLP assignment/emailteachers.html,[emailteachers_help,mod_assignment] HLP assignment/hideintro.html,[hideintro_help,mod_assignment] HLP assignment/mods.html,[modulename_help,mod_assignment] HLP assignment/pagesize.html,[pagesize_help,mod_assignment] HLP assignment/quickgrade.html,[quickgrade_help,mod_assignment] HLP assignment/resubmit.html,[allowresubmit_help,mod_assignment] HLP assignment/trackdrafts.html,[trackdrafts_help,mod_assignment] AMOS END
This commit is contained in:
parent
cc1e127a75
commit
e66841b9e6
6 changed files with 28 additions and 33 deletions
|
@ -1404,7 +1404,7 @@ class assignment_base {
|
|||
echo '<label for="mailinfo">'.get_string('enableemailnotification','assignment').'</label>';
|
||||
echo '<input type="hidden" name="mailinfo" value="0" />';
|
||||
echo '<input type="checkbox" id="mailinfo" name="mailinfo" value="1" '.$lastmailinfo.' />';
|
||||
echo $OUTPUT->old_help_icon('emailnotification', get_string('enableemailnotification', 'assignment'), 'assignment').'</p></div>';
|
||||
echo $OUTPUT->help_icon('enableemailnotification', 'assignment').'</p></div>';
|
||||
echo '</div>';
|
||||
echo '<div class="fastgbutton"><input type="submit" name="fastg" value="'.get_string('saveallfeedback', 'assignment').'" /></div>';
|
||||
echo '</div>';
|
||||
|
@ -1422,7 +1422,7 @@ class assignment_base {
|
|||
echo '</td>';
|
||||
echo '<td>';
|
||||
echo '<input type="text" id="perpage" name="perpage" size="1" value="'.$perpage.'" />';
|
||||
echo $OUTPUT->old_help_icon('pagesize', get_string('pagesize','assignment'), 'assignment');
|
||||
echo $OUTPUT->help_icon('pagesize', 'assignment');
|
||||
echo '</td></tr>';
|
||||
echo '<tr><td>';
|
||||
echo '<label for="quickgrade">'.get_string('quickgrade','assignment').'</label>';
|
||||
|
@ -1430,7 +1430,7 @@ class assignment_base {
|
|||
echo '<td>';
|
||||
$checked = $quickgrade ? 'checked="checked"' : '';
|
||||
echo '<input type="checkbox" id="quickgrade" name="quickgrade" value="1" '.$checked.' />';
|
||||
echo $OUTPUT->old_help_icon('quickgrade', get_string('quickgrade', 'assignment'), 'assignment').'</p></div>';
|
||||
echo $OUTPUT->help_icon('quickgrade', 'assignment').'</p></div>';
|
||||
echo '</td></tr>';
|
||||
echo '<tr><td colspan="2">';
|
||||
echo '<input type="submit" value="'.get_string('savepreferences').'" />';
|
||||
|
@ -3467,4 +3467,4 @@ function assignment_get_file_info($browser, $areas, $course, $cm, $context, $fil
|
|||
$fs = get_file_storage();
|
||||
$files = $fs->get_area_files($context->id, $filearea);
|
||||
return $files;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue