From: moodler Date: Fri, 16 Apr 2004 07:13:10 +0000 (+0000) Subject: Link to teacher forum is now shown in the current langage always X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=450c3d39cc99fc48a05d73993b489df60675bec4;p=moodle.git Link to teacher forum is now shown in the current langage always --- diff --git a/course/lib.php b/course/lib.php index d70f247825..c7801c1dfc 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1154,7 +1154,7 @@ function print_course_admin_links($course, $width=180) { $adminicon[]="modpixpath/resource/icon.gif\" height=16 width=16 alt=\"\">"; if ($teacherforum = forum_get_course_forum($course->id, "teacher")) { - $admindata[]="wwwroot/mod/forum/view.php?f=$teacherforum->id\">$teacherforum->name"; + $admindata[]="wwwroot/mod/forum/view.php?f=$teacherforum->id\">".get_string("nameteacher","forum").""; $adminicon[]="modpixpath/forum/icon.gif\" height=16 width=16 alt=\"\">"; }