]> git.mjollnir.org Git - moodle.git/commitdiff
fixed broken log links in admin menu; I noticed it some time ago, the merge seems...
authorskodak <skodak>
Wed, 15 Mar 2006 21:03:45 +0000 (21:03 +0000)
committerskodak <skodak>
Wed, 15 Mar 2006 21:03:45 +0000 (21:03 +0000)
blocks/admin/block_admin.php

index 877376cdb617e96351cc41c7474df20e6d442cdd..1699cbd8c688f6bb99db963aa1320d1d08a890bc 100644 (file)
@@ -52,7 +52,7 @@ class block_admin extends block_list {
         }
 
         if (isadmin()) {
-            $this->content->items[] = '<a href="'.$CFG->wwwroot.'/course/log.php?id='.SITEID.'">'.get_string('logs').'</a>';
+            $this->content->items[] = '<a href="'.$CFG->wwwroot.'/course/report/log/index.php?id='.SITEID.'">'.get_string('logs').'</a>';
             $this->content->icons[] = '<img src="'.$CFG->pixpath.'/i/log.gif" alt="" />';
 
 
@@ -169,7 +169,7 @@ class block_admin extends block_list {
             $this->content->items[]='<a href="'.$CFG->wwwroot.'/grade/index.php?id='.$this->instance->pageid.'">'.get_string('grades').'</a>';
             $this->content->icons[]='<img src="'.$CFG->pixpath.'/i/grades.gif" alt="" />';
 
-            $this->content->items[]='<a href="log.php?id='.$this->instance->pageid.'">'.get_string('logs').'</a>';
+            $this->content->items[]='<a href="report/log/index.php?id='.$this->instance->pageid.'">'.get_string('logs').'</a>';
             $this->content->icons[]='<img src="'.$CFG->pixpath.'/i/log.gif" alt="" />';
 
             if ($isteacheredit) {