]> git.mjollnir.org Git - moodle.git/commitdiff
MOved the main link to reports.php
authormoodler <moodler>
Mon, 16 Jul 2007 04:04:49 +0000 (04:04 +0000)
committermoodler <moodler>
Mon, 16 Jul 2007 04:04:49 +0000 (04:04 +0000)
blocks/admin/block_admin.php

index dec89df00124a566979359364ffa128362e58f42..704714f62cb61719f577b69a19673dea0d2c762f 100644 (file)
@@ -158,7 +158,7 @@ class block_admin extends block_list {
     /// View course grades (or just your own grades, same link)
         if ((has_capability('moodle/course:viewcoursegrades', $context) or 
             (has_capability('moodle/user:viewusergrades', $context) && $course->showgrades)) && ($course->id!==SITEID)) {
-            $this->content->items[]='<a href="'.$CFG->wwwroot.'/grade/index.php?id='.$this->instance->pageid.'">'.get_string('grades').'</a>';
+            $this->content->items[]='<a href="'.$CFG->wwwroot.'/grade/report.php?id='.$this->instance->pageid.'">'.get_string('grades').'</a>';
             $this->content->icons[]='<img src="'.$CFG->pixpath.'/i/grades.gif" class="icon" alt="" />';
         }