[xiph-commits] r10100 - in icecast/trunk/icecast/admin: . fr_FR

pem at svn.xiph.org pem at svn.xiph.org
Fri Sep 30 07:39:50 PDT 2005


Author: pem
Date: 2005-09-30 07:39:46 -0700 (Fri, 30 Sep 2005)
New Revision: 10100

Added:
   icecast/trunk/icecast/admin/fr_FR/
   icecast/trunk/icecast/admin/fr_FR/Makefile.am
   icecast/trunk/icecast/admin/fr_FR/listmounts.xsl
   icecast/trunk/icecast/admin/fr_FR/manageauth.xsl
   icecast/trunk/icecast/admin/fr_FR/moveclients.xsl
   icecast/trunk/icecast/admin/fr_FR/response.xsl
   icecast/trunk/icecast/admin/fr_FR/stats.xsl
   icecast/trunk/icecast/admin/fr_FR/updatemetadata.xsl
Log:


Added: icecast/trunk/icecast/admin/fr_FR/Makefile.am
===================================================================
--- icecast/trunk/icecast/admin/fr_FR/Makefile.am	2005-09-30 13:47:10 UTC (rev 10099)
+++ icecast/trunk/icecast/admin/fr_FR/Makefile.am	2005-09-30 14:39:46 UTC (rev 10100)
@@ -0,0 +1,8 @@
+## Process this file with automake to produce Makefile.in
+
+AUTOMAKE_OPTIONS = foreign
+
+admindir = $(pkgdatadir)/admin
+dist_admin_DATA = listclients.xsl listmounts.xsl moveclients.xsl response.xsl \
+	stats.xsl manageauth.xsl updatemetadata.xsl
+

Added: icecast/trunk/icecast/admin/fr_FR/listmounts.xsl
===================================================================
--- icecast/trunk/icecast/admin/fr_FR/listmounts.xsl	2005-09-30 13:47:10 UTC (rev 10099)
+++ icecast/trunk/icecast/admin/fr_FR/listmounts.xsl	2005-09-30 14:39:46 UTC (rev 10100)
@@ -0,0 +1,77 @@
+<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>
+</xsl:when>
+<xsl:otherwise>
+<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a>
+</xsl:otherwise>
+</xsl:choose>
+<xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
+Mount Point : (<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>
+                <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">&amp;</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>

Added: icecast/trunk/icecast/admin/fr_FR/manageauth.xsl
===================================================================
--- icecast/trunk/icecast/admin/fr_FR/manageauth.xsl	2005-09-30 13:47:10 UTC (rev 10099)
+++ icecast/trunk/icecast/admin/fr_FR/manageauth.xsl	2005-09-30 14:39:46 UTC (rev 10100)
@@ -0,0 +1,95 @@
+<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}&amp;username={username}&amp;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">&amp;</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>

Added: icecast/trunk/icecast/admin/fr_FR/moveclients.xsl
===================================================================
--- icecast/trunk/icecast/admin/fr_FR/moveclients.xsl	2005-09-30 13:47:10 UTC (rev 10099)
+++ icecast/trunk/icecast/admin/fr_FR/moveclients.xsl	2005-09-30 14:39:46 UTC (rev 10100)
@@ -0,0 +1,63 @@
+<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}&amp;destination={@mount}">Move Clients</a></td>
+	</tr>        
+	</table>
+<br />
+<br />
+</xsl:for-each>
+<xsl:text disable-output-escaping="yes">&amp;</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>

Added: icecast/trunk/icecast/admin/fr_FR/response.xsl
===================================================================
--- icecast/trunk/icecast/admin/fr_FR/response.xsl	2005-09-30 13:47:10 UTC (rev 10099)
+++ icecast/trunk/icecast/admin/fr_FR/response.xsl	2005-09-30 14:39:46 UTC (rev 10100)
@@ -0,0 +1,56 @@
+<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 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>Icecast Server Response</h1>
+<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>
+</xsl:for-each>
+<br />
+<br />
+</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>

Added: icecast/trunk/icecast/admin/fr_FR/stats.xsl
===================================================================
--- icecast/trunk/icecast/admin/fr_FR/stats.xsl	2005-09-30 13:47:10 UTC (rev 10099)
+++ icecast/trunk/icecast/admin/fr_FR/stats.xsl	2005-09-30 14:39:46 UTC (rev 10100)
@@ -0,0 +1,117 @@
+<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 />
+<!--header menu -->
+<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 />
+<!--end header menu -->
+
+<!--global server stats-->
+<div class="roundcont">
+<div class="roundtop">
+<img src="/corner_topleft.jpg" class="corner" style="display: none" />
+</div>
+<div class="newscontent">
+<h3>Global Server Stats</h3>
+<table border="0" cellpadding="4">
+<xsl:for-each select="/icestats">
+<xsl:for-each select="*">
+<xsl:if test = "name()!='source'"> 
+<tr>
+	<td width="130"><xsl:value-of select="name()" /></td>
+	<td class="streamdata"><xsl:value-of select="." /></td>
+</tr>
+</xsl:if>
+</xsl:for-each>
+</xsl:for-each>
+</table>
+</div>
+<div class="roundbottom">
+<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
+</div>
+</div>
+<br />
+<br />
+<!--end global server stats-->
+
+<!--mount point stats-->
+<xsl:for-each select="source">
+<xsl:if test = "listeners!=''"> 
+<div class="roundcont">
+<div class="roundtop">
+<img src="/corner_topleft.jpg" class="corner" style="display: none" />
+</div>
+<div class="newscontent">
+<h3>
+<xsl:choose>
+<xsl:when test="authenticator">
+<a href="/auth.xsl"><img border="0" src="/key.png"/></a>
+</xsl:when>
+<xsl:otherwise>
+<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a>
+</xsl:otherwise>
+</xsl:choose>
+Mount Point : (<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 MountPoints</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 />
+<table cellpadding="5" cellspacing="0" border="0">
+	<xsl:for-each select="*">
+	<tr>
+		<td width="130"><xsl:value-of select="name()" /></td>
+		<td class="streamdata"><xsl:value-of select="." /></td>
+	</tr>
+	</xsl:for-each>
+</table>
+</div>
+<div class="roundbottom">
+<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
+</div>
+</div>
+<br />
+<br />
+</xsl:if>
+</xsl:for-each>
+<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;
+
+
+<!--end mount point stats-->
+<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>

Added: icecast/trunk/icecast/admin/fr_FR/updatemetadata.xsl
===================================================================
--- icecast/trunk/icecast/admin/fr_FR/updatemetadata.xsl	2005-09-30 13:47:10 UTC (rev 10099)
+++ icecast/trunk/icecast/admin/fr_FR/updatemetadata.xsl	2005-09-30 14:39:46 UTC (rev 10100)
@@ -0,0 +1,66 @@
+<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>Update Metadata</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:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
+(<xsl:value-of select="@mount" />)</h3>
+
+<form method="GET" action="/admin/metadata.xsl">
+<table border="0" cellpadding="4">
+<tr><td>Metadata : <input type="text" name="song"/></td></tr>
+<tr><td><input type="Submit" value="Update"/></td></tr>
+</table>
+<input type="hidden" name="mount" value="{@mount}"/>
+<input type="hidden" name="mode" value="updinfo"/>
+</form>
+
+<br />
+<br />
+</xsl:for-each>
+<xsl:text disable-output-escaping="yes">&amp;</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>



More information about the commits mailing list