From: stronk7 Date: Fri, 5 May 2006 17:56:56 +0000 (+0000) Subject: Now the help link in the admin block points to Docs. Bug 4803. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0045d58c69993bea7dfc5aad344b0b8dd3f147cf;p=moodle.git Now the help link in the admin block points to Docs. Bug 4803. (http://moodle.org/bugs/bug.php?op=show&bugid=4803) Merged from MOODLE_16_STABLE --- diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 6523461088..7a33c01031 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -186,7 +186,9 @@ class block_admin extends block_list { $this->content->icons[] = ''; } - $this->content->items[]=''.get_string('help').''; + $lang = str_replace('_utf8', '', current_language()); + + $this->content->items[]=''.get_string('help').''; $this->content->icons[]=''; if ($teacherforum = forum_get_course_forum($this->instance->pageid, 'teacher')) {