From 222aa60d3f327f0e57c5cf40db266d5dcf3a27e0 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 9 Mar 2006 07:40:41 +0000 Subject: [PATCH] Adding reports link. --- blocks/admin/block_admin.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 3f517d6e7c7..f9dfeb90adf 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -144,6 +144,8 @@ class block_admin extends block_list { $this->content->items[]=''.get_string('import').''; $this->content->icons[]=''; + $this->content->items[]=''.get_string('reports').''; + $this->content->icons[]=''; $this->content->items[]=''.get_string('questions', 'quiz').''; $this->content->icons[]=''; @@ -151,10 +153,6 @@ class block_admin extends block_list { $this->content->items[]=''.get_string('scales').''; $this->content->icons[]=''; - if (!empty($CFG->enablestats)) { - $this->content->items[] = ''.get_string('stats').''; - $this->content->icons[] = ''; - } } $this->content->items[]=''.get_string('grades').'';