]> git.mjollnir.org Git - moodle.git/commitdiff
Small polishing change: the "go to calendar" link takes you to the
authordefacer <defacer>
Fri, 21 May 2004 12:03:06 +0000 (12:03 +0000)
committerdefacer <defacer>
Fri, 21 May 2004 12:03:06 +0000 (12:03 +0000)
upcoming events screen.

blocks/calendar_upcoming/block_calendar_upcoming.php

index 45ae6a750e10b2da385f2ff298d65ab838b318b6..1e4540261c5eb754e6cad68186329082dcd22f5e 100644 (file)
@@ -21,7 +21,7 @@ class CourseBlock_calendar_upcoming extends MoodleBlock {
 
         $this->content = New object;
         $this->content->text = '';
-        $this->content->footer = '<br /><a href="'.$CFG->wwwroot.'/calendar/view.php?view=month">'.get_string('gotocalendar', 'calendar').'</a>...';
+        $this->content->footer = '<br /><a href="'.$CFG->wwwroot.'/calendar/view.php?view=upcoming">'.get_string('gotocalendar', 'calendar').'</a>...';
         $this->content->footer .= '<br /><a href="'.$CFG->wwwroot.'/calendar/event.php?action=new">'.get_string('newevent', 'calendar').'</a>...';
 
         if($this->course === NULL) {