parent
2f3ce6b12d
commit
d912c56375
@ -1 +1 @@ |
||||
1488 |
||||
1492 |
@ -0,0 +1,33 @@ |
||||
<?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" 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"/> |
||||
</font> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,37 @@ |
||||
<?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 name="pollsHeader"> |
||||
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1"> |
||||
<tr> |
||||
<td> |
||||
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1"> |
||||
<tr> |
||||
<td align="center" class="menubar"> |
||||
<xsl:call-template name="headerLink"> |
||||
<xsl:with-param name="url">/Polls/List/</xsl:with-param> |
||||
<xsl:with-param name="text">Ñïèñîê</xsl:with-param> |
||||
</xsl:call-template> |
||||
<xsl:text> | </xsl:text> |
||||
<xsl:call-template name="headerLink"> |
||||
<xsl:with-param name="url">/Polls/New/</xsl:with-param> |
||||
<xsl:with-param name="text">Ñîçäàòü íîâûé</xsl:with-param> |
||||
</xsl:call-template> |
||||
<xsl:text> | </xsl:text> |
||||
<img src="/static/images/shortcut.png" border="0"/> |
||||
<xsl:call-template name="headerLink"> |
||||
<xsl:with-param name="url">/Users/User/<xsl:value-of select="session/user/id"/>/PollsParticipated/</xsl:with-param> |
||||
<xsl:with-param name="text">Ñ ìîèìè ãîëîñàìè</xsl:with-param> |
||||
<xsl:with-param name="isDisabled"> |
||||
<xsl:if test="not(session/sessionKey)">true</xsl:if> |
||||
</xsl:with-param> |
||||
</xsl:call-template> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
Loading…
Reference in new issue