MDL-7861, fixing broken xhtml tags

This commit is contained in:
toyomoyo 2006-12-20 00:48:49 +00:00
parent cc8cbf5591
commit 475ed85c57

View File

@ -369,10 +369,10 @@
(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>';
}
}