[freenet-cvs] r15205 - trunk/plugins/Echo/src/xml

fred at freenetproject.org fred at freenetproject.org
Sun Sep 16 14:12:03 UTC 2007


Author: fred
Date: 2007-09-16 14:12:02 +0000 (Sun, 16 Sep 2007)
New Revision: 15205

Modified:
   trunk/plugins/Echo/src/xml/test.xsl
Log:
Do not add the meta div if the post does not have a category

Modified: trunk/plugins/Echo/src/xml/test.xsl
===================================================================
--- trunk/plugins/Echo/src/xml/test.xsl	2007-09-16 14:07:29 UTC (rev 15204)
+++ trunk/plugins/Echo/src/xml/test.xsl	2007-09-16 14:12:02 UTC (rev 15205)
@@ -126,8 +126,8 @@
 						<div class="entry">
 						<xsl:copy-of select="content/node()" />
 						</div>
+						<xsl:if test="count(categories/category) > 0">
 						<div class="meta">
-						<xsl:if test="count(categories/category) > 0">
 							Posted in <ul class="categories">
 							<xsl:for-each select="categories/category">
 								<li>
@@ -139,8 +139,9 @@
 								</li>
 							</xsl:for-each>
 							</ul>
+						</div>
 						</xsl:if>
-						</div>
+						
 					</div>
 				</xsl:for-each>
 			</xsl:when>




More information about the cvs mailing list