}
$admindata[]="<a href=\"teacher.php?id=$course->id\">$course->teachers...</a>";
$adminicon[]="<img src=\"$pixpath/i/users.gif\" height=16 width=16 alt=\"\">";
+ }
- $admindata[]="<a href=\"student.php?id=$course->id\">$course->students...</a>";
- $adminicon[]="<img src=\"$pixpath/i/users.gif\" height=16 width=16 alt=\"\">";
+ $admindata[]="<a href=\"student.php?id=$course->id\">$course->students...</a>";
+ $adminicon[]="<img src=\"$pixpath/i/users.gif\" height=16 width=16 alt=\"\">";
+ if (isteacheredit($course->id)) {
$admindata[]="<a href=\"$CFG->wwwroot/backup/backup.php?id=$course->id\">".get_string("backup")."...</a>";
$adminicon[]="<img src=\"$pixpath/i/backup.gif\" height=16 width=16 alt=\"\">";
/// Print the lists of existing and potential students
- echo "<table cellpadding=2 cellspacing=10 align=center>";
- echo "<tr><th width=50%>$strexistingstudents$parastudents</th><th width=50%>$strpotentialstudents</th></tr>";
+ echo "<table cellpadding=1 cellspacing=5 align=center>";
+ echo "<tr><th width=50%>$strexistingstudents$parastudents</th><td> </td><th width=50%>$strpotentialstudents</th></tr>";
echo "<tr><td width=50% nowrap valign=top>";
/// First, show existing students for this course
unset($studentarray);
}
+ echo "<td> </td>";
echo "<td width=50% nowrap valign=top>";
/// Print list of potential students