If you would find it convenient to have a list of all the courses that a student is enrolled in showing up in the student's full profile then you could add the following lines to cvs:/moodle/user/view.php:
if ($students = get_records("user_students", "userid", $user->id)) {
$strcourses = "";
foreach ($students as $student) {
$course = get_record("course", "id", $student->course);
if ($course->visible) {
$strcourses .= "<a href=\"{$CFG->wwwroot}/course/view.php?id=$course->id\">$course->fullname</a>, ";
}
}
print_row("Enrolled in:", $strcourses);
}
A good place to add this is right after the lines
if ($user->icq) {
print_row("icq:","<a href=\"$user->icq">http://web.icq.com/wwp?uin=$user->icq\">$user->icq <img src=\"http://web.icq.com/whitepages/online?icq=$user->icq&img=5\" width=18 height=18 border=0></a>");
}