mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
- module call for /me's - timestamps for playback and query buffer - WALLOP stuff / fix - properly join channels _after_ namesx or uhnames were set up - dont screw up raws on reconnect when you ran /lusers - change default quit msg and version reply to CZNC::GetTag(false) - change CZNC::GetTag() to point to sf.net - kind of an rewrite for partyline, added fixed channels (this doesnt work on irssi, did it ever work?) - add the timestamp support to webadmin too - add ConnectDelay config option to avoid being killed because we connected too fast - make znc handle usermodes correctly git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@799 726aef4b-f618-498e-8847-2d620e286838
213 lines
7.7 KiB
Cheetah
213 lines
7.7 KiB
Cheetah
<? INC Header.tmpl ?>
|
|
|
|
<form action="<? IF Edit ?>/edituser<? ELSE ?>/adduser<? ENDIF ?>" method="post">
|
|
<div class="section">
|
|
<input type="hidden" name="submitted" value="1" />
|
|
|
|
<div class="sectiontitle">Authentifizierung</div>
|
|
<div class="sectionbg">
|
|
<div class="sectionbody">
|
|
<div class="subsection">
|
|
<div class="inputlabel">Benutzername:</div>
|
|
<div>
|
|
<? IF Edit ?>
|
|
<input type="hidden" name="user" value="<? VAR Username ESC=HTML ?>" />
|
|
<input type="text" name="newuser" value="<? VAR Username ESC=HTML ?>" class="half" maxlength="128" disabled="disabled" />
|
|
<? ELSE ?>
|
|
<input type="text" name="user" value="<? VAR Username ESC=HTML ?>" class="half" maxlength="128" />
|
|
<? ENDIF ?>
|
|
</div>
|
|
|
|
<div class="inputlabel">Passwort:</div>
|
|
<div><input type="password" name="password" class="half" maxlength="16" /></div>
|
|
<div class="inputlabel">Passwort wiederholen:</div>
|
|
<div><input type="password" name="password2" class="half" maxlength="16" /></div>
|
|
</div>
|
|
<div>
|
|
<div class="inputlabel">Erlaubte IPs:</div>
|
|
<textarea name="allowedips" class="half"><? LOOP AllowedHostLoop ?><? VAR Host ESC=HTML ?>
|
|
<? ENDLOOP ?>
|
|
</textarea>
|
|
<? IF OwnIP ?>
|
|
<div class="subsection">
|
|
<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 ?> (Deine jetzige IP)</label></span>
|
|
</div>
|
|
<? ENDIF ?>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<div class="sectiontitle">IRC Information</div>
|
|
<div class="sectionbg">
|
|
<div class="sectionbody">
|
|
<div class="subsection">
|
|
<div class="inputlabel">Nickname:</div>
|
|
<div><input type="text" name="nick" value="<? VAR Nick ESC=HTML ?>" class="half" maxlength="128" /></div>
|
|
</div>
|
|
<div class="subsection">
|
|
<div class="inputlabel">Alt. Nickname:</div>
|
|
<div><input type="text" name="altnick" value="<? VAR AltNick ESC=HTML ?>" class="half" maxlength="128" /></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
<div class="subsection">
|
|
<div class="inputlabel">Ident:</div>
|
|
<div><input type="text" name="ident" value="<? VAR Ident ESC=HTML ?>" class="half" maxlength="128" /></div>
|
|
</div>
|
|
<div class="subsection">
|
|
<div class="inputlabel">StatusPrefix:</div>
|
|
<div><input type="text" name="statusprefix" value="<? VAR StatusPrefix ESC=HTML ?>" class="half" maxlength="5" /></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
<div class="subsection">
|
|
<div class="inputlabel">Realer/Voller Name:</div>
|
|
<div><input type="text" name="realname" value="<? VAR RealName ESC=HTML ?>" class="full" maxlength="256" /></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
|
|
<div class="subsection">
|
|
<? IF VHostLoop ?>
|
|
<div class="inputlabel">VHost:</div>
|
|
<select name="vhost">
|
|
<option value="">- Default -</option>
|
|
<? LOOP VHostLoop ?><option value="<? VAR VHost ESC=HTML ?>"<? IF Checked ?> selected="selected"<? ENDIF ?>><? VAR VHost ESC=HTML ?></option><? ENDLOOP ?>
|
|
</select>
|
|
<? ENDIF ?>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
|
|
<div class="subsection">
|
|
<div class="inputlabel">QuitMsg:</div>
|
|
<div><input type="text" name="quitmsg" value="<? VAR QuitMsg ESC=HTML ?>" class="full" maxlength="256" /></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
|
|
<div class="subsection">
|
|
<div class="inputlabel">Servers:</div>
|
|
<div><textarea name="servers" class="half"><? LOOP ServerLoop ?><? VAR Server ESC=HTML ?>
|
|
<? ENDLOOP ?>
|
|
</textarea></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<div class="sectiontitle">Module</div>
|
|
<div class="sectionbg">
|
|
<div class="sectionbody">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Parameter</td>
|
|
<td>Beschreibung</td>
|
|
</tr>
|
|
</thead>
|
|
|
|
<? LOOP ModuleLoop ?>
|
|
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
|
|
<td>
|
|
<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>
|
|
</td>
|
|
<td>
|
|
<? IF Disabled ?><? VAR Args ESC=HTML ?><? ELSE ?><input class="third" type="text" name="modargs_<? VAR Name ESC=HTML ?>" value="<? VAR Args ESC=HTML ?>" /><? ENDIF ?>
|
|
</td>
|
|
<td><? VAR Description ESC=HTML ?></td>
|
|
</tr>
|
|
<? ENDLOOP ?>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<div class="sectiontitle">Channels</div>
|
|
<div class="sectionbg">
|
|
<div class="sectionbody">
|
|
<div class="subsection">
|
|
<div class="inputlabel">Vorgabe Modi:</div>
|
|
<div><input type="text" name="chanmodes" value="<? VAR DefaultChanModes ESC=HTML ?>" class="third" maxlength="32" /></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
|
|
<? IF Edit ?>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<td>[<a href="/addchan?user=<? VAR Username ESC=URL ?>">Hinzufügen</a>]</td>
|
|
<? IF ChannelLoop ?>
|
|
<td>Speichern</td>
|
|
<td>Name</td>
|
|
<td>Jetzige Modi</td>
|
|
<td>Vorgabe Modi</td>
|
|
<td>Buffergröße</td>
|
|
<td>Optionen</td>
|
|
<? ELSE ?>
|
|
<td> <- Channel hinfzuügen (Öffnet sich auf der selben Seite) </td>
|
|
<? ENDIF ?>
|
|
</tr>
|
|
</thead>
|
|
|
|
<? LOOP ChannelLoop ?>
|
|
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
|
|
<td>
|
|
<input type="hidden" name="channel" value="<? VAR Name ESC=HTML ?>" />
|
|
[<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>]
|
|
</td>
|
|
<td><input type="checkbox" name="save_<? VAR Name ESC=HTML ?>"<? IF InConfig ?> checked="checked"<? ENDIF ?> /></td>
|
|
<td><? VAR Name ESC=HTML ?></td>
|
|
<td><? VAR CurModes ESC=HTML ?></td>
|
|
<td><? VAR DefModes ESC=HTML ?></td>
|
|
<td><? VAR BufferCount ESC=HTML ?></td>
|
|
<td><? VAR Options ESC=HTML ?></td>
|
|
</tr>
|
|
<? ENDLOOP ?>
|
|
</table>
|
|
<? ENDIF ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<div class="sectiontitle">ZNC Verhalten</div>
|
|
<div class="sectionbg">
|
|
<div class="sectionbody">
|
|
<div class="subsection">
|
|
<div class="inputlabel">Größe des Playbackbuffers:</div>
|
|
<div><input type="text" name="bufsize" value="<? VAR BufferCount ESC=HTML ?>" class="third" maxlength="9" /></div>
|
|
</div>
|
|
<div class="inputlabel">Zeitstempel:</div>
|
|
<div><input type="text" name="timestampformat" value="<? VAR TimestampFormat ESC=HTML ?>" class="half" /></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
|
|
<div style="margin-bottom: 10px;">
|
|
<div class="inputlabel">Optionen:</div>
|
|
<? LOOP OptionLoop ?>
|
|
<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>
|
|
<? ENDLOOP ?>
|
|
</div>
|
|
|
|
<div class="subsection">
|
|
<div class="inputlabel">CTCP Antworten:</div>
|
|
<div><textarea name="ctcpreplies" class="half"><? LOOP CTCPLoop ?><? VAR CTCP ESC=HTML ?>
|
|
<? ENDLOOP ?>
|
|
</textarea></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<input type="submit" value="Speichern" />
|
|
</div>
|
|
</form>
|
|
|
|
<? INC Footer.tmpl ?>
|