Board read indicators logic changed

main
Inga 🏳‍🌈 14 years ago
parent 33dadc3752
commit 060876e264
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      templates/Full/elems/BoardInfo.xslt
  3. 2
      templates/Lite/elems/BoardInfo.xslt

@ -7,7 +7,7 @@
<a>
<xsl:attribute name="onClick">if(!confirm('Ïîìåòèòü âñå ñîîáùåíèÿ êàê ïðî÷èòàííûå?')) {event.returnValue=false; return false;} else { alert("Not implemented yet"); }</xsl:attribute>
<xsl:choose>
<xsl:when test="(hasNewPosts='true') and (lastPostInfo/post/id &gt; 10000000)">
<xsl:when test="(hasNewPosts='true') and not(lastPostInfo/post/poster/user/id = /root/session/user/id)">
<img border="0" width="17" height="21" src="/static/images/newposts.gif" alt=""/>
</xsl:when>
<xsl:otherwise>

@ -4,7 +4,7 @@
<xsl:template match="board">
<p>
<xsl:choose>
<xsl:when test="(hasNewPosts='true') and (lastPostInfo/post/id &gt; 10000000)">
<xsl:when test="(hasNewPosts='true') and not(lastPostInfo/post/poster/user/id = /root/session/user/id)">
<xsl:text>(*)</xsl:text>
</xsl:when>
<xsl:otherwise>

Loading…
Cancel
Save