Now the help link in the admin block points to Docs. Bug 4803.

(http://moodle.org/bugs/bug.php?op=show&bugid=4803)
This commit is contained in:
stronk7
2006-05-05 17:54:59 +00:00
parent e48f4e502d
commit 474c8d3f00
+3 -1
View File
@@ -186,7 +186,9 @@ class block_admin extends block_list {
$this->content->icons[] = '<img src="'.$CFG->pixpath.'/i/payment.gif" alt="" />';
}
$this->content->items[]='<a href="'.$CFG->wwwroot.'/doc/view.php?id='.$this->instance->pageid.'&amp;file=teacher.html">'.get_string('help').'</a>';
$lang = str_replace('_utf8', '', current_language());
$this->content->items[]='<a href="http://docs.moodle.org/'.$lang.'/Teacher_documentation">'.get_string('help').'</a>';
$this->content->icons[]='<img src="'.$CFG->modpixpath.'/resource/icon.gif" alt="" />';
if ($teacherforum = forum_get_course_forum($this->instance->pageid, 'teacher')) {