Skip to content
Browse files

More XHTML 1.0 Transitional compliance.

  • Loading branch information...
1 parent 6ccf1c6 commit 8bd84b4d3645f2027dd1fc76a613fbde790fcc0e mchurch committed Sep 8, 2004
Showing with 2 additions and 1 deletion.
  1. +2 −1 course/lib.php
View
3 course/lib.php
@@ -1268,7 +1268,8 @@ function print_course($course, $width="100%") {
$teacher->role = $course->teacher;
}
$fullname = fullname($teacher, isteacher($course->id)); // is the USER a teacher of that course
- echo "$teacher->role: <a href=\"$CFG->wwwroot/user/view.php?id=$teacher->id&course=".SITEID."\">$fullname</a><br />";
+ echo $teacher->role.': <a href="'.$CFG->wwwroot.'/user/view.php?id='.$teacher->id.
+ '&amp;course='.SITEID.'">'.$fullname.'</a><br />';
}
}
echo "</font></p>";

0 comments on commit 8bd84b4

Please sign in to comment.
Something went wrong with that request. Please try again.