]> git.mjollnir.org Git - moodle.git/commitdiff
More XHTML 1.0 Transitional compliance.
authormchurch <mchurch>
Wed, 8 Sep 2004 21:36:12 +0000 (21:36 +0000)
committermchurch <mchurch>
Wed, 8 Sep 2004 21:36:12 +0000 (21:36 +0000)
course/lib.php

index a146114ea06b89f1ec9256b707d23ebb4cd585b2..9cc5d3b5cb9791b6499e37bb978dc50c609b6acb 100644 (file)
@@ -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>";