parent
a524e7641b
commit
30c5204a49
@ -1 +1 @@ |
|||||||
932 |
936 |
@ -0,0 +1,70 @@ |
|||||||
|
<?xml version="1.0" encoding="Windows-1251"?> |
||||||
|
<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: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:text>Ëîêàëüíûå ñåòè</xsl:text> |
||||||
|
</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%">Ïîäñåòü</td> |
||||||
|
<td class="tdheader" width="70%">Îïèñàíèå</td> |
||||||
|
<td class="tdheader" align="center" width="15%">Ñîñòîÿíèå</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:text>Âêëþ÷åíà</xsl:text> |
||||||
|
</xsl:when> |
||||||
|
<xsl:otherwise> |
||||||
|
<xsl:text>Îòêëþ÷åíà</xsl:text> |
||||||
|
</xsl:otherwise> |
||||||
|
</xsl:choose> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
</xsl:stylesheet> |
Loading…
Reference in new issue