mirror of
https://github.com/moodle/moodle.git
synced 2025-02-11 03:03:43 +01:00
95 lines
2.5 KiB
HTML
95 lines
2.5 KiB
HTML
<form method="post" action="module.php" name="form">
|
|
|
|
<table cellpadding=9 cellspacing=0 >
|
|
<tr valign=top>
|
|
<td align=right><p>chat_method:</td>
|
|
<td>
|
|
<?php
|
|
unset($options);
|
|
$options['header_js'] = get_string('methodnormal', 'chat');
|
|
$options['sockets'] = get_string('methoddaemon', 'chat');
|
|
choose_from_menu ($options, "chat_method", $CFG->chat_method, "", "", "");
|
|
?>
|
|
</td>
|
|
<td>
|
|
<?php print_string("configmethod", "chat") ?>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td colspan=3 align=center><hr /><b><?php print_string('methodnormal', 'chat')?></b></td></tr>
|
|
|
|
<tr valign=top>
|
|
<td align=right><p>chat_refresh_room:</td>
|
|
<td>
|
|
<input name=chat_refresh_room type=text size=5 value="<?php p($CFG->chat_refresh_room) ?>">
|
|
</td>
|
|
<td>
|
|
<?php print_string("configrefreshroom", "chat") ?>
|
|
</td>
|
|
</tr>
|
|
<tr valign=top>
|
|
<td align=right><p>chat_refresh_userlist:</td>
|
|
<td>
|
|
<input name=chat_refresh_userlist type=text size=5 value="<?php p($CFG->chat_refresh_userlist) ?>">
|
|
</td>
|
|
<td>
|
|
<?php print_string("configrefreshuserlist", "chat") ?>
|
|
</td>
|
|
</tr>
|
|
<tr valign=top>
|
|
<td align=right><p>chat_old_ping:</td>
|
|
<td>
|
|
<input name=chat_old_ping type=text size=5 value="<?php p($CFG->chat_old_ping) ?>">
|
|
</td>
|
|
<td>
|
|
<?php print_string("configoldping", "chat") ?>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td colspan=3 align=center><hr /><b><?php print_string('methoddaemon', 'chat')?></b></td></tr>
|
|
|
|
<tr valign=top>
|
|
<td align=right><p>chat_serverhost:</td>
|
|
<td>
|
|
<input name=chat_serverhost type=text size=20 value="<?php p($CFG->chat_serverhost) ?>">
|
|
</td>
|
|
<td>
|
|
<?php print_string("configserverhost", "chat") ?>
|
|
</td>
|
|
</tr>
|
|
<tr valign=top>
|
|
<td align=right><p>chat_serverip:</td>
|
|
<td>
|
|
<input name=chat_serverip type=text size=16 value="<?php p($CFG->chat_serverip) ?>">
|
|
</td>
|
|
<td>
|
|
<?php print_string("configserverip", "chat") ?>
|
|
</td>
|
|
</tr>
|
|
<tr valign=top>
|
|
<td align=right><p>chat_serverport:</td>
|
|
<td>
|
|
<input name=chat_serverport type=text size=5 value="<?php p($CFG->chat_serverport) ?>">
|
|
</td>
|
|
<td>
|
|
<?php print_string("configserverport", "chat") ?>
|
|
</td>
|
|
</tr>
|
|
<tr valign=top>
|
|
<td align=right><p>chat_servermax:</td>
|
|
<td>
|
|
<input name=chat_servermax type=text size=5 value="<?php p($CFG->chat_servermax) ?>">
|
|
</td>
|
|
<td>
|
|
<?php print_string("configservermax", "chat") ?>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan=3 align=center>
|
|
<input type="submit" value="<?php print_string("savechanges") ?>"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|