~ubuntu-branches/ubuntu/raring/znc/raring

« back to all changes in this revision

Viewing changes to modules/webadmin/skins/default/UserPage.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2010-02-16 14:26:58 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100216142658-q3kmaeyuu9f1svhk
Tags: 0.080~rc1-1
* New upstream release candidate.
  - Add new modules flooddetach, clientnotify and block_motd.
* Merge 0.078-1~bpo50+1 changelog.
* Bump Standards-Version to 3.8.4 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
        <div class="section">
5
5
                <input type="hidden" name="submitted" value="1" />
6
6
 
7
 
                <div class="sectiontitle">Authentication</div>
 
7
                <h3>Authentication</h3>
8
8
                <div class="sectionbg">
9
9
                        <div class="sectionbody">
10
10
                                <div class="subsection">
17
17
                                                <input type="text" name="user" value="<? VAR Username ESC=HTML ?>" class="half" maxlength="128" />
18
18
                                                <? ENDIF ?>
19
19
                                        </div>
20
 
 
 
20
                                </div>
 
21
                                <div class="subsection">
21
22
                                        <div class="inputlabel">Password:</div>
22
23
                                        <div><input type="password" name="password" class="half" /></div>
 
24
                                </div>
 
25
                                <div class="subsection">
23
26
                                        <div class="inputlabel">Confirm Password:</div>
24
27
                                        <div><input type="password" name="password2" class="half" /></div>
25
28
                                </div>
26
 
                                <div>
 
29
                                <div class="subsection half">
27
30
                                        <div class="inputlabel">Allowed IPs:</div>
28
 
                                        <textarea name="allowedips" class="half"><? LOOP AllowedHostLoop ?><? VAR Host ESC=HTML ?>
 
31
                                        <textarea name="allowedips" cols="70" rows="5"><? LOOP AllowedHostLoop ?><? VAR Host ESC=HTML ?>
29
32
<? ENDLOOP ?>
30
33
</textarea>
31
 
                                        <? IF OwnIP ?>
32
 
                                                <div class="subsection">
33
 
                                                        <span style="white-space: nowrap;"><input type="checkbox" name="ownip" id="ownip" value="<? VAR OwnIP ESC=HTML ?>" checked="checked" /><label for="ownip"> <? VAR OwnIP ESC=HTML ?> (your current ip)</label></span>&nbsp;&nbsp;
34
 
                                                </div>
35
 
                                        <? ENDIF ?>
 
34
                                        <br /><span class="info">Leave empty to allow connections from all IPs.<br />
 
35
                                        Otherwise, one entry per line, wildcards * and ? are available.</span>
36
36
                                </div>
37
37
                                <div style="clear: both;"></div>
38
38
                        </div>
40
40
        </div>
41
41
 
42
42
        <div class="section">
43
 
                <div class="sectiontitle">IRC Information</div>
 
43
                <h3>IRC Information</h3>
 
44
                <? IF !Edit ?>
 
45
                <span class="info">Nick, AltNick, Ident, RealName and QuitMsg can be left empty to use default values.</span>
 
46
                <? ENDIF ?>
44
47
                <div class="sectionbg">
45
48
                        <div class="sectionbody">
46
49
                                <div class="subsection">
84
87
                                </div>
85
88
                                <div style="clear: both;"></div>
86
89
 
87
 
                                <div class="subsection">
 
90
                                <div class="subsection half">
88
91
                                        <div class="inputlabel">Servers:</div>
89
 
                                        <div><textarea name="servers" class="half"><? LOOP ServerLoop ?><? VAR Server ESC=HTML ?>
 
92
                                        <div><textarea name="servers" cols="70" rows="5"><? LOOP ServerLoop ?><? VAR Server ESC=HTML ?>
90
93
<? ENDLOOP ?>
91
94
</textarea></div>
 
95
                                        <br /><span class="info">One server per line, host [+]port[ password]</span>
92
96
                                </div>
93
97
                                <div style="clear: both;"></div>
94
98
                        </div>
96
100
        </div>
97
101
 
98
102
        <div class="section">
99
 
                <div class="sectiontitle">Modules</div>
 
103
                <h3>Modules</h3>
100
104
                <div class="sectionbg">
101
105
                        <div class="sectionbody">
102
106
                                <table>
107
111
                                                <td>Description</td>
108
112
                                        </tr>
109
113
                                        </thead>
 
114
                                        <tbody>
110
115
 
111
116
                                <? LOOP ModuleLoop ?>
112
117
                                        <tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
113
 
                                                <td>
 
118
                                                <td class="mod_name">
114
119
                                                        <input type="checkbox" name="loadmod" id="lm_<? VAR Name ESC=HTML ?>" value="<? VAR Name ESC=HTML ?>"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="lm_<? VAR Name ESC=HTML ?>"> <? VAR Name ESC=HTML ?></label>
115
120
                                                </td>
116
 
                                                <td>
 
121
                                                <td class="mod_args">
117
122
                                                        <? IF Disabled ?><? VAR Args ESC=HTML ?><? ELSE ?><input class="third" type="text" name="modargs_<? VAR Name ESC=HTML ?>" value="<? VAR Args ESC=HTML ?>" /><? ENDIF ?>
118
123
                                                </td>
119
 
                                                <td><? VAR Description ESC=HTML ?></td>
 
124
                                                <td class="mod_descr"><? VAR Description ESC=HTML ?></td>
120
125
                                        </tr>
121
126
                                <? ENDLOOP ?>
122
127
 
 
128
                                        </tbody>
123
129
                                </table>
124
130
                        </div>
125
131
                </div>
126
132
        </div>
127
133
 
128
134
        <div class="section">
129
 
                <div class="sectiontitle">Channels</div>
 
135
                <h3>Channels</h3>
 
136
                <? IF !Edit ?>
 
137
                <span class="info">You will be able to add + modify channels here after you created the user.</span><br />
 
138
                <? ELSE ?>
130
139
                <div class="sectionbg">
131
140
                        <div class="sectionbody">
132
 
                                <div class="subsection">
133
 
                                        <div class="inputlabel">Default Modes:</div>
134
 
                                        <div><input type="text" name="chanmodes" value="<? VAR DefaultChanModes ESC=HTML ?>" class="third" maxlength="32" /></div>
135
 
                                </div>
136
 
                                <div style="clear: both;"></div>
137
 
 
138
 
                        <? IF Edit ?>
139
141
                                <table>
140
142
                                        <thead>
141
143
                                        <tr>
153
155
                                        </tr>
154
156
                                        </thead>
155
157
 
 
158
                                        <tbody>
156
159
                        <? LOOP ChannelLoop ?>
157
160
                                        <tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
158
161
                                                <td>
167
170
                                                <td><? VAR Options ESC=HTML ?></td>
168
171
                                        </tr>
169
172
                        <? ENDLOOP ?>
 
173
                                        </tbody>
170
174
                                </table>
171
 
                        <? ENDIF ?>
172
 
                        </div>
173
 
                </div>
174
 
        </div>
175
 
 
176
 
        <div class="section">
177
 
                <div class="sectiontitle">ZNC Behavior</div>
 
175
                        </div>
 
176
                </div>
 
177
                <? ENDIF ?>
 
178
        </div>
 
179
 
 
180
        <div class="section">
 
181
                <h3>Default Channel Settings</h3>
 
182
                <div class="sectionbg">
 
183
                        <div class="sectionbody">
 
184
                                <div class="subsection third">
 
185
                                        <div class="inputlabel">Modes:</div>
 
186
                                        <div><input type="text" name="chanmodes" value="<? VAR DefaultChanModes ESC=HTML ?>" maxlength="32" /></div>
 
187
                                        <br /><span class="info">Empty = use standard value</span>
 
188
                                </div>
 
189
                                <div class="subsection third">
 
190
                                        <div class="inputlabel">Buffer Size:</div>
 
191
                                        <div><input type="text" name="bufsize" value="<? VAR BufferCount ESC=HTML ?>" maxlength="9" /></div>
 
192
                                        <br /><span class="info">Empty = use standard value</span>
 
193
                                </div>
 
194
                        </div>
 
195
                </div>
 
196
        </div>
 
197
 
 
198
        <div class="section">
 
199
                <h3>Flags</h3>
 
200
                <div class="sectionbg">
 
201
                        <div class="sectionbody lotsofcheckboxes">
 
202
                                <? LOOP OptionLoop ?>
 
203
                                <span class="checkboxandlabel">
 
204
                                        <input type="checkbox" name="<? VAR Name ESC=HTML?>" id="opt_<? VAR Name ESC=HTML ?>" value="1"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> />
 
205
                                        <label for="opt_<? VAR Name ESC=HTML ?>"><? VAR DisplayName ESC=HTML ?></label>
 
206
                                </span>
 
207
                                <? ENDLOOP ?>
 
208
                                <div style="clear:both;"></div>
 
209
                        </div>
 
210
                </div>
 
211
        </div>
 
212
 
 
213
        <div class="section">
 
214
                <h3>ZNC Behavior</h3>
 
215
                <span class="info">Any of the following text boxes can be left empty to use their default value.</span>
178
216
                <div class="sectionbg">
179
217
                        <div class="sectionbody">
180
218
                                <div class="subsection">
181
219
                                        <div class="inputlabel">Timestamp Format:</div>
182
 
                                        <div><input type="text" name="timestampformat" value="<? VAR TimestampFormat ESC=HTML ?>" class="full" /></div>
183
 
                                </div>
184
 
                                <div class="subsection">
185
 
                                        <div class="inputlabel">Playback Buffer Size:</div>
186
 
                                        <div><input type="text" name="bufsize" value="<? VAR BufferCount ESC=HTML ?>" class="third" maxlength="9" /></div>
187
 
                                </div>
188
 
                                <div class="subsection">
189
 
                                        <div class="inputlabel">Timezone offset:</div>
 
220
                                        <div><input type="text" name="timestampformat" value="<? VAR TimestampFormat ESC=HTML ?>" class="half" /></div>
 
221
                                </div>
 
222
                                <div class="subsection">
 
223
                                        <div class="inputlabel">Timezone Offset:</div>
190
224
                                        <div><input type="text" name="timezoneoffset" value="<? VAR TimezoneOffset ESC=HTML ?>" class="third" /></div>
191
225
                                </div>
192
226
                                <div class="subsection">
197
231
                                        <div class="inputlabel">Max Joins:</div>
198
232
                                        <div><input type="text" name="maxjoins" value="<? VAR MaxJoins ESC=HTML ?>" class="third" /></div>
199
233
                                </div>
200
 
                                <div style="clear: both;"></div>
201
 
 
202
 
                                <div style="margin-bottom: 10px;">
203
 
                                        <div class="inputlabel">Options:</div>
204
 
                                        <? LOOP OptionLoop ?>
205
 
                                        <span style="white-space: nowrap;"><input type="checkbox" name="<? VAR Name ESC=HTML?>" id="opt_<? VAR Name ESC=HTML ?>" value="1"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="opt_<? VAR Name ESC=HTML ?>"><? VAR DisplayName ESC=HTML ?></label></span>&nbsp;&nbsp;
206
 
                                        <? ENDLOOP ?>
207
 
                                </div>
208
 
 
209
 
                                <div class="subsection">
 
234
                                <div class="subsection half">
210
235
                                        <div class="inputlabel">CTCP Replies:</div>
211
 
                                        <div><textarea name="ctcpreplies" class="half"><? LOOP CTCPLoop ?><? VAR CTCP ESC=HTML ?>
 
236
                                        <div><textarea name="ctcpreplies" cols="70" rows="3"><? LOOP CTCPLoop ?><? VAR CTCP ESC=HTML ?>
212
237
<? ENDLOOP ?>
213
238
</textarea></div>
 
239
                                        <br /><span class="info">One reply per line. Example: TIME Buy a watch!</span>
214
240
                                </div>
215
241
                                <div style="clear: both;"></div>
216
242
                        </div>
217
243
                </div>
218
244
        </div>
219
245
 
220
 
        <div>
221
 
                <input type="submit" value="Submit" />
 
246
        <div class="submitline">
 
247
                <input type="submit" value="<? IF Edit ?>Save<? ELSE ?>Create<? ENDIF ?>" />
222
248
        </div>
223
249
</form>
224
250