Some fixes in Boards.xslt

main
Inga 🏳‍🌈 15 years ago
parent b6aa5d8a3b
commit bf94b8cd22
  1. 2
      Builder/IISMainHandler/build.txt
  2. 41
      templates/Full/Boards.xslt

@ -64,11 +64,11 @@
<xsl:template match="category"> <xsl:template match="category">
<table width="100%" align="center" class="tableborders" cellpadding="3" cellspacing="1"> <table width="100%" align="center" class="tableborders" cellpadding="3" cellspacing="1">
<tr> <tr>
<td class="tdheader" colspan="2"><xsl:value-of select="name"/></td> <td class="tdheader" colspan="2" width="61%"><xsl:value-of select="name"/></td>
<td class="tdheader" align="center">Òåìû</td> <td class="tdheader" align="center" width="7%">Òåìû</td>
<td class="tdheader" align="center">Ñîîáùåíèé</td> <td class="tdheader" align="center" width="7%">Ñîîáùåíèé</td>
<td class="tdheader" align="center">Ïîñëåäíåå</td> <td class="tdheader" align="center" width="15%">Ïîñëåäíåå</td>
<td class="tdheader" align="center">Ìîäåðàòîð</td> <td class="tdheader" align="center" width="10%">Ìîäåðàòîð</td>
</tr> </tr>
<xsl:apply-templates select="boards/board"/> <xsl:apply-templates select="boards/board"/>
</table> </table>
@ -76,34 +76,43 @@
<xsl:template match="board"> <xsl:template match="board">
<tr> <tr>
<td valign="top" width="1%" class="darktable"> <td width="4%" class="darktable" align="center" valign="middle">
<a href="/ubbthreads.php?Cat=&amp;C=&amp;check=Common&amp;src="> <a>
<xsl:attribute name="onClick">if (!confirm('Ïîìåòèòü âñå ñîîáùåíèÿ êàê ïðî÷èòàííûå?')) {event.returnValue=false; return false;}</xsl:attribute> <xsl:attribute name="onClick">if(!confirm('Ïîìåòèòü âñå ñîîáùåíèÿ êàê ïðî÷èòàííûå?')) {event.returnValue=false; return false;} else { alert("Not implemented yet"); }</xsl:attribute>
<img border="0" width="17" height="21" src="/static/images/newposts.gif" alt=""/> <img border="0" width="17" height="21" src="/static/images/newposts.gif" alt=""/>
</a> </a>
</td> </td>
<td width="55%" class="darktable"> <td width="57%" class="darktable">
<font class="forumtitle"> <font class="forumtitle">
<a href="/postlist.php?Cat=&amp;Board=Common&amp;time=1275991384&amp;showlite="><xsl:value-of select="name"/></a> <a>
<xsl:attribute name="href">/Threads/<xsl:value-of select="id"/>/</xsl:attribute>
<xsl:value-of select="name"/>
</a>
</font> </font>
<br /> <br />
<table cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<td class="forumdescript"> <td class="forumdescript" style="padding-right:0.5em">
<a href="/apostlist.php?Cat=&amp;Board=Common">A</a>&#160;&#160; <a href="/apostlist.php?Cat=&amp;Board=Common">
<xsl:attribute name="href">/Threads/<xsl:value-of select="id"/>/</xsl:attribute>
A
</a>
</td> </td>
<td class="forumdescript"><xsl:value-of select="description"/></td> <td class="forumdescript"><xsl:value-of select="description"/></td>
</tr> </tr>
</table> </table>
</td> </td>
<td width="7%" align="center" class="threadtotal" nowrap="nowrap">373</td> <td width="7%" align="center" class="threadtotal" nowrap="nowrap"><xsl:value-of select="totalThreads"/></td>
<td width="7%" align="center" class="posttotal" nowrap="nowrap">128648</td> <td width="7%" align="center" class="posttotal" nowrap="nowrap"><xsl:value-of select="totalPosts"/></td>
<td width="15%" nowrap="nowrap" class="posttime"> <td width="15%" nowrap="nowrap" class="posttime">
08.06.2010 14:03<br /> 08.06.2010 14:03<br />
<a href="/showflat.php?Cat=&amp;Board=Common&amp;Number=9554129&amp;src=#Post9554129">îò igor</a> <a>
<xsl:attribute name="href">/Thread/NOTIMPLEMENTED/p<xsl:value-of select="lastPostId"/>/</xsl:attribute>
îò igor
</a>
</td> </td>
<td width="10%" class="modcolumn" align="center"> <td width="10%" class="modcolumn" align="center">
&#160;<a href="/showprofile.php?User=Sash&amp;What=ubbthreads">Sash</a>, <a href="/showprofile.php?User=Sash&amp;What=ubbthreads">Sash</a>,
<a href="/showprofile.php?User=DeadmoroZ&amp;What=ubbthreads">DeadmoroZ</a> <a href="/showprofile.php?User=DeadmoroZ&amp;What=ubbthreads">DeadmoroZ</a>
</td> </td>
</tr> </tr>

Loading…
Cancel
Save