[svn r20950] FS#306 - The Chat tool: Declaring the system encoding for the main page that contains the frames. Thus, damaged text will not appear in the browser's title-bar.

skala
Ivan Tcholakov 16 years ago
parent 4442962217
commit b90a478dad
  1. 10
      main/chat/chat.php

@ -1,4 +1,4 @@
<?php // $Id: chat.php 18433 2009-02-11 14:58:51Z cvargas1 $
<?php // $Id: chat.php 20950 2009-05-23 16:52:57Z ivantcholakov $
/*
==============================================================================
Dokeos - elearning and course management software
@ -50,6 +50,7 @@ require_once('../inc/lib/events.lib.inc.php');
event_access_tool(TOOL_CHAT);
header('Content-Type: text/html; charset='. $charset);
/*
* Choose CSS style (platform's, user's, or course's)
@ -109,8 +110,9 @@ if (api_get_setting('show_navigation_menu')!='false') {
}
$cidreq=$_GET['cidReq'];
echo '<html>';
echo'<HEAD><TITLE>'.get_lang('Chat').' - '.$mycourseid.' - '.api_get_setting('siteName').'</TITLE>';
echo '<html><head>';
echo '<meta http-equiv="Content-Type" content="text/html; charset='.$charset.'" />';
echo'<title>'.get_lang('Chat').' - '.$mycourseid.' - '.api_get_setting('siteName').'</title>';
if (empty($open_chat_window))
{
@ -141,4 +143,4 @@ if (api_get_setting('show_navigation_menu')=='false') {
echo'<noframes></noframes>';
echo '</html>';
?>
?>

Loading…
Cancel
Save