diff --git a/main/chat/chat.php b/main/chat/chat.php index cb18b37e9a..9229f20c6d 100644 --- a/main/chat/chat.php +++ b/main/chat/chat.php @@ -1,4 +1,4 @@ - - - - - -Chat - - - + - + &target=" name="chat_chat" scrolling="auto"> + diff --git a/main/chat/chat_chat.php b/main/chat/chat_chat.php index 82feb4a417..c4101409f4 100755 --- a/main/chat/chat_chat.php +++ b/main/chat/chat_chat.php @@ -133,11 +133,12 @@ if ($_GET["origin"]=='whoisonlinejoin') { //the joiner (we have to delete the $result=api_sql_query($sql,__FILE__,__LINE__); } - +echo '
'; foreach($content as $thisLine) { echo "$thisLine
"; } +echo '
'; ?> @@ -151,7 +152,7 @@ if($isMaster)
- +
diff --git a/main/chat/chat_footer.php b/main/chat/chat_footer.php new file mode 100644 index 0000000000..2482eddb0e --- /dev/null +++ b/main/chat/chat_footer.php @@ -0,0 +1,19 @@ +'; + +/* +============================================================================== + FOOTER +============================================================================== +*/ + +Display::display_footer(); + +?> diff --git a/main/chat/chat_message.php b/main/chat/chat_message.php index a8aca31fde..e31c46a8aa 100755 --- a/main/chat/chat_message.php +++ b/main/chat/chat_message.php @@ -74,7 +74,6 @@ $isMaster=$is_courseAdmin?true:false; exit(); }*/ -$timeNow=date('H:i'); $dateNow=date('Y-m-d'); $documentPath=api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; @@ -128,11 +127,11 @@ if($sent) if($isMaster) { - fputs($fp,"[$timeNow] $pseudoUser : $message\n"); + fputs($fp,"$pseudoUser : $message\n"); } else { - fputs($fp,"[$timeNow] $pseudoUser : $message\n"); + fputs($fp,"$pseudoUser : $message\n"); } fclose($fp); @@ -151,9 +150,7 @@ include('header_frame.inc.php');
 
- - - +
 
diff --git a/main/chat/chat_whoisonline.php b/main/chat/chat_whoisonline.php index 5be86298dd..2a11f005b9 100755 --- a/main/chat/chat_whoisonline.php +++ b/main/chat/chat_whoisonline.php @@ -77,7 +77,7 @@ foreach($Users as $enreg) ?> - + '; else echo '';?> name="user_" href="?showPic=#user_">