parent
e556967725
commit
11bf04bf9f
@ -1 +1 @@ |
||||
805 |
||||
812 |
@ -0,0 +1,62 @@ |
||||
<?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:import href="elems\PollShortInfo.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%" border="0" class="tableborders"> |
||||
<tr class="darktable"> |
||||
<td colspan="6"> |
||||
<table width="100%" cellpadding="0" cellspacing="0"> |
||||
<tr> |
||||
<td colspan="2" class="catandforum"> |
||||
<a> |
||||
<xsl:attribute name="href">/Users/</xsl:attribute> |
||||
<xsl:text>Ïîëüçîâàòåëè</xsl:text> |
||||
</a> |
||||
<xsl:text> >> </xsl:text> |
||||
<xsl:apply-templates select="user" mode="userLink"/> |
||||
<xsl:text> >> </xsl:text> |
||||
<xsl:text>Îïðîñû ñ ó÷àñòèåì ïîëüçîâàòåëÿ</xsl:text> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<br/> |
||||
<table width="95%" align="center" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td align="left" nowrap="nowrap" width="75%" class="tdheader">Íàçâàíèå</td> |
||||
<td nowrap="nowrap" width="15%" class="tdheader" align="center">Àâòîð</td> |
||||
<td nowrap="nowrap" width="20%" class="tdheader" align="center">Äàòà</td> |
||||
</tr> |
||||
<!-- BEGIN POST LOOP DO NOT DELETE --> |
||||
<xsl:apply-templates select="polls/poll"/> |
||||
<!-- END OF LOOP --> |
||||
<tr class="tdheader"> |
||||
<td colspan="3"> |
||||
<font class="onbody"> |
||||
<xsl:text>ñòðàíèöû:</xsl:text> |
||||
<xsl:apply-templates select="polls/pageOuter" mode="withCurrent"> |
||||
<xsl:with-param name="baseLink">/User/<xsl:value-of select="user/id"/>/PollsParticipated/</xsl:with-param> |
||||
</xsl:apply-templates> |
||||
</font> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,38 @@ |
||||
<?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:template match="poll"> |
||||
<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="left"> |
||||
<img alt="*" hspace="5" style="vertical-align: text-bottom"> |
||||
<xsl:attribute name="src">/static/images/message-normal-read.gif</xsl:attribute> |
||||
</img> |
||||
<xsl:text> </xsl:text> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:text>/Poll/</xsl:text> |
||||
<xsl:value-of select="id"/> |
||||
<xsl:text>/</xsl:text> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="title"/> |
||||
</a> |
||||
</td> |
||||
<td align="left" nowrap="nowrap"> |
||||
<xsl:apply-templates select="poster/user" mode="userLink"/> |
||||
</td> |
||||
<td nowrap="nowrap" align="center"> |
||||
<xsl:apply-templates select="postDate/date" mode="dateTime"/> |
||||
</td> |
||||
</tr> |
||||
</xsl:template> |
||||
|
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue