Skip to content
Permalink
Browse files

Tweaking student page, and also making it available to ordinary teachers

  • Loading branch information...
moodler
moodler committed Aug 17, 2003
1 parent 2333cb0 commit 4d9d90c0066288df488fc5988a0288cd6afccf59
Showing with 7 additions and 4 deletions.
  1. +4 −2 course/lib.php
  2. +3 −2 course/student.php
@@ -752,10 +752,12 @@ function print_course_admin_links($course, $width=180) {
}
$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=\"\">";
@@ -84,8 +84,8 @@
/// 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>&nbsp;</td><th width=50%>$strpotentialstudents</th></tr>";
echo "<tr><td width=50% nowrap valign=top>";
/// First, show existing students for this course
@@ -104,6 +104,7 @@
unset($studentarray);
}
echo "<td>&nbsp;</td>";
echo "<td width=50% nowrap valign=top>";
/// Print list of potential students

0 comments on commit 4d9d90c

Please sign in to comment.
You can’t perform that action at this time.