Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
94
Issues
94
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
4c771579
Commit
4c771579
authored
Aug 12, 2005
by
Ed "oddsock" Zaleski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
encorporated xslt changes from dave st. john....
svn path=/icecast/trunk/icecast/; revision=9742
parent
9179ffe6
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
867 additions
and
624 deletions
+867
-624
admin/listclients.xsl
admin/listclients.xsl
+97
-72
admin/listmounts.xsl
admin/listmounts.xsl
+80
-58
admin/manageauth.xsl
admin/manageauth.xsl
+95
-84
admin/moveclients.xsl
admin/moveclients.xsl
+63
-52
admin/response.xsl
admin/response.xsl
+56
-45
admin/stats.xsl
admin/stats.xsl
+120
-94
admin/updatemetadata.xsl
admin/updatemetadata.xsl
+66
-55
web/Makefile.am
web/Makefile.am
+4
-1
web/auth.xsl
web/auth.xsl
+57
-57
web/key.png
web/key.png
+0
-0
web/server_version.xsl
web/server_version.xsl
+91
-0
web/status.xsl
web/status.xsl
+115
-91
web/status2.xsl
web/status2.xsl
+12
-12
web/style.css
web/style.css
+11
-3
web/tunein.png
web/tunein.png
+0
-0
No files found.
admin/listclients.xsl
View file @
4c771579
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version =
"1.0"
>
<xsl:output
omit-xml-declaration=
"no"
method=
"xml"
doctype-public=
"-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system=
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent=
"yes"
encoding=
"UTF-8"
/>
<xsl:template
match =
"/icestats"
>
<html>
<head>
<title>
Icecast Streaming Media Server
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
/>
</head>
<body>
<center>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"3"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav"
href=
"listmounts.xsl"
>
List MountPoints
</a>
|
<a
class=
"nav"
href=
"moveclients.xsl"
>
Move Listeners
</a>
|
<a
class=
"nav"
href=
"stats.xsl"
>
Stats
</a>
|
<a
class=
"nav"
href=
"/status.xsl"
>
Status Page
</a>
</td></tr>
</table>
</center>
<h2>
List Connected Listeners
</h2>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<div
class=
"newscontent"
>
<xsl:for-each
select=
"source"
>
<h3>
<xsl:if
test=
"server_name"
><xsl:value-of
select=
"server_name"
/>
</xsl:if>
(
<xsl:value-of
select=
"@mount"
/>
)
</h3>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"5"
bgcolor=
"444444"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav2"
href=
"listclients.xsl?mount={@mount}"
>
Show Listeners
</a>
|
<a
class=
"nav2"
href=
"moveclients.xsl?mount={@mount}"
>
Move Listeners
</a>
|
<a
class=
"nav2"
href=
"updatemetadata.xsl?mount={@mount}"
>
Update Metadata
</a>
|
<a
class=
"nav2"
href=
"killsource.xsl?mount={@mount}"
>
Kill Source
</a>
</td></tr>
</table>
<br></br>
<table
cellpadding=
"2"
cellspacing=
"4"
border=
"0"
>
<tr>
<td
><b>
IP
</b></td>
<td
><b>
Connected For
</b></td>
<td
><b>
User Agent
</b></td>
<td
></td>
</tr>
<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=
"Connected"
/>
seconds
</td>
<td><xsl:value-of
select=
"UserAgent"
/></td>
<td><a
class=
"nav2"
href=
"killclient.xsl?mount={$themount}&id={ID}"
>
kill
</a></td>
</tr>
</xsl:for-each>
</table>
<br
/>
<br
/>
</xsl:for-each>
<xsl:text
disable-output-escaping=
"yes"
>
&
</xsl:text>
nbsp;
</div>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<div
class=
"poster"
>
<img
align=
"left"
src=
"/icecast.png"
/>
Support icecast development at
<a
class=
"nav"
href=
"http://www.icecast.org"
>
www.icecast.org
</a></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version =
"1.0"
>
<xsl:output
omit-xml-declaration=
"no"
method=
"xml"
doctype-public=
"-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system=
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent=
"yes"
encoding=
"UTF-8"
/>
<xsl:template
match =
"/icestats"
>
<html>
<head>
<title>
Icecast Streaming Media Server
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
/>
</head>
<body
topmargin=
"0"
leftmargin=
"0"
rightmargin=
"0"
bottommargin=
"0"
>
<img
align=
"left"
src=
"/icecast.png"
/><h2><center>
Icecast2 Admin
</center></h2>
<br
/>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"3"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav"
href=
"stats.xsl"
>
Admin Home
</a>
|
<a
class=
"nav"
href=
"listmounts.xsl"
>
List Mountpoints
</a>
|
<a
class=
"nav"
href=
"moveclients.xsl"
>
Move Listeners
</a>
|
<a
class=
"nav"
href=
"/status.xsl"
>
Index
</a>
</td></tr>
</table>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<br
/>
<br
/>
<h1>
Listener Stats
</h1>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<div
class=
"newscontent"
>
<xsl:for-each
select=
"source"
>
<h3>
<xsl:choose>
<xsl:when
test=
"authenticator"
>
<a
href=
"auth.xsl"
><img
border=
"0"
src=
"/key.png"
/></a>
Authentication Required
</xsl:when>
<xsl:otherwise>
<a
href=
"{@mount}.m3u"
><img
border=
"0"
src=
"/tunein.png"
/></a>
Mount Point
</xsl:otherwise>
</xsl:choose>
<xsl:if
test=
"server_name"
><xsl:value-of
select=
"server_name"
/>
</xsl:if>
(
<xsl:value-of
select=
"@mount"
/>
)
<xsl:if
test=
"authenticator"
><a
href=
"manageauth.xsl?mount={@mount}"
><img
border=
"0"
src=
"/key.png"
/></a>
</xsl:if>
</h3>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"5"
bgcolor=
"444444"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav2"
href=
"listclients.xsl?mount={@mount}"
>
List Clients
</a>
|
<a
class=
"nav2"
href=
"moveclients.xsl?mount={@mount}"
>
Move Listeners
</a>
|
<a
class=
"nav2"
href=
"updatemetadata.xsl?mount={@mount}"
>
Update Metadata
</a>
|
<a
class=
"nav2"
href=
"killsource.xsl?mount={@mount}"
>
Kill Source
</a>
</td></tr>
</table>
<br
/>
<table
cellspacing=
"1"
border=
"1"
bordercolor=
"#C0C0C0"
>
<tr>
<td
><center><b>
IP
</b></center></td>
<td
><center><b>
Connected For
</b></center></td>
<td
><center><b>
User Agent
</b></center></td>
<td
><center><b>
Action
</b></center></td>
</tr>
<xsl:variable
name =
"themount"
><xsl:value-of
select=
"@mount"
/></xsl:variable>
<xsl:for-each
select=
"listener"
>
<tr>
<td
align=
"center"
><xsl:value-of
select=
"IP"
/><xsl:if
test=
"username"
>
(
<xsl:value-of
select=
"username"
/>
)
</xsl:if></td>
<td
align=
"center"
><xsl:value-of
select=
"Connected"
/>
seconds
</td>
<td
align=
"center"
><xsl:value-of
select=
"UserAgent"
/></td>
<td
align=
"center"
><a
href=
"killclient.xsl?mount={$themount}&id={ID}"
>
Kick
</a></td>
</tr>
</xsl:for-each>
</table>
<br
/>
<br
/>
</xsl:for-each>
<xsl:text
disable-output-escaping=
"yes"
>
&
</xsl:text>
nbsp;
</div>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<div
class=
"poster"
>
Support icecast development at
<a
class=
"nav"
href=
"http://www.icecast.org"
>
www.icecast.org
</a></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
admin/listmounts.xsl
View file @
4c771579
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version =
"1.0"
>
<xsl:output
omit-xml-declaration=
"no"
method=
"xml"
doctype-public=
"-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system=
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent=
"yes"
encoding=
"UTF-8"
/>
<xsl:template
match =
"/icestats"
>
<html>
<head>
<title>
Icecast Streaming Media Server
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
/>
</head>
<body>
<center>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"3"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav"
href=
"listmounts.xsl"
>
List MountPoints
</a>
|
<a
class=
"nav"
href=
"moveclients.xsl"
>
Move Listeners
</a>
|
<a
class=
"nav"
href=
"stats.xsl"
>
Stats
</a>
|
<a
class=
"nav"
href=
"/status.xsl"
>
Status Page
</a>
</td></tr>
</table>
</center>
<h2>
List Mountpoints
</h2>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<div
class=
"newscontent"
>
<xsl:for-each
select=
"source"
>
<h3>
<xsl:if
test=
"server_name"
><xsl:value-of
select=
"server_name"
/>
</xsl:if>
(
<xsl:value-of
select=
"@mount"
/>
)
<xsl:if
test=
"authenticator"
>
<a
href=
"manageauth.xsl?mount={@mount}"
><img
border=
"0"
src=
"/key.gif"
/></a>
</xsl:if>
</h3>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"5"
bgcolor=
"444444"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav2"
href=
"listclients.xsl?mount={@mount}"
>
Show Listeners
</a>
|
<a
class=
"nav2"
href=
"moveclients.xsl?mount={@mount}"
>
Move Listeners
</a>
|
<a
class=
"nav2"
href=
"updatemetadata.xsl?mount={@mount}"
>
Update Metadata
</a>
|
<a
class=
"nav2"
href=
"killsource.xsl?mount={@mount}"
>
Kill Source
</a>
<xsl:if
test=
"authenticator"
>
|
<a
class=
"nav2"
href=
"manageauth.xsl?mount={@mount}"
>
Manage Authentication
</a></xsl:if>
</td></tr>
</table>
<br
/>
<p><xsl:value-of
select=
"listeners"
/>
Listener(s)
</p>
<br></br>
</xsl:for-each>
<xsl:text
disable-output-escaping=
"yes"
>
&
</xsl:text>
nbsp;
</div>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<div
class=
"poster"
>
<img
align=
"left"
src=
"/icecast.png"
/>
Support icecast development at
<a
class=
"nav"
href=
"http://www.icecast.org"
>
www.icecast.org
</a></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version =
"1.0"
>
<xsl:output
omit-xml-declaration=
"no"
method=
"xml"
doctype-public=
"-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system=
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent=
"yes"
encoding=
"UTF-8"
/>
<xsl:template
match =
"/icestats"
>
<html>
<head>
<title>
Icecast Streaming Media Server
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
/>
</head>
<body
topmargin=
"0"
leftmargin=
"0"
rightmargin=
"0"
bottommargin=
"0"
>
<img
align=
"left"
src=
"/icecast.png"
/><h2><center>
Icecast2 Admin
</center></h2>
<br
/>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"3"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav"
href=
"stats.xsl"
>
Admin Home
</a>
|
<a
class=
"nav"
href=
"listmounts.xsl"
>
List Mountpoints
</a>
|
<a
class=
"nav"
href=
"moveclients.xsl"
>
Move Listeners
</a>
|
<a
class=
"nav"
href=
"/status.xsl"
>
Index
</a>
</td></tr>
</table>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<br
/>
<br
/>
<h1>
Active Mountpoints
</h1>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<div
class=
"newscontent"
>
<xsl:for-each
select=
"source"
>
<h3>
<xsl:choose>
<xsl:when
test=
"authenticator"
>
<a
href=
"auth.xsl"
><img
border=
"0"
src=
"/key.png"
/></a>
Authentication Required
</xsl:when>
<xsl:otherwise>
<a
href=
"{@mount}.m3u"
><img
border=
"0"
src=
"/tunein.png"
/></a>
Mount Point
</xsl:otherwise>
</xsl:choose>
<xsl:if
test=
"server_name"
><xsl:value-of
select=
"server_name"
/>
</xsl:if>
(
<xsl:value-of
select=
"@mount"
/>
)
<xsl:if
test=
"authenticator"
>
<a
href=
"manageauth.xsl?mount={@mount}"
><img
border=
"0"
src=
"/key.png"
/></a>
</xsl:if>
</h3>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"5"
bgcolor=
"444444"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav2"
href=
"listclients.xsl?mount={@mount}"
>
List Clients
</a>
|
<a
class=
"nav2"
href=
"moveclients.xsl?mount={@mount}"
>
Move Listeners
</a>
|
<a
class=
"nav2"
href=
"updatemetadata.xsl?mount={@mount}"
>
Update Metadata
</a>
|
<a
class=
"nav2"
href=
"killsource.xsl?mount={@mount}"
>
Kill Source
</a>
<xsl:if
test=
"authenticator"
>
|
<a
class=
"nav2"
href=
"manageauth.xsl?mount={@mount}"
>
Manage Authentication
</a></xsl:if>
</td></tr>
</table>
<br
/>
<p><xsl:value-of
select=
"listeners"
/>
Listener(s)
</p>
<br></br>
</xsl:for-each>
<xsl:text
disable-output-escaping=
"yes"
>
&
</xsl:text>
nbsp;
</div>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<div
class=
"poster"
>
Support icecast development at
<a
class=
"nav"
href=
"http://www.icecast.org"
>
www.icecast.org
</a></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
admin/manageauth.xsl
View file @
4c771579
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version =
"1.0"
>
<xsl:output
omit-xml-declaration=
"no"
method=
"xml"
doctype-public=
"-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system=
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent=
"yes"
encoding=
"UTF-8"
/>
<xsl:template
match =
"/icestats"
>
<html>
<head>
<title>
Icecast Streaming Media Server
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
/>
</head>
<body>
<center>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"3"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav"
href=
"listmounts.xsl"
>
List MountPoints
</a>
|
<a
class=
"nav"
href=
"moveclients.xsl"
>
Move Listeners
</a>
|
<a
class=
"nav"
href=
"stats.xsl"
>
Stats
</a>
|
<a
class=
"nav"
href=
"/status.xsl"
>
Status Page
</a>
</td></tr>
</table>
</center>
<h2>
Show defined users
</h2>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<div
class=
"newscontent"
>
<xsl:for-each
select=
"iceresponse"
>
<xsl:value-of
select=
"message"
/>
</xsl:for-each>
<xsl:for-each
select=
"source"
>
<h3>
<xsl:if
test=
"server_name"
><xsl:value-of
select=
"server_name"
/>
</xsl:if>
(
<xsl:value-of
select=
"@mount"
/>
)
</h3>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"5"
bgcolor=
"444444"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav2"
href=
"listclients.xsl?mount={@mount}"
>
Show Listeners
</a>
|
<a
class=
"nav2"
href=
"moveclients.xsl?mount={@mount}"
>
Move Listeners
</a>
|
<a
class=
"nav2"
href=
"updatemetadata.xsl?mount={@mount}"
>
Update Metadata
</a>
|
<a
class=
"nav2"
href=
"killsource.xsl?mount={@mount}"
>
Kill Source
</a>
</td></tr>
</table>
<br></br>
<form
method=
"GET"
action=
"manageauth.xsl"
>
<table
cellpadding=
"2"
cellspacing=
"4"
border=
"0"
>
<tr>
<td
><b>
User Id
</b></td>
<td
><b>
Password
</b></td>
<td
></td>
</tr>
<xsl:variable
name =
"themount"
><xsl:value-of
select=
"@mount"
/></xsl:variable>
<xsl:for-each
select=
"User"
>
<tr>
<td><xsl:value-of
select=
"username"
/></td>
<td><xsl:value-of
select=
"password"
/></td>
<td><a
class=
"nav2"
href=
"manageauth.xsl?mount={$themount}&username={username}&action=delete"
>
delete
</a></td>
</tr>
</xsl:for-each>
<tr>
<td
><input
type=
"text"
name=
"username"
/></td>
<td
><input
type=
"text"
name=
"password"
/></td>
</tr>
<tr>
<td
colspan=
"2"
><input
type=
"Submit"
name=
"Submit"
value=
"Add New User"
/></td>
</tr>
</table>
<input
type=
"hidden"
name=
"mount"
value=
"{@mount}"
/>
<input
type=
"hidden"
name=
"action"
value=
"add"
/>
</form>
<br
/>
<br
/>
</xsl:for-each>
<xsl:text
disable-output-escaping=
"yes"
>
&
</xsl:text>
nbsp;
</div>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<div
class=
"poster"
>
<img
align=
"left"
src=
"/icecast.png"
/>
Support icecast development at
<a
class=
"nav"
href=
"http://www.icecast.org"
>
www.icecast.org
</a></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version =
"1.0"
>
<xsl:output
omit-xml-declaration=
"no"
method=
"xml"
doctype-public=
"-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system=
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent=
"yes"
encoding=
"UTF-8"
/>
<xsl:template
match =
"/icestats"
>
<html>
<head>
<title>
Icecast Streaming Media Server
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
/>
</head>
<body
topmargin=
"0"
leftmargin=
"0"
rightmargin=
"0"
bottommargin=
"0"
>
<img
align=
"left"
src=
"/icecast.png"
/><h2><center>
Icecast2 Admin
</center></h2>
<br
/>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"3"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav"
href=
"stats.xsl"
>
Admin Home
</a>
|
<a
class=
"nav"
href=
"listmounts.xsl"
>
List Mountpoints
</a>
|
<a
class=
"nav"
href=
"moveclients.xsl"
>
Move Listeners
</a>
|
<a
class=
"nav"
href=
"/status.xsl"
>
Index
</a>
</td></tr>
</table>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<br
/>
<br
/>
<h2>
Show defined users
</h2>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<div
class=
"newscontent"
>
<xsl:for-each
select=
"iceresponse"
>
<xsl:value-of
select=
"message"
/>
</xsl:for-each>
<xsl:for-each
select=
"source"
>
<h3>
<xsl:if
test=
"server_name"
><xsl:value-of
select=
"server_name"
/>
</xsl:if>
(
<xsl:value-of
select=
"@mount"
/>
)
</h3>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"5"
bgcolor=
"444444"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav2"
href=
"listclients.xsl?mount={@mount}"
>
List Clients
</a>
|
<a
class=
"nav2"
href=
"moveclients.xsl?mount={@mount}"
>
Move Listeners
</a>
|
<a
class=
"nav2"
href=
"updatemetadata.xsl?mount={@mount}"
>
Update Metadata
</a>
|
<a
class=
"nav2"
href=
"killsource.xsl?mount={@mount}"
>
Kill Source
</a>
</td></tr>
</table>
<br></br>
<form
method=
"GET"
action=
"manageauth.xsl"
>
<table
cellpadding=
"2"
cellspacing=
"4"
border=
"0"
>
<tr>
<td
><b>
User Id
</b></td>
<td
><b>
Password
</b></td>
<td
></td>
</tr>
<xsl:variable
name =
"themount"
><xsl:value-of
select=
"@mount"
/></xsl:variable>
<xsl:for-each
select=
"User"
>
<tr>
<td><xsl:value-of
select=
"username"
/></td>
<td><xsl:value-of
select=
"password"
/></td>
<td><a
class=
"nav2"
href=
"manageauth.xsl?mount={$themount}&username={username}&action=delete"
>
delete
</a></td>
</tr>
</xsl:for-each>
<tr>
<td
><input
type=
"text"
name=
"username"
/></td>
<td
><input
type=
"text"
name=
"password"
/></td>
</tr>
<tr>
<td
colspan=
"2"
><input
type=
"Submit"
name=
"Submit"
value=
"Add New User"
/></td>
</tr>
</table>
<input
type=
"hidden"
name=
"mount"
value=
"{@mount}"
/>
<input
type=
"hidden"
name=
"action"
value=
"add"
/>
</form>
<br
/>
<br
/>
</xsl:for-each>
<xsl:text
disable-output-escaping=
"yes"
>
&
</xsl:text>
nbsp;
</div>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<div
class=
"poster"
>
Support icecast development at
<a
class=
"nav"
href=
"http://www.icecast.org"
>
www.icecast.org
</a></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
admin/moveclients.xsl
View file @
4c771579
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version =
"1.0"
>
<xsl:output
omit-xml-declaration=
"no"
method=
"xml"
doctype-public=
"-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system=
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent=
"yes"
encoding=
"UTF-8"
/>
<xsl:template
match =
"/icestats"
>
<html>
<head>
<title>
Icecast Streaming Media Server
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
/>
</head>
<body>
<center>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"3"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav"
href=
"listmounts.xsl"
>
List MountPoints
</a>
|
<a
class=
"nav"
href=
"moveclients.xsl"
>
Move Listeners
</a>
|
<a
class=
"nav"
href=
"stats.xsl"
>
Stats
</a>
|
<a
class=
"nav"
href=
"/status.xsl"
>
Status Page
</a>
</td></tr>
</table>
</center>
<xsl:variable
name =
"currentmount"
><xsl:value-of
select=
"current_source"
/></xsl:variable>
<h2>
Move Clients from (
<xsl:value-of
select=
"current_source"
/>
)
</h2>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<div
class=
"newscontent"
>
<h3>
Move to which mountpoint ?
</h3>
<xsl:for-each
select=
"source"
>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"5"
>
<tr>
<td>
Move from (
<xsl:copy-of
select=
"$currentmount"
/>
) to (
<xsl:value-of
select=
"@mount"
/>
)
</td>
<td><xsl:value-of
select=
"listeners"
/>
Listeners
</td>
<td><a
class=
"nav2"
href=
"moveclients.xsl?mount={$currentmount}&destination={@mount}"
>
Move Clients
</a></td>
</tr>
</table>
<br
/>
<br
/>
</xsl:for-each>
<xsl:text
disable-output-escaping=
"yes"
>
&
</xsl:text>
nbsp;
</div>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<div
class=
"poster"
>
<img
align=
"left"
src=
"/icecast.png"
/>
Support icecast development at
<a
class=
"nav"
href=
"http://www.icecast.org"
>
www.icecast.org
</a></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version =
"1.0"
>
<xsl:output
omit-xml-declaration=
"no"
method=
"xml"
doctype-public=
"-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system=
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent=
"yes"
encoding=
"UTF-8"
/>
<xsl:template
match =
"/icestats"
>
<html>
<head>
<title>
Icecast Streaming Media Server
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
/>
</head>
<body
topmargin=
"0"
leftmargin=
"0"
rightmargin=
"0"
bottommargin=
"0"
>
<img
align=
"left"
src=
"/icecast.png"
/><h2><center>
Icecast2 Admin
</center></h2>
<br
/>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"3"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav"
href=
"stats.xsl"
>
Admin Home
</a>
|
<a
class=
"nav"
href=
"listmounts.xsl"
>
List Mountpoints
</a>
|
<a
class=
"nav"
href=
"moveclients.xsl"
>
Move Listeners
</a>
|
<a
class=
"nav"
href=
"/status.xsl"
>
Index
</a>
</td></tr>
</table>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<br
/>
<br
/>
<xsl:variable
name =
"currentmount"
><xsl:value-of
select=
"current_source"
/></xsl:variable>
<h1>
Moving Listeners From (
<xsl:value-of
select=
"current_source"
/>
)
</h1>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<div
class=
"newscontent"
>
<h3>
Move to which mountpoint ?
</h3>
<xsl:for-each
select=
"source"
>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"5"
>
<tr>
<td>
Move from (
<xsl:copy-of
select=
"$currentmount"
/>
) to (
<xsl:value-of
select=
"@mount"
/>
)
</td>
<td><xsl:value-of
select=
"listeners"
/>
Listeners
</td>
<td><a
class=
"nav2"
href=
"moveclients.xsl?mount={$currentmount}&destination={@mount}"
>
Move Clients
</a></td>
</tr>
</table>
<br
/>
<br
/>
</xsl:for-each>
<xsl:text
disable-output-escaping=
"yes"
>
&
</xsl:text>
nbsp;
</div>
<div
class=
"roundbottom"
>
<img
src=
"/corner_bottomleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
</div>
<div
class=
"poster"
>
Support icecast development at
<a
class=
"nav"
href=
"http://www.icecast.org"
>
www.icecast.org
</a></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
admin/response.xsl
View file @
4c771579
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version =
"1.0"
>
<xsl:output
omit-xml-declaration=
"no"
method=
"xml"
doctype-public=
"-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system=
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent=
"yes"
encoding=
"UTF-8"
/>
<xsl:template
match =
"/iceresponse"
>
<html>
<head>
<title>
Icecast Streaming Media Server
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
/>
</head>
<body>
<center>
<table
border=
"0"
cellpadding=
"1"
cellspacing=
"3"
>
<tr>
<td
align=
"center"
>
<a
class=
"nav"
href=
"listmounts.xsl"
>
List MountPoints
</a>
|
<a
class=
"nav"
href=
"moveclients.xsl"
>
Move Listeners
</a>
|
<a
class=
"nav"
href=
"stats.xsl"
>
Stats
</a>
|
<a
class=
"nav"
href=
"/status.xsl"
>
Status Page
</a>
</td></tr>
</table>
</center>
<h2>
Icecast Server Response
</h2>
<div
class=
"roundcont"
>
<div
class=
"roundtop"
>
<img
src=
"/corner_topleft.jpg"
class=
"corner"
style=
"display: none"
/>
</div>
<div
class=
"newscontent"
>
<h3>
Response
</h3>
<xsl:for-each
select=
"/iceresponse"
>
Message :
<xsl:value-of
select=
"message"
/><br></br>
Return Code:
<xsl:value-of
select=
"return"
/><br></br>