mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
CHAT_MOD/MDL-14651
1. support BEEP message 2. add "console" object to debug
This commit is contained in:
parent
1686b89a54
commit
2c907a53b6
4 changed files with 19 additions and 18 deletions
|
@ -60,7 +60,7 @@ if (!$chat_sid = chat_login_user($chat->id, 'ajax', $groupid, $course)) {
|
|||
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpswwwroot;?>/lib/yui/layout/assets/skins/sam/layout.css" />
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpswwwroot;?>/lib/yui/button/assets/skins/sam/button.css" />
|
||||
<?php
|
||||
print_js_config(array('sid'=>$chat_sid,'timer'=>5000, 'chat_lasttime'=>0,'chat_lastrow'=>null, 'header_title'=>$strchat), 'chat_cfg');
|
||||
print_js_config(array('userid'=>$USER->id, 'sid'=>$chat_sid,'timer'=>5000, 'chat_lasttime'=>0,'chat_lastrow'=>null,'header_title'=>$strchat,'chatroom_name'=>$str_title), 'chat_cfg');
|
||||
print_js_config(array('send'=>$str_send, 'sending'=>$str_sending), 'chat_lang');
|
||||
?>
|
||||
<script type="text/javascript" src="<?php echo $CFG->httpswwwroot;?>/lib/yui/yahoo-dom-event/yahoo-dom-event.js"></script>
|
||||
|
@ -93,5 +93,7 @@ print_js_config(array('send'=>$str_send, 'sending'=>$str_sending), 'chat_lang');
|
|||
<ul id="msg_list">
|
||||
<ul>
|
||||
</div>
|
||||
<div id="notify">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue