mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Add more deny options
DenySetIdent - Denies setting ident DenySetNetwork - Denies adding/removing networks/servers DenySetRealName - Denies setting realname DenySetQuitMsg - Denies setting quitmsg DenySetCTCPReplies - Denies adding/removing CTCP replies
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
<? AddRow CSSLoop HREF=/modfiles/global/webadmin/webadmin.css ?>
|
||||
<? INC Header.tmpl ?>
|
||||
|
||||
<script>
|
||||
var NetworkEdit = <? VAR NetworkEdit ?>;
|
||||
</script>
|
||||
|
||||
<div class="section">
|
||||
<? IF Edit ?>
|
||||
<? SETBLOCK ClientConnectHint_Password ?><? VAR Username ?>/<? VAR Name ?>:<? FORMAT "<password>" ?><? ENDSETBLOCK ?>
|
||||
@@ -28,7 +32,7 @@
|
||||
<div class="subsection">
|
||||
<div class="inputlabel"><label for="name"><? FORMAT "Network Name:" ?></label></div>
|
||||
<input id="name" type="text" name="name" value="<? VAR Name ?>" class="half" maxlength="128"
|
||||
title="<? FORMAT "The name of the IRC network." ?>"/>
|
||||
title="<? FORMAT "The name of the IRC network." ?>" <? IF !NameEdit ?>readonly<? ENDIF ?> />
|
||||
</div>
|
||||
|
||||
<div class="subsection">
|
||||
@@ -45,12 +49,12 @@
|
||||
<div class="subsection">
|
||||
<div class="inputlabel"><label for="ident"><? FORMAT "Ident:" ?></label></div>
|
||||
<input id="ident" type="text" name="ident" value="<? VAR Ident ?>" class="half" maxlength="128"
|
||||
title="<? FORMAT "Your ident." ?>"/>
|
||||
title="<? FORMAT "Your ident." ?>" <? IF !IdentEdit ?>readonly<? ENDIF ?> />
|
||||
</div>
|
||||
<div class="subsection">
|
||||
<div class="inputlabel"><label for="realname"><? FORMAT "Realname:" ?></label></div>
|
||||
<input id="realname" type="text" name="realname" value="<? VAR RealName ?>" class="full" maxlength="256"
|
||||
title="<? FORMAT "Your real name." ?>"/>
|
||||
title="<? FORMAT "Your real name." ?>" <? IF !RealNameEdit ?>readonly<? ENDIF ?> />
|
||||
</div>
|
||||
|
||||
<? IF BindHostEdit ?>
|
||||
@@ -64,7 +68,8 @@
|
||||
<div class="subsection">
|
||||
<div class="inputlabel"><label for="quitmsg"><? FORMAT "Quit Message:" ?></label></div>
|
||||
<input id="quitmsg" type="text" name="quitmsg" value="<? VAR QuitMsg ?>" class="full" maxlength="256"
|
||||
title="<? FORMAT "You may define a Message shown, when you quit IRC." ?>"/>
|
||||
title="<? FORMAT "You may define a Message shown, when you quit IRC." ?>"
|
||||
<? IF !QuitMsgEdit ?>readonly<? ENDIF ?> />
|
||||
</div>
|
||||
|
||||
<div class="subsection">
|
||||
@@ -102,12 +107,16 @@
|
||||
<th><? FORMAT "Port" ?></th>
|
||||
<th><? FORMAT "SSL" ?></th>
|
||||
<th><? FORMAT "Password" ?></th>
|
||||
<? IF NetworkEdit ?>
|
||||
<th/>
|
||||
<? ENDIF ?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="servers_tbody"/>
|
||||
</table>
|
||||
<? IF NetworkEdit ?>
|
||||
<input type="button" value="Add" id="servers_add"/>
|
||||
<? ENDIF ?>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">serverlist_init(jQuery);</script>
|
||||
|
||||
Reference in New Issue
Block a user