From: gustav_delius Date: Sun, 30 May 2004 11:43:29 +0000 (+0000) Subject: Fixed relative links in People block so that they work on the site home page. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c4f8793eceb4dad6426b1fbc4ab4be03d38c7b73;p=moodle.git Fixed relative links in People block so that they work on the site home page. --- 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 {