From c4f8793eceb4dad6426b1fbc4ab4be03d38c7b73 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 30 May 2004 11:43:29 +0000 Subject: [PATCH] Fixed relative links in People block so that they work on the site home page. --- blocks/participants/block_participants.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blocks/participants/block_participants.php b/blocks/participants/block_participants.php index 9ed78fc408..6970b186fa 100644 --- a/blocks/participants/block_participants.php +++ b/blocks/participants/block_participants.php @@ -23,24 +23,24 @@ class CourseBlock_participants extends MoodleBlock { $strgroups = get_string('groups'); $strgroupmy = get_string('groupmy'); - $this->content->items[]=''.get_string('participants').''; + $this->content->items[]=''.get_string('participants').''; $this->content->icons[]=''; if ($this->course->groupmode or !$this->course->groupmodeforce) { if ($this->course->groupmode == VISIBLEGROUPS or isteacheredit($this->course->id)) { - $this->content->items[]=''.$strgroups.''; + $this->content->items[]=''.$strgroups.''; $this->content->icons[]=''; } else if ($this->course->groupmode == SEPARATEGROUPS and $this->course->groupmodeforce) { // Show nothing } else if ($currentgroup = get_current_group($this->course->id)) { - $this->content->items[]=''.$strgroupmy.''; + $this->content->items[]=''.$strgroupmy.''; $this->content->icons[]=''; } } if(!empty($USER)) { $fullname = fullname($USER, true); - $editmyprofile = ''.get_string('editmyprofile').''; + $editmyprofile = ''.get_string('editmyprofile').''; if ($USER->description) { $this->content->items[]= $editmyprofile; } else { -- 2.39.5