Files
znc/modules/webadmin/skins/default/ListUsers.tmpl
psychon aca6783f6f Use relative instead of absolute URLs in webadmin
This should make it possible to use webadmin together with apache's mod_proxy.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1253 726aef4b-f618-498e-8847-2d620e286838
2008-10-17 16:27:18 +00:00

33 lines
974 B
Cheetah

<? INC Header.tmpl ?>
<?IF !UserLoop?>
There are no users defined. Click <a href="adduser">here</a> if you would like to add one.
<?ELSE?>
<table>
<thead>
<tr>
<td>Action</td>
<td>Username</td>
<td>Clients</td>
<td>Current Server</td>
<td>IRC Nick</td>
</tr>
</thead>
<?LOOP UserLoop?>
<tr class="<?IF __EVEN__?>evenrow<?ELSE?>oddrow<?ENDIF?>">
<td>
<span class="nowrap">
[<a href="edituser?user=<?VAR Username ESC=URL?>">Edit</a>]
<? IF !IsSelf ?>[<a href="deluser?user=<?VAR Username ESC=URL?>" onClick="return confirm('Do you really wish to remove this user?');">Delete</a>]<? ENDIF ?>
</span>
</td>
<td><? VAR Username ESC=HTML ?></td>
<td><? VAR Clients ESC=HTML ?></td>
<td><? VAR Server ESC=HTML DEFAULT="-N/A-" ?></td>
<td><? VAR IRCNick ESC=HTML ?></td>
</tr>
<?ENDLOOP?>
</table>
<?ENDIF?>
<? INC Footer.tmpl ?>