MDL-21695 Bye bye help/course*.html and help/rolerenaming.html, we have better friends now

This commit is contained in:
David Mudrak 2010-05-06 18:32:03 +00:00
parent 9f48fa3789
commit 5fb882193f
20 changed files with 5 additions and 215 deletions

View file

@ -265,7 +265,7 @@ function selectItemInCheckboxByName(formId, checkName, checked ) {
echo '<label for="shortnamefield">'.get_string ('shortname').'</label>';
echo "</td>";
echo "<td><input type=\"text\" id=\"shortnamefield\" name=\"shortname\" maxlength=\"100\" size=\"20\" value=\"".s($form1->shortname)."\" alt=\"".get_string("shortname")."\" />" ;
echo $OUTPUT->old_help_icon("courseshortname", get_string("shortname"));
echo $OUTPUT->help_icon('shortnamecourse'));
if (isset($err["shortname"])) echo $OUTPUT->error_text($err["shortname"]);
echo "</td>";
echo "</tr>";
@ -299,7 +299,7 @@ function selectItemInCheckboxByName(formId, checkName, checked ) {
$yearselector = html_writer::select_time('years', "startyear", $form1->startdate);
echo $dayselector . $monthselector . $yearselector;
echo $OUTPUT->old_help_icon("coursestartdate", get_string("startdate"));
echo $OUTPUT->help_icon('startdate'));
} else {
print_string('notavailable');
echo '<input type="hidden" name="startyear" value="0" />';
@ -459,7 +459,6 @@ function selectItemInCheckboxByName(formId, checkName, checked ) {
//Now print the Groups tr (assume there is no $info->backup_groups)
echo "<tr>";
echo "<td align=\"right\" colspan=\"2\"><b>";
$helplink = $OUTPUT->old_help_icon('grouprestore', get_string('groups'));
echo '<label for="menurestore_groups">'.get_string ("groups").'</label>'.$helplink;
echo "</b></td><td colspan=\"2\">";
$group_options[RESTORE_GROUPS_NONE] = get_string('none');