diff --git a/mod/chat/gui_header_js/index.php b/mod/chat/gui_header_js/index.php index daad433734e..e9443e997d9 100644 --- a/mod/chat/gui_header_js/index.php +++ b/mod/chat/gui_header_js/index.php @@ -59,7 +59,7 @@ - <?php echo "$strchat: $course->shortname: $chat->name$groupname" ?> + <?php echo "$strchat: $course->shortname: ".format_string($chat->name,true)."$groupname" ?> diff --git a/mod/chat/gui_sockets/index.php b/mod/chat/gui_sockets/index.php index 94f322cfde9..7cf551b3c35 100644 --- a/mod/chat/gui_sockets/index.php +++ b/mod/chat/gui_sockets/index.php @@ -59,7 +59,7 @@ - <?php echo "$strchat: $course->shortname: $chat->name$groupname" ?> + <?php echo "$strchat: $course->shortname: ".format_string($chat->name,true)."$groupname" ?> diff --git a/mod/chat/index.php b/mod/chat/index.php index 542f55d5da3..d9d5be8cc0f 100644 --- a/mod/chat/index.php +++ b/mod/chat/index.php @@ -53,10 +53,10 @@ foreach ($chats as $chat) { if (!$chat->visible) { //Show dimmed if the mod is hidden - $link = "coursemodule\">$chat->name"; + $link = "coursemodule\">".format_string($chat->name,true).""; } else { //Show normal if the mod is visible - $link = "coursemodule\">$chat->name"; + $link = "coursemodule\">".format_string($chat->name,true).""; } $printsection = ''; if ($chat->section !== $currentsection) { diff --git a/mod/chat/lib.php b/mod/chat/lib.php index 3b4fdfa6570..92a7909197e 100644 --- a/mod/chat/lib.php +++ b/mod/chat/lib.php @@ -203,7 +203,7 @@ function chat_print_recent_activity($course, $isteacher, $timestart) { print_headline(get_string('currentchats', 'chat').':'); $outputstarted = true; } - echo '

'.$chat->name.'