Follow-up to rev.441

main
Inga 🏳‍🌈 14 years ago
parent 7707ec40cf
commit 53d6498d29
  1. 2
      Builder/IISMainHandler/build.txt
  2. BIN
      static/images/adm.gif
  3. 1
      templates/Full/AllThreads.xslt
  4. 1
      templates/Full/Board.xslt
  5. 1
      templates/Full/UserPosts.xslt
  6. 1
      templates/Full/UserReplies.xslt
  7. 1
      templates/Full/UserThreads.xslt
  8. 1
      templates/Rss/AllPosts.xslt
  9. 11
      templates/Rss/AllThreads.xslt
  10. 12
      templates/Rss/Board.xslt
  11. 12
      templates/Rss/UserPosts.xslt
  12. 12
      templates/Rss/UserReplies.xslt
  13. 12
      templates/Rss/UserThreads.xslt
  14. 42
      templates/Rss/elems/ThreadInfo.xslt

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

@ -5,6 +5,7 @@
<xsl:template name="specificTitle">
<xsl:text>Âñå òåìû</xsl:text>
</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>

@ -7,6 +7,7 @@
<xsl:value-of select="currentLocation/board/name"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>

@ -6,6 +6,7 @@
<xsl:text>Ñîîáùåíèÿ - </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>

@ -6,6 +6,7 @@
<xsl:text>Îòâåòû - </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>

@ -6,6 +6,7 @@
<xsl:text>Òåìû - </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" class="tablesurround">
<tr>

@ -8,5 +8,4 @@
<xsl:template name="specific">
<xsl:apply-templates select="posts/post"/>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\ThreadInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Âñå òåìû</xsl:text>
</xsl:template>
<xsl:template name="specific">
<xsl:apply-templates select="threads/thread"/>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\ThreadInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Òåìû ðàçäåëà </xsl:text>
<xsl:value-of select="currentLocation/board/name"/>
</xsl:template>
<xsl:template name="specific">
<xsl:apply-templates select="threads/thread"/>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Ñîîáùåíèÿ ïîëüçîâàòåëÿ </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="specific">
<xsl:apply-templates select="posts/post"/>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Îòâåòû ïîëüçîâàòåëþ </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="specific">
<xsl:apply-templates select="posts/post"/>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\ThreadInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Òåìû ïîëüçîâàòåëÿ </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="specific">
<xsl:apply-templates select="threads/thread"/>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="thread">
<item>
<title>
<xsl:text>Íîâîå ñîîáùåíèå â îáñóæäåíèè </xsl:text>
<xsl:value-of select="title"/>
</title>
<description>
<xsl:text>Âñåãî â îáñóæäåíèè </xsl:text>
<xsl:value-of select="totalPosts"/>
<xsl:text> ñîîáùåíèé</xsl:text>
<xsl:if test="totalNewPosts &gt; 0">
<xsl:text>, èç íèõ </xsl:text>
<xsl:value-of select="totalNewPosts"/>
<xsl:text> íåïðî÷èòàííûõ</xsl:text>
</xsl:if>
</description>
<link>
<xsl:value-of select="$mainUrl"/>
<xsl:text>/Thread/</xsl:text>
<xsl:value-of select="id"/>
<xsl:text>/</xsl:text>
<xsl:if test="totalNewPosts and totalNewPosts!='0'">
<xsl:text>p</xsl:text>
<xsl:value-of select="afterLastRead"/>
</xsl:if>
</link>
<guid>
<xsl:text>thread-</xsl:text>
<xsl:value-of select="id"/>
<xsl:text>-</xsl:text>
<xsl:value-of select="lastPostId"/>
</guid>
<pubDate>
<xsl:apply-templates select="lastPostDate/date" mode="dateTime"/>
</pubDate>
</item>
</xsl:template>
</xsl:stylesheet>
Loading…
Cancel
Save