Some changes for XHTML and accessilibity compliance

This commit is contained in:
moodler
2004-09-30 06:46:26 +00:00
parent 42b90599be
commit 9f39c19012
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -411,7 +411,7 @@
$strrename= get_string("rename");
echo '<form name="renameform" action="category.php" method="post">';
echo '<input type="hidden" name="id" value="'.$category->id.'" />';
echo '<input type="text" size="30" name="rename" value="'.s($category->name).'" />';
echo '<input type="text" size="30" name="rename" value="'.s($category->name).'" alt="'.$strrename.'" />';
echo '<input type="submit" value="'.$strrename.'" />';
echo "</form>";
echo "<br />";
+3 -1
View File
@@ -1282,7 +1282,9 @@ function print_course($course, $width="100%") {
echo $enrol->get_access_icons($course);
echo '</td><td valign="top" width="50%" class="courseboxsummary">';
echo '<p><font size="2">'.filter_text(text_to_html($course->summary), $course->id).'</font></p>';
$options = NULL;
$options->noclean = true;
echo format_text($course->summary, FORMAT_MOODLE, $options, $course->id);
echo "</td></tr>";
echo "</table>";