Skip to content
Permalink
Browse files

Some changes for XHTML and accessibility compliance

  • Loading branch information...
moodler
moodler committed Sep 30, 2004
1 parent c9fc958 commit 34b5847a1addfedf06642bfcd99e912b8bbcd7ae
Showing with 6 additions and 5 deletions.
  1. +5 −4 course/lib.php
  2. +1 −1 mod/glossary/filter.php
@@ -1261,11 +1261,11 @@ function print_course($course, $width="100%") {
echo "<table width=\"100%\">";
echo '<tr valign="top">';
echo '<td valign="top" width="50%" class="courseboxinfo">';
echo '<p><font size="3"><b><a title="'.get_string('entercourse').'"'.
echo '<b><a title="'.get_string('entercourse').'"'.
$linkcss.' href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">'.
$course->fullname.'</a></b></font></p>';
$course->fullname.'</a></b><br />';
if ($teachers = get_course_teachers($course->id)) {
echo "<p><font size=\"1\">\n";
echo "<span class=\"courseboxteachers\">\n";
foreach ($teachers as $teacher) {
if ($teacher->authority > 0) {
if (!$teacher->role) {
@@ -1276,14 +1276,15 @@ function print_course($course, $width="100%") {
'&amp;course='.SITEID.'">'.$fullname.'</a><br />';
}
}
echo "</font></p>";
echo "</span>\n";
}
echo $enrol->get_access_icons($course);
echo '</td><td valign="top" width="50%" class="courseboxsummary">';
$options = NULL;
$options->noclean = true;
$options->para = false;
echo format_text($course->summary, FORMAT_MOODLE, $options, $course->id);
echo "</td></tr>";
echo "</table>";
@@ -78,7 +78,7 @@ function glossary_filter($courseid, $text) {
$encodedconcept = urlencode($concept->concept);
$title = str_replace('"', "'", strip_tags("$glossary->name: $concept->concept"));
$href_tag_begin = "<a target=\"entry\" class=\"autolink\" title=\"$title\" href=\"$CFG->wwwroot/mod/glossary/showentry.php?courseid=$courseid&amp;concept=$encodedconcept\" ".
"onClick=\"return openpopup('/mod/glossary/showentry.php?courseid=$courseid\&amp;concept=$encodedconcept', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);\">";
"onclick=\"return openpopup('/mod/glossary/showentry.php?courseid=$courseid\&amp;concept=$encodedconcept', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);\">";
}
$currentconcept = $concept->concept;
if ( $currentconcept = trim(strip_tags($currentconcept)) ) {

0 comments on commit 34b5847

Please sign in to comment.
You can’t perform that action at this time.