1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

Feature: Display username and role in listener listing

This adds display of role name and updates display of username in
listener listing of mount points on admin interface.
This commit is contained in:
Philipp Schafft 2014-12-22 09:08:24 +00:00
parent bfd946520f
commit ddb58bfe37

View File

@ -55,6 +55,8 @@
<thead>
<tr>
<td>IP</td>
<td>Username</td>
<td>Role</td>
<td>Sec. connected</td>
<td>User Agent</td>
<td>Action</td>
@ -64,12 +66,9 @@
<xsl:variable name = "themount"><xsl:value-of select="@mount" /></xsl:variable>
<xsl:for-each select="listener">
<tr>
<td>
<xsl:value-of select="ip" />
<xsl:if test="username">
(<xsl:value-of select="username" />)
</xsl:if>
</td>
<td><xsl:value-of select="ip" /></td>
<td><xsl:value-of select="username" /></td>
<td><xsl:value-of select="role" /></td>
<td><xsl:value-of select="connected" /></td>
<td><xsl:value-of select="useragent" /></td>
<td><a href="killclient.xsl?mount={$themount}&amp;id={id}">Kick</a></td>