]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861, fixing broken xhtml tags
authortoyomoyo <toyomoyo>
Wed, 20 Dec 2006 00:48:49 +0000 (00:48 +0000)
committertoyomoyo <toyomoyo>
Wed, 20 Dec 2006 00:48:49 +0000 (00:48 +0000)
user/view.php

index 7db80e884cd2693b1fb9daa1e8a6a7df2d699b7a..5598de7c041de2cbf450f4a29364d6fabe94a9d4 100644 (file)
             (has_capability('moodle/role:assign', $coursecontext, NULL) &&           // I can assign roles
              get_user_roles($coursecontext, $user->id)) ) {                          // This user has roles
 
-            echo '<td nowrap="nowrap"><form action="../course/unenrol.php" method="get" />';
+            echo '<td nowrap="nowrap"><form action="../course/unenrol.php" method="get">';
             echo '<input type="hidden" name="id" value="'.$course->id.'" />';
             echo '<input type="hidden" name="user" value="'.$user->id.'" />';
-            echo '<input type="submit" value="'.get_string('unenrolme', '', $course->shortname).'">';
+            echo '<input type="submit" value="'.get_string('unenrolme', '', $course->shortname).'" />';
             echo '</form></td>';
         }
     }