]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861, fixing minor xhtml strict problem
authortoyomoyo <toyomoyo>
Mon, 18 Dec 2006 05:03:36 +0000 (05:03 +0000)
committertoyomoyo <toyomoyo>
Mon, 18 Dec 2006 05:03:36 +0000 (05:03 +0000)
admin/roles/assign.html
admin/roles/assign.php
admin/roles/tabs.php

index 179e25c9fa510740680100afa9b21f08209b3057..7faeb9245fcb1e60febfb594e359947d224bbe76 100755 (executable)
@@ -1,4 +1,4 @@
-
+<?php die; ?>
 <form name="assignform" id="assignform" method="post" action="">
 <input type="hidden" name="previoussearch" value="<?php p($previoussearch) ?>" />
 <input type="hidden" name="userid" value="<?php p($userid) ?>" />
index a8419543a6bac9830c6d8fd36b10b0161fccfd8a..d49957c503730659190129ef785c8ad266816d9a 100755 (executable)
         if ($courseid != SITEID) {
             print_header("$fullname", "$fullname",
                      "<a href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</a> ->
-                      <a href=\"$CFG->wwwroot/user/index.php?id=$course->id\">$strparticipants</a> -> <a href=\"$CFG->wwwroot/user/view.php?id=$userid&course=$courseid\">$fullname</a> ->".$straction,
+                      <a href=\"$CFG->wwwroot/user/index.php?id=$course->id\">$strparticipants</a> -> <a href=\"$CFG->wwwroot/user/view.php?id=$userid&amp;course=$courseid\">$fullname</a> ->".$straction,
                       "", "", true, "&nbsp;", navmenu($course));
 
         /// site header
         } else {
             print_header("$course->fullname: $fullname", "$course->fullname",
-                        "<a href=\"$CFG->wwwroot/user/view.php?id=$userid&course=$courseid\">$fullname</a> -> $straction", "", "", true, "&nbsp;", navmenu($course));
+                        "<a href=\"$CFG->wwwroot/user/view.php?id=$userid&amp;course=$courseid\">$fullname</a> -> $straction", "", "", true, "&nbsp;", navmenu($course));
         }
 
         $showroles = 1;
index e3dc0117d92398d86716c537145a730942bbe0c1..94e647e66c5303ff83afc6c95849326eff235c03 100755 (executable)
@@ -66,7 +66,7 @@ if ($currenttab != 'update') {
             $COURSE = $course;
             print_header_simple($streditinga, '',
                     "<a href=\"$CFG->wwwroot/mod/$module->name/index.php?id=$course->id\">$strmodulenameplural</a> ->
-                    $strnav <a href=\"$CFG->wwwroot/course/mod.php?update=$cm->id&sesskey=".sesskey()."\">$streditinga</a> -> $straction", $focuscursor, "", false);
+                    $strnav <a href=\"$CFG->wwwroot/course/mod.php?update=$cm->id&amp;sesskey=".sesskey()."\">$streditinga</a> -> $straction", $focuscursor, "", false);
 
             break;