Files
znc/modules/www/webadmin/listusers.tmpl
cflakes 73c6a32742 Another patch by BrianC, building upon the previous revision,
this uses the new sort feature to sort channel tables in stickychan's
and webadmin's channel tables and webadmin's user table, also the module
names in the menu. Hooray!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1949 726aef4b-f618-498e-8847-2d620e286838
2010-04-28 22:00:26 +00:00

41 lines
990 B
Cheetah

<? INC Header.tmpl ?>
<?IF !UserLoop?>
<div class="textsection">
There are no users defined. Click <a href="adduser">here</a> if you would like to add one.
</div>
<?ELSE?>
<div class="toptable">
<table>
<thead>
<tr>
<td>Action</td>
<td>Username</td>
<td>Clients</td>
<td>Current Server</td>
<td>IRC Nick</td>
</tr>
</thead>
<tbody>
<?LOOP UserLoop SORTASC=Username ?>
<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?>">Delete</a>]<? ENDIF ?>
</span>
</td>
<td><? VAR Username ?></td>
<td><? VAR Clients ?></td>
<td><? VAR Server DEFAULT="-N/A-" ?></td>
<td><? VAR IRCNick ?></td>
</tr>
<?ENDLOOP?>
</tbody>
</table>
</div>
<?ENDIF?>
<? INC Footer.tmpl ?>