2003-08-23 14:03:14 +00:00
|
|
|
<form method="post" action="module.php" name="form">
|
2004-10-03 09:48:08 +00:00
|
|
|
<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>">
|
2003-08-23 14:03:14 +00:00
|
|
|
|
2004-09-12 15:06:29 +00:00
|
|
|
<table cellpadding="9" cellspacing="0" >
|
2004-08-26 10:44:32 +00:00
|
|
|
|
|
|
|
<tr>
|
2004-09-12 15:06:29 +00:00
|
|
|
<td colspan="3" align="center">
|
2004-08-26 10:44:32 +00:00
|
|
|
<div><b><?php print_string('generalconfig', 'chat')?></b></div>
|
|
|
|
<div style="font-size: 0.8em;">(<?php print_string('explaingeneralconfig', 'chat')?>)</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
2004-09-12 15:06:29 +00:00
|
|
|
<tr valign="top">
|
|
|
|
<td align="right"><p>chat_method:</td>
|
2004-07-30 15:37:26 +00:00
|
|
|
<td>
|
|
|
|
<?php
|
|
|
|
unset($options);
|
|
|
|
$options['header_js'] = get_string('methodnormal', 'chat');
|
2004-07-30 15:48:02 +00:00
|
|
|
$options['sockets'] = get_string('methoddaemon', 'chat');
|
2004-07-30 15:37:26 +00:00
|
|
|
choose_from_menu ($options, "chat_method", $CFG->chat_method, "", "", "");
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("configmethod", "chat") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2004-09-12 15:06:29 +00:00
|
|
|
<tr valign="top">
|
|
|
|
<td align="right"><p>chat_refresh_userlist:</td>
|
2003-08-23 14:03:14 +00:00
|
|
|
<td>
|
2004-09-12 22:23:51 +00:00
|
|
|
<input name="chat_refresh_userlist" type="text" size="5" value="<?php p($CFG->chat_refresh_userlist) ?>" />
|
2003-08-23 14:03:14 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("configrefreshuserlist", "chat") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2004-09-12 15:06:29 +00:00
|
|
|
<tr valign="top">
|
|
|
|
<td align="right"><p>chat_old_ping:</td>
|
2003-08-23 14:03:14 +00:00
|
|
|
<td>
|
2004-09-12 22:23:51 +00:00
|
|
|
<input name="chat_old_ping" type="text" size="5" value="<?php p($CFG->chat_old_ping) ?>" />
|
2003-08-23 14:03:14 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("configoldping", "chat") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2004-07-30 15:37:26 +00:00
|
|
|
|
2004-08-26 10:44:32 +00:00
|
|
|
<tr>
|
2004-09-12 15:06:29 +00:00
|
|
|
<td colspan="3" align="center"><hr />
|
2004-08-26 10:44:32 +00:00
|
|
|
<div><b><?php print_string('methodnormal', 'chat')?></b></div>
|
|
|
|
<div style="font-size: 0.8em;">(<?php print_string('explainmethodnormal', 'chat')?>)</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2004-09-12 15:06:29 +00:00
|
|
|
<tr valign="top">
|
|
|
|
<td align="right"><p>chat_refresh_room:</td>
|
2004-08-26 10:44:32 +00:00
|
|
|
<td>
|
2004-09-12 22:23:51 +00:00
|
|
|
<input name="chat_refresh_room" type="text" size="5" value="<?php p($CFG->chat_refresh_room) ?>" />
|
2004-08-26 10:44:32 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("configrefreshroom", "chat") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2004-09-12 15:06:29 +00:00
|
|
|
<td colspan="3" align="center"><hr />
|
2004-08-26 10:44:32 +00:00
|
|
|
<div><b><?php print_string('methoddaemon', 'chat')?></b></div>
|
|
|
|
<div style="font-size: 0.8em;">(<?php print_string('explainmethoddaemon', 'chat')?>)</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2004-07-30 15:37:26 +00:00
|
|
|
|
2004-09-12 15:06:29 +00:00
|
|
|
<tr valign="top">
|
|
|
|
<td align="right"><p>chat_serverhost:</td>
|
2004-07-30 15:37:26 +00:00
|
|
|
<td>
|
2004-09-12 22:23:51 +00:00
|
|
|
<input name="chat_serverhost" type="text" size="20" value="<?php p($CFG->chat_serverhost) ?>" />
|
2004-07-30 15:37:26 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("configserverhost", "chat") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2004-09-12 15:06:29 +00:00
|
|
|
<tr valign="top">
|
|
|
|
<td align="right"><p>chat_serverip:</td>
|
2004-07-30 15:37:26 +00:00
|
|
|
<td>
|
2004-09-12 22:23:51 +00:00
|
|
|
<input name="chat_serverip" type="text" size="16" value="<?php p($CFG->chat_serverip) ?>" />
|
2004-07-30 15:37:26 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("configserverip", "chat") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2004-09-12 15:06:29 +00:00
|
|
|
<tr valign="top">
|
|
|
|
<td align="right"><p>chat_serverport:</td>
|
2004-07-30 15:37:26 +00:00
|
|
|
<td>
|
2004-09-12 22:23:51 +00:00
|
|
|
<input name="chat_serverport" type="text" size="5" value="<?php p($CFG->chat_serverport) ?>" />
|
2004-07-30 15:37:26 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("configserverport", "chat") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2004-09-12 15:06:29 +00:00
|
|
|
<tr valign="top">
|
|
|
|
<td align="right"><p>chat_servermax:</td>
|
2004-07-30 15:37:26 +00:00
|
|
|
<td>
|
2004-09-12 22:23:51 +00:00
|
|
|
<input name="chat_servermax" type="text" size="5" value="<?php p($CFG->chat_servermax) ?>" />
|
2004-07-30 15:37:26 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("configservermax", "chat") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2003-08-23 14:03:14 +00:00
|
|
|
<tr>
|
2004-09-12 15:06:29 +00:00
|
|
|
<td colspan="3" align="center">
|
2004-09-12 22:23:51 +00:00
|
|
|
<input type="submit" value="<?php print_string("savechanges") ?>" /></td>
|
2003-08-23 14:03:14 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</form>
|