3
<form action="<? IF Edit ?>edituser<? ELSE ?>adduser<? ENDIF ?>" method="post">
4
<input type="hidden" name="submitted" value="1">
6
<table width="95%" cellpadding="0" cellspacing="0">
8
<td colspan="2" class="maintitle">Authentication</td>
16
<td class="mainright">
18
<input type="hidden" name="user" style="width: 100%;" value="<? VAR Username ESC=HTML ?>">
19
<input type="text" name="newuser" style="width: 100%;" value="<? VAR Username ESC=HTML ?>" size="32" maxlength="128" disabled="disabled">
21
<input type="text" name="user" style="width: 100%;" value="<? VAR Username ESC=HTML ?>" size="32" maxlength="128">
31
<td class="mainright">
32
<input type="password" style="width: 100%;" name="password" size="32">
41
<td class="mainright">
42
<input type="password" style="width: 100%;" name="password2" size="32">
51
<td class="mainright">
52
<textarea style="width: 100%;" name="allowedips" cols="40" rows="5"><? LOOP AllowedHostLoop ?><? VAR Host ESC=HTML ?>
57
<br><br><input type="checkbox" id="ownip" name="ownip" value="<? VAR OwnIP ESC=HTML ?>" checked="checked"><label for="ownip"> <? VAR OwnIP ESC=HTML ?> (your current ip)</label>
63
<table width="95%" cellpadding="0" cellspacing="0" style="margin-top: 20px;">
65
<td colspan="2" class="maintitle">IRC Information</td>
73
<td class="mainright">
74
<input style="width: 100%;" type="text" name="nick" value="<? VAR Nick ESC=HTML ?>" size="22" maxlength="128">
83
<td class="mainright">
84
<input style="width: 100%;" type="text" name="altnick" value="<? VAR AltNick ESC=HTML ?>" size="22" maxlength="128">
93
<td class="mainright">
94
<input style="width: 100%;" type="text" name="statusprefix" value="<? VAR StatusPrefix ESC=HTML ?>" size="16" maxlength="5">
103
<td class="mainright">
104
<input style="width: 100%;" type="text" name="ident" value="<? VAR Ident ESC=HTML ?>" size="22" maxlength="128">
109
<td class="mainleft">
113
<td class="mainright">
114
<input style="width: 100%;" type="text" name="realname" value="<? VAR RealName ESC=HTML ?>" size="68" maxlength="256">
119
<td class="mainleft">
123
<td class="mainright">
124
<select name="vhost" style="width: 100%;">
125
<option value="">- Default -</option>
126
<? LOOP VHostLoop ?><option value="<? VAR VHost ESC=HTML ?>"<? IF Checked ?> selected="selected"<? ENDIF ?>><? VAR VHost ESC=HTML ?></option><? ENDLOOP ?>
132
<td class="mainleft">
136
<td class="mainright">
137
<input style="width: 100%;" type="text" name="quitmsg" value="<? VAR QuitMsg ESC=HTML ?>" size="68" maxlength="256">
142
<td class="mainleft">
146
<td class="mainright">
147
<textarea style="width: 100%;" name="servers" cols="40" rows="5"><? LOOP ServerLoop ?><? VAR Server ESC=HTML ?>
155
<table width="95%" cellpadding="0" cellspacing="0" style="margin-top: 20px;">
157
<td class="maintitle">Module(s)</td>
161
<td class="mainalone">
162
<table width="98%" cellpadding="0" cellspacing="0" style="border: 1px solid #000000;" align="center">
164
<td width="100" class="main2title" style="border-bottom: 1px solid #000000; border-right: 1px solid #000000;">Name</td>
165
<td class="main2title" style="border-bottom: 1px solid #000000; border-right: 1px solid #000000;">Arguments</td>
166
<td class="main2title" style="border-bottom: 1px solid #000000;">Description</td>
169
<? LOOP ModuleLoop ?>
170
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
172
<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>
175
<? IF Disabled ?><? VAR Args ESC=HTML ?><? ELSE ?><input type="text" name="modargs_<? VAR Name ESC=HTML ?>" value="<? VAR Args ESC=HTML ?>" /><? ENDIF ?>
177
<td style="border-right: 0px;"><? VAR Description ESC=HTML ?></td>
185
<table width="95%" cellpadding="0" cellspacing="0" style="margin-top: 20px;">
187
<td colspan="2" class="maintitle">Channel(s)</td>
191
<td class="mainleft">
195
<td class="mainright">
196
<input style="width: 100%;" type="text" name="chanmodes" value="<? VAR DefaultChanModes ESC=HTML ?>" size="32" maxlength="32">
201
<td colspan="2" class="mainalone">
203
<table width="98%" cellpadding="0" cellspacing="0" style="border: 1px solid #000000;" align="center">
205
<td width="100" class="main2title" style="border-bottom: 1px solid #000000; border-right: 1px solid #000000;">[<a href="addchan?user=<? VAR Username ESC=URL ?>">Add</a>]</td>
207
<td class="main2title" style="border-bottom: 1px solid #000000; border-right: 1px solid #000000;">Save</td>
208
<td class="main2title" style="border-bottom: 1px solid #000000; border-right: 1px solid #000000;">Name</td>
209
<td class="main2title" style="border-bottom: 1px solid #000000; border-right: 1px solid #000000;">CurModes</td>
210
<td class="main2title" style="border-bottom: 1px solid #000000; border-right: 1px solid #000000;">DefModes</td>
211
<td class="main2title" style="border-bottom: 1px solid #000000; border-right: 1px solid #000000;">BufferCount</td>
212
<td class="main2title" style="border-bottom: 1px solid #000000;">Options</td>
214
<td class="main2title" style="border-bottom: 1px solid #000000;">- Add a channel (opens in same page)</td>
218
<? LOOP ChannelLoop ?>
219
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
221
<input type="hidden" name="channel" value="<? VAR Name ESC=HTML ?>" />
222
[<a href="editchan?user=<? VAR Username ESC=URL ?>&name=<? VAR Name ESC=URL ?>">Edit</a>] [<a href="delchan?user=<? VAR Username ESC=URL ?>&name=<? VAR Name ESC=URL ?>">Del</a>]
224
<td><input type="checkbox" name="save_<? VAR Name ESC=HTML ?>"<? IF InConfig ?> checked="checked"<? ENDIF ?> /></td>
225
<td><? VAR Name ESC=HTML ?></td>
226
<td><? VAR CurModes ESC=HTML ?></td>
227
<td><? VAR DefModes ESC=HTML ?></td>
228
<td><? VAR BufferCount ESC=HTML ?></td>
229
<td style="border-right: 0px;"><? VAR Options ESC=HTML ?></td>
239
<table width="95%" cellpadding="0" cellspacing="0" style="margin-top: 20px;">
241
<td colspan="2" class="maintitle">ZNC Behavior</td>
245
<td class="mainleft">
246
Playback Buffer Size:
249
<td class="mainright">
250
<input style="width: 100%;" type="text" name="bufsize" value="<? VAR BufferCount ESC=HTML ?>" size="32" maxlength="9">
255
<td class="mainleft">
259
<td class="mainright">
260
<input style="width: 100%;" type="text" name="timestampformat" value="<? VAR TimestampFormat ESC=HTML ?>" size="32">
265
<td class="mainleft">
269
<td class="mainright">
270
<input style="width: 100%;" type="text" name="timezoneoffset" value="<? VAR TimezoneOffset ESC=HTML ?>" size="32">
275
<td class="mainleft">
279
<td class="mainright">
280
<input style="width: 100%;" type="text" name="jointries" value="<? VAR JoinTries ESC=HTML ?>" size="32">
285
<td class="mainleft">
289
<td class="mainright">
290
<input style="width: 100%;" type="text" name="maxjoins" value="<? VAR MaxJoins ESC=HTML ?>" size="32">
295
<td class="mainleft">
299
<td class="mainright">
300
<? LOOP OptionLoop ?>
301
<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><br>
307
<td class="mainleft">
311
<td class="mainright">
312
<textarea style="width: 100%;" name="ctcpreplies" cols="40" rows="5"><? LOOP CTCPLoop ?><? VAR CTCP ESC=HTML ?>
321
<br><br><input type="submit" value="<? IF Edit ?>Save User<? ELSE ?>Add User<? ENDIF ?>">
324
<? INC Footer.tmpl ?>