mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
wip
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
<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 "The Ident is sent to server as username." ?>"
|
||||
<? IF !IdentEdit ?>readonly<? ENDIF ?> />
|
||||
<? IF !IdentEdit ?>disabled<? ENDIF ?> />
|
||||
</div>
|
||||
<div class="subsection">
|
||||
<div class="inputlabel"><label for="statusprefix"><? FORMAT "Status Prefix:" ?></label></div>
|
||||
@@ -95,7 +95,7 @@
|
||||
<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." ?>" <? IF !RealNameEdit ?>readonly<? ENDIF ?> />
|
||||
title="<? FORMAT "Your real name." ?>" <? IF !RealNameEdit ?>disabled<? ENDIF ?> />
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
<div class="inputlabel"><label for="quitmsg"><? FORMAT "Quit Message:" ?></label></div>
|
||||
<input type="text" name="quitmsg" value="<? VAR QuitMsg ?>" class="full" maxlength="256"
|
||||
title="<? FORMAT "You may define a Message shown, when you quit IRC." ?>"
|
||||
<? IF !QuitMsgEdit ?>readonly<? ENDIF ?> />
|
||||
<? IF !QuitMsgEdit ?>disabled<? ENDIF ?> />
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
@@ -129,43 +129,47 @@
|
||||
<? IF Edit ?>
|
||||
<div class="sectionbg">
|
||||
<div class="sectionbody">
|
||||
<table class="sortable">
|
||||
<? IF !NetworkEdit && !NetworkLoop ?>
|
||||
<? FORMAT "No networks have been added for you yet." ?>
|
||||
<? ELSE ?>
|
||||
<table class="sortable networks" data-network-edit="<? IF NetworkEdit ?>1<? ELSE ?>0<? ENDIF ?>">
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="ignore-sort">
|
||||
<? IF NetworkEdit ?>
|
||||
<td class="ignore-sort">[<a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>addnetwork?user=<? VAR Username ESC=URL ?>"><? FORMAT "Add" ?></a>]</td>
|
||||
[<a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>addnetwork?user=<? VAR Username ESC=URL ?>"><? FORMAT "Add" ?></a>]
|
||||
<? ELSE ?>
|
||||
<td class="ignore-sort"> </td>
|
||||
|
||||
<? ENDIF ?>
|
||||
<? IF NetworkLoop ?>
|
||||
</td>
|
||||
<? IF NetworkLoop ?>
|
||||
<th><? FORMAT "Name" ?></th>
|
||||
<th><? FORMAT "Clients" ?></th>
|
||||
<th><? FORMAT "Current Server" ?></th>
|
||||
<th><? FORMAT "Nick" ?></th>
|
||||
<? ELSE ?>
|
||||
<? IF NetworkEdit ?>
|
||||
<td><? FORMAT "← Add a network (opens in same page)" ?></td>
|
||||
<? ENDIF ?>
|
||||
<? ENDIF ?>
|
||||
<? ENDIF ?>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<? LOOP NetworkLoop SORTASC=Name ?>
|
||||
<? LOOP NetworkLoop SORTASC=Name ?>
|
||||
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
|
||||
<td>
|
||||
<input type="hidden" name="network" value="<? VAR Name ?>" />
|
||||
[<a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>editnetwork?user=<? VAR Username ESC=URL ?>&network=<? VAR Name ESC=URL ?>"><? FORMAT "Edit" ?></a>]
|
||||
<? IF NetworkEdit ?>[<a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>delnetwork?user=<? VAR Username ESC=URL ?>&name=<? VAR Name ESC=URL ?>"><? FORMAT "Del" ?></a>]<? ENDIF ?>
|
||||
<span class="network_edit">[<a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>editnetwork?user=<? VAR Username ESC=URL ?>&network=<? VAR Name ESC=URL ?>"><? FORMAT "Edit" ?></a>]</span>
|
||||
<span class="network_delete">[<a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>delnetwork?user=<? VAR Username ESC=URL ?>&name=<? VAR Name ESC=URL ?>"><? FORMAT "Del" ?></a>]</span>
|
||||
</td>
|
||||
<td><? VAR Name ?></td>
|
||||
<td><? VAR Clients ?></td>
|
||||
<td><? VAR Server DEFAULT="-N/A-" ?></td>
|
||||
<td><? VAR IRCNick ?></td>
|
||||
</tr>
|
||||
<? ENDLOOP ?>
|
||||
<? ENDLOOP ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<? ENDIF ?>
|
||||
</div>
|
||||
</div>
|
||||
<? ELSE ?>
|
||||
@@ -345,7 +349,7 @@
|
||||
<? SETBLOCK Substitutions_Link ?><a href="https://wiki.znc.in/ExpandString" target="_blank" class="external"><? FORMAT "Substitutions" ?></a><? ENDSETBLOCK ?>
|
||||
<div class="subsection half" id="ctcpreplies_plain">
|
||||
<div class="inputlabel"><label for="ctcpreplies_text"><? FORMAT "CTCP Replies:" ?></label></div>
|
||||
<div><textarea name="ctcpreplies" cols="70" rows="3" id="ctcpreplies_text"><? LOOP CTCPLoop ?><? VAR CTCP ?>
|
||||
<div><textarea name="ctcpreplies" cols="70" rows="3" id="ctcpreplies_text" <? IF !CTCPEdit ?>disabled<? ENDIF ?>><? LOOP CTCPLoop ?><? VAR CTCP ?>
|
||||
<? ENDLOOP ?>
|
||||
</textarea></div>
|
||||
<br /><span class="info"><? FORMAT "One reply per line. Example: <code>TIME Buy a watch!</code>" ?></span>
|
||||
|
||||
Reference in New Issue
Block a user