adding some strings
[moodle-linuxchix.git] / mod / chat / config.html
blobc3796c2f019040e4de839599ff518734421021f5
1 <form method="post" action="module.php" id="form">
2 <div>
3 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
5 <table cellpadding="9" cellspacing="0" >
7 <tr>
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>
11 </td>
12 </tr>
15 <tr valign="top">
16 <td align="right">chat_method:</td>
17 <td>
18 <?php
19 unset($options);
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, "", "", "");
24 </td>
25 <td>
26 <?php print_string("configmethod", "chat") ?>
27 </td>
28 </tr>
29 <tr valign="top">
30 <td align="right">chat_refresh_userlist:</td>
31 <td>
32 <input name="chat_refresh_userlist" type="text" size="5" value="<?php p($CFG->chat_refresh_userlist) ?>" />
33 </td>
34 <td>
35 <?php print_string("configrefreshuserlist", "chat") ?>
36 </td>
37 </tr>
38 <tr valign="top">
39 <td align="right">chat_old_ping:</td>
40 <td>
41 <input name="chat_old_ping" type="text" size="5" value="<?php p($CFG->chat_old_ping) ?>" />
42 </td>
43 <td>
44 <?php print_string("configoldping", "chat") ?>
45 </td>
46 </tr>
48 <tr>
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>
52 </td>
53 </tr>
55 <tr valign="top">
56 <td align="right">chat_refresh_room:</td>
57 <td>
58 <input name="chat_refresh_room" type="text" size="5" value="<?php p($CFG->chat_refresh_room) ?>" />
59 </td>
60 <td>
61 <?php print_string("configrefreshroom", "chat") ?>
62 </td>
63 </tr>
65 <tr valign="top">
66 <td align="right">chat_normal_updatemode:</td>
67 <td>
68 <?php
69 unset($options);
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, "", "", "");
74 </td>
75 <td>
76 <?php print_string("confignormalupdatemode", "chat") ?>
77 </td>
78 </tr>
80 <tr>
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>
84 </td>
85 </tr>
87 <tr valign="top">
88 <td align="right">chat_serverhost:</td>
89 <td>
90 <input name="chat_serverhost" type="text" size="20" value="<?php p($CFG->chat_serverhost) ?>" />
91 </td>
92 <td>
93 <?php print_string("configserverhost", "chat") ?>
94 </td>
95 </tr>
96 <tr valign="top">
97 <td align="right">chat_serverip:</td>
98 <td>
99 <input name="chat_serverip" type="text" size="16" value="<?php p($CFG->chat_serverip) ?>" />
100 </td>
101 <td>
102 <?php print_string("configserverip", "chat") ?>
103 </td>
104 </tr>
105 <tr valign="top">
106 <td align="right">chat_serverport:</td>
107 <td>
108 <input name="chat_serverport" type="text" size="5" value="<?php p($CFG->chat_serverport) ?>" />
109 </td>
110 <td>
111 <?php print_string("configserverport", "chat") ?>
112 </td>
113 </tr>
114 <tr valign="top">
115 <td align="right">chat_servermax:</td>
116 <td>
117 <input name="chat_servermax" type="text" size="5" value="<?php p($CFG->chat_servermax) ?>" />
118 </td>
119 <td>
120 <?php print_string("configservermax", "chat") ?>
121 </td>
122 </tr>
124 <tr>
125 <td colspan="3" align="center">
126 <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
127 </tr>
128 </table>
129 </div>
130 </form>