Just for now, because the new one isn't ready to unleash yet

This commit is contained in:
moodler
2005-03-17 21:32:48 +00:00
parent e5bc2f2254
commit 2bdc20c709
+2 -2
View File
@@ -124,7 +124,7 @@ class block_admin extends block_list {
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/scales.gif" height="16" width="16" alt="" />';
}
$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.'/course/grades.php?id='.$this->instance->pageid.'">'.get_string('grades').'...</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/grades.gif" height="16" width="16" alt="" />';
$this->content->items[]='<a href="log.php?id='.$this->instance->pageid.'">'.get_string('logs').'...</a>';
@@ -146,7 +146,7 @@ class block_admin extends block_list {
} else if (!isguest()) { // Students menu
if ($course->showgrades) {
$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.'/course/grade.php?id='.$this->instance->pageid.'">'.get_string('grades').'...</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/grades.gif" height="16" width="16" alt="" />';
}
if ($course->showreports) {