From: moodler Date: Sun, 17 Aug 2003 07:29:36 +0000 (+0000) Subject: Tweaking student page, and also making it available to ordinary teachers X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4d9d90c0066288df488fc5988a0288cd6afccf59;p=moodle.git Tweaking student page, and also making it available to ordinary teachers --- diff --git a/course/lib.php b/course/lib.php index e5d33503bf..274251074c 100644 --- a/course/lib.php +++ b/course/lib.php @@ -752,10 +752,12 @@ function print_course_admin_links($course, $width=180) { } $admindata[]="id\">$course->teachers..."; $adminicon[]="\"\""; + } - $admindata[]="id\">$course->students..."; - $adminicon[]="\"\""; + $admindata[]="id\">$course->students..."; + $adminicon[]="\"\""; + if (isteacheredit($course->id)) { $admindata[]="wwwroot/backup/backup.php?id=$course->id\">".get_string("backup")."..."; $adminicon[]="\"\""; diff --git a/course/student.php b/course/student.php index 3bc2fe6321..35f87576f6 100644 --- a/course/student.php +++ b/course/student.php @@ -84,8 +84,8 @@ /// Print the lists of existing and potential students - echo ""; - echo ""; + echo "
$strexistingstudents$parastudents$strpotentialstudents
"; + echo ""; echo ""; echo "
$strexistingstudents$parastudents $strpotentialstudents
"; /// First, show existing students for this course @@ -104,6 +104,7 @@ unset($studentarray); } + echo " "; /// Print list of potential students