From a08b9fe9d4ffa296c93d3ba2b83c7f6ab7500026 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 31 Dec 2003 13:39:59 +0000 Subject: [PATCH] Changes to improve group images --- course/group.php | 4 ++-- course/groups-summary.html | 2 +- course/groups.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/course/group.php b/course/group.php index d1028ce5e0..2d3ecc0446 100644 --- a/course/group.php +++ b/course/group.php @@ -61,14 +61,14 @@ if ($USER->groupediting) { // Make an editing form for group information print_heading($group->name); echo '
'; - print_group_picture($group->id, $course->id, $group->picture, true, false, false); + print_group_picture($group, $course->id, true, false, false); echo '
'; print_simple_box($group->description, 'center', '50%'); } else { // Just display the information print_heading($group->name); echo '
'; - print_group_picture($group->id, $course->id, $group->picture, true, false, false); + print_group_picture($group, $course->id, true, false, false); echo '
'; print_simple_box($group->description, 'center', '50%'); } diff --git a/course/groups-summary.html b/course/groups-summary.html index d8f97da93c..8304c3a93a 100644 --- a/course/groups-summary.html +++ b/course/groups-summary.html @@ -1,6 +1,6 @@ - +
picture ?>picture ?>

name ?>

description ?>

    id); foreach ($groups as $group) { $t = $group; - $t->picture = print_group_picture($group->id, $course->id, $group->picture, true, true, true); + $t->picture = print_group_picture($group, $course->id, true, true, true); if ($t->users = get_users_in_group($group->id)) { foreach ($t->users as $key => $user) { $t->users[$key]->fullname = fullname($user, $isteacher); -- 2.39.5