1 <form method=
"post" action=
"module.php" id=
"form">
3 <input type=
"hidden" name=
"sesskey" value=
"<?php echo $USER->sesskey ?>" />
5 <table cellpadding
="9" cellspacing
="0" >
8 <td colspan
="3" align
="center">
9 <div
><b
><?php
print_string('generalconfig', 'chat')?></b></div>
10 <div style=
"font-size: 0.8em;">(
<?php print_string('explaingeneralconfig', 'chat')?>)
</div>
16 <td align=
"right">chat_method:
</td>
20 $options['header_js'] = get_string('methodnormal', 'chat');
21 $options['sockets'] = get_string('methoddaemon', 'chat');
22 choose_from_menu ($options, "chat_method", $CFG->chat_method
, "", "", "");
26 <?php print_string("configmethod", "chat") ?>
30 <td align=
"right">chat_refresh_userlist:
</td>
32 <input name=
"chat_refresh_userlist" type=
"text" size=
"5" value=
"<?php p($CFG->chat_refresh_userlist) ?>" />
35 <?php
print_string("configrefreshuserlist", "chat") ?>
39 <td align=
"right">chat_old_ping:
</td>
41 <input name=
"chat_old_ping" type=
"text" size=
"5" value=
"<?php p($CFG->chat_old_ping) ?>" />
44 <?php
print_string("configoldping", "chat") ?>
49 <td colspan=
"3" align=
"center"><hr />
50 <div><b><?php print_string('methodnormal', 'chat')?></b></div>
51 <div style=
"font-size: 0.8em;">(
<?php print_string('explainmethodnormal', 'chat')?>)
</div>
56 <td align=
"right">chat_refresh_room:
</td>
58 <input name=
"chat_refresh_room" type=
"text" size=
"5" value=
"<?php p($CFG->chat_refresh_room) ?>" />
61 <?php
print_string("configrefreshroom", "chat") ?>
66 <td align=
"right">chat_normal_updatemode:
</td>
70 $options['jsupdate'] = get_string('normalkeepalive', 'chat');
71 $options['jsupdated'] = get_string('normalstream', 'chat');
72 choose_from_menu ($options, "chat_normal_updatemode", $CFG->chat_normal_updatemode
, "", "", "");
76 <?php print_string("confignormalupdatemode", "chat") ?>
81 <td colspan=
"3" align=
"center"><hr />
82 <div><b><?php print_string('methoddaemon', 'chat')?></b></div>
83 <div style=
"font-size: 0.8em;">(
<?php print_string('explainmethoddaemon', 'chat')?>)
</div>
88 <td align=
"right">chat_serverhost:
</td>
90 <input name=
"chat_serverhost" type=
"text" size=
"20" value=
"<?php p($CFG->chat_serverhost) ?>" />
93 <?php
print_string("configserverhost", "chat") ?>
97 <td align=
"right">chat_serverip:
</td>
99 <input name=
"chat_serverip" type=
"text" size=
"16" value=
"<?php p($CFG->chat_serverip) ?>" />
102 <?php
print_string("configserverip", "chat") ?>
106 <td align=
"right">chat_serverport:
</td>
108 <input name=
"chat_serverport" type=
"text" size=
"5" value=
"<?php p($CFG->chat_serverport) ?>" />
111 <?php
print_string("configserverport", "chat") ?>
115 <td align=
"right">chat_servermax:
</td>
117 <input name=
"chat_servermax" type=
"text" size=
"5" value=
"<?php p($CFG->chat_servermax) ?>" />
120 <?php
print_string("configservermax", "chat") ?>
125 <td colspan=
"3" align=
"center">
126 <input type=
"submit" value=
"<?php print_string("savechanges
") ?>" /></td
>