From 5fc835a5334d7d16a390f3f4c64f4dc55f8d1f4d Mon Sep 17 00:00:00 2001 From: nfreear Date: Tue, 16 May 2006 10:59:27 +0000 Subject: [PATCH] Merged from STABLE. --- course/lib.php | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/course/lib.php b/course/lib.php index 6f6a2e05fd..1b6e80aea3 100644 --- a/course/lib.php +++ b/course/lib.php @@ -784,7 +784,7 @@ function print_recent_activity($course) { echo ''.get_string('recentactivityreport').''; - echo ''; + echo "\n"; // Firstly, have there been any new enrolments? @@ -794,18 +794,21 @@ function print_recent_activity($course) { $users = get_recent_enrolments($course->id, $timestart); + //Accessibility: new users now appear in an
    list. if ($users) { echo '
    '; + if (! $heading) { + print_headline(get_string("newusers").':', 3); + $heading = true; + $content = true; + } + echo "
      \n"; foreach ($users as $user) { - if (! $heading) { - print_headline(get_string("newusers").':', 3); - $heading = true; - $content = true; - } + $fullname = fullname($user, $isteacher); - echo 'id&course=$course->id\">$fullname
      "; + echo '
    1. id&course=$course->id\">$fullname
    2. \n"; } - echo '
    '; + echo "
\n\n"; } // Next, have there been any modifications to the course structure? -- 2.39.5