You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.3 KiB
78 lines
2.3 KiB
<?xml version="1.0" encoding="ASCII"?>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
|
|
<xsl:import href="elems\Main.xslt"/>
|
|
<xsl:template name="specificTitle">
|
|
<xsl:call-template name="Messages_LocalNetworks"/>
|
|
</xsl:template>
|
|
<xsl:template name="specific">
|
|
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
|
|
<tr>
|
|
<td>
|
|
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
|
|
<tr class="darktable">
|
|
<td>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr class="darktable">
|
|
<td align="left" width="33%">
|
|
<font class="catandforum">
|
|
<xsl:call-template name="Messages_LocalNetworks"/>
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
<xsl:if test="localNetworks/localNetwork">
|
|
<table width="95%" align="center" class="tableborders" border="1">
|
|
<tr>
|
|
<td class="tdheader" align="center" width="15%">
|
|
<xsl:call-template name="Messages_Subnet"/>
|
|
</td>
|
|
<td class="tdheader" width="70%">
|
|
<xsl:call-template name="Messages_Description"/>
|
|
</td>
|
|
<td class="tdheader" align="center" width="15%">
|
|
<xsl:call-template name="Messages_State"/>
|
|
</td>
|
|
</tr>
|
|
<xsl:apply-templates select="localNetworks/localNetwork"/>
|
|
</table>
|
|
<br/>
|
|
</xsl:if>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="localNetwork">
|
|
<tr>
|
|
<xsl:choose>
|
|
<xsl:when test="position() mod 2 = 0">
|
|
<xsl:attribute name="class">lighttable</xsl:attribute>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:attribute name="class">darktable</xsl:attribute>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
<td align="center">
|
|
<xsl:value-of select="network"/>
|
|
</td>
|
|
<td align="left">
|
|
<xsl:value-of select="comment"/>
|
|
</td>
|
|
<td align="center">
|
|
<xsl:choose>
|
|
<xsl:when test="isEnabled='true'">
|
|
<xsl:call-template name="Messages_Enabled"/>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:call-template name="Messages_Disabled"/>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</td>
|
|
</tr>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet> |