svn path=/trunk/; revision=20099
This commit is contained in:
parent
be9c4e9a03
commit
e4e200954f
@ -10,9 +10,7 @@
|
||||
|
||||
<div id="intro">
|
||||
<p>
|
||||
Here after is a list of tags that are currently being used. The
|
||||
number in parenthesis is the number of time this tag is used in
|
||||
our pages.
|
||||
Here after is a list of tags that are currently being used.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -121,6 +121,15 @@
|
||||
<!--display dynamic list of tags used in news-->
|
||||
<xsl:template name="all-tags-news">
|
||||
|
||||
<!-- <xsl:variable name="nbtags" select="count(
|
||||
/html/set/news/tags/tag[
|
||||
count( . | key( 'news-tags-by-value', . )[1] ) = 1
|
||||
])" />
|
||||
|
||||
<xsl:variable name="average" select="count(/html/set/news/tags/tag) div $nbtags" />
|
||||
|
||||
##<xsl:value-of select="$nbtags" />##<xsl:value-of select="$average" />## -->
|
||||
|
||||
<xsl:element name="ul">
|
||||
|
||||
<xsl:attribute name="class">taglist</xsl:attribute>
|
||||
@ -135,7 +144,6 @@
|
||||
→ to finish this calculation, we need to find out how many min and max tag occurrences there are -->
|
||||
<!-- <xsl:variable name="font" select="(40-16) * ($nb-16) / (MAXCOUNT-MINCOUNT) + 16" /> -->
|
||||
|
||||
|
||||
<xsl:if test="generate-id() = generate-id(key('news-tags-by-value', normalize-space(.)))">
|
||||
|
||||
<xsl:element name="li">
|
||||
|
Loading…
x
Reference in New Issue
Block a user