Add a web interface to listsockets

Thanks to kylef for the patch and again sorry for svn. ;)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2212 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-12-24 21:56:35 +00:00
parent f6935557ce
commit 144cdf256b
2 changed files with 63 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<? INC Header.tmpl ?>
<table class="data">
<thead>
<tr>
<td>Name</td>
<td>Created</td>
<td>State</td>
<td>SSL</td>
<td>Local</td>
<td>Remote</td>
</tr>
</thead>
<tbody>
<? LOOP SocketsLoop ?>
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
<td><? VAR Name ?></td>
<td><? VAR Created ?></td>
<td><? VAR State ?></td>
<td><? VAR SSL ?></td>
<td><? VAR Local ?></td>
<td><? VAR Remote ?></td>
</tr>
<? ENDLOOP ?>
</tbody>
</table>
<? INC Footer.tmpl ?>