File: config.html

package info (click to toggle)
moodle 1.6.3-2%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 37,172 kB
  • ctags: 51,688
  • sloc: php: 231,916; sql: 5,631; xml: 2,688; sh: 1,185; perl: 638; makefile: 48; pascal: 36
file content (129 lines) | stat: -rw-r--r-- 3,646 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<form method="post" action="module.php" name="form">
<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>">

<table cellpadding="9" cellspacing="0" >

<tr>
  <td colspan="3" align="center">
     <div><b><?php print_string('generalconfig', 'chat')?></b></div>
     <div style="font-size: 0.8em;">(<?php print_string('explaingeneralconfig', 'chat')?>)</div>
  </td>
</tr>


<tr valign="top">
  <td align="right">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 valign="top">
  <td align="right">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">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 />
     <div><b><?php print_string('methodnormal', 'chat')?></b></div>
     <div style="font-size: 0.8em;">(<?php print_string('explainmethodnormal', 'chat')?>)</div>
  </td>
</tr>

<tr valign="top">
  <td align="right">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">chat_normal_updatemode:</td>
  <td>
<?php
       unset($options);
       $options['jsupdate']     = get_string('normalkeepalive', 'chat');
       $options['jsupdated']    = get_string('normalstream', 'chat');
       choose_from_menu ($options, "chat_normal_updatemode", $CFG->chat_normal_updatemode, "", "", "");
?>
    </td>
    <td>
    <?php print_string("confignormalupdatemode", "chat") ?>
    </td>
</tr>

<tr>
  <td colspan="3" align="center"><hr />
     <div><b><?php print_string('methoddaemon', 'chat')?></b></div>
     <div style="font-size: 0.8em;">(<?php print_string('explainmethoddaemon', 'chat')?>)</div>
  </td>
</tr>

<tr valign="top">
  <td align="right">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">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">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">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>