updatemetadata.xsl 2.27 KB
Newer Older
1
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
2
<xsl:output omit-xml-declaration="no" method="html" 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" />
3
<xsl:template match = "/icestats" >
4
<html xmlns="http://www.w3.org/1999/xhtml">
5 6 7 8
<head>
<title>Icecast Streaming Media Server</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
</head>
9
<body>
10
<h2>Icecast2 Admin</h2>
11 12 13

<div class="roundcont">
<div class="roundtop">
14
<img src="/corner_topleft.jpg" class="corner" style="display: none" alt="" />
15 16 17 18
</div>
	<table border="0" cellpadding="1" cellspacing="3">
	<tr>        
	    <td align="center">
19 20 21
	        <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>
22 23 24 25
        	<a class="nav" href="/status.xsl">Index</a>
	    </td></tr>
	</table>
<div class="roundbottom">
26
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" alt="" />
27 28
</div>
</div>
29
<p><br /></p>
30 31 32 33

<h1>Update Metadata</h1>
<div class="roundcont">
<div class="roundtop">
34
<img src="/corner_topleft.jpg" class="corner" style="display: none" alt="" />
35
</div>
36
<div class="content">
37 38 39 40 41
<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>

42
<form method="get" action="/admin/metadata.xsl">
43
<table border="0" cellpadding="4">
44 45
	<tr><td><p>Metadata : <input type="text" name="song"/></p></td></tr>
<tr><td><input type="submit" value="Update"/></td></tr>
46
</table>
47 48 49 50 51
<div>
	<input type="hidden" name="mount" value="{@mount}"/>
	<input type="hidden" name="mode" value="updinfo"/>
	<input type="hidden" name="charset" value="UTF-8"/>
</div>
52 53 54 55 56 57 58
</form>

<br />
</xsl:for-each>
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;
</div>
<div class="roundbottom">
59
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" alt="" />
60 61 62 63 64 65 66
</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>