|
Lines 220-226
Link Here
|
| 220 |
|
220 |
|
| 221 |
<ul id="events-past-years"> |
221 |
<ul id="events-past-years"> |
| 222 |
<xsl:call-template name="split-string"> |
222 |
<xsl:call-template name="split-string"> |
| 223 |
<xsl:with-param name="seperator" select="' '"/> |
223 |
<xsl:with-param name="separator" select="' '"/> |
| 224 |
<xsl:with-param name="text" select="$pastyears"/> |
224 |
<xsl:with-param name="text" select="$pastyears"/> |
| 225 |
</xsl:call-template> |
225 |
</xsl:call-template> |
| 226 |
</ul> |
226 |
</ul> |
|
Lines 345-355
Link Here
|
| 345 |
</xsl:template> |
345 |
</xsl:template> |
| 346 |
|
346 |
|
| 347 |
<xsl:template name="split-string"> |
347 |
<xsl:template name="split-string"> |
| 348 |
<xsl:param name="seperator"/> |
348 |
<xsl:param name="separator"/> |
| 349 |
<xsl:param name="text"/> |
349 |
<xsl:param name="text"/> |
| 350 |
<xsl:variable name="first" select="substring-before($text, $seperator)"/> |
350 |
<xsl:variable name="first" select="substring-before($text, $separator)"/> |
| 351 |
<xsl:choose> |
351 |
<xsl:choose> |
| 352 |
<xsl:when test="$first or substring-after($text,$seperator)"> |
352 |
<xsl:when test="$first or substring-after($text,$separator)"> |
| 353 |
<xsl:if test="$first"> |
353 |
<xsl:if test="$first"> |
| 354 |
<li><a> |
354 |
<li><a> |
| 355 |
<xsl:attribute name="href">events<xsl:value-of select="$first"/>.html</xsl:attribute> |
355 |
<xsl:attribute name="href">events<xsl:value-of select="$first"/>.html</xsl:attribute> |
|
Lines 357-364
Link Here
|
| 357 |
</a></li> |
357 |
</a></li> |
| 358 |
</xsl:if> |
358 |
</xsl:if> |
| 359 |
<xsl:call-template name="split-string"> |
359 |
<xsl:call-template name="split-string"> |
| 360 |
<xsl:with-param name="text" select="substring-after($text,$seperator)"/> |
360 |
<xsl:with-param name="text" select="substring-after($text,$separator)"/> |
| 361 |
<xsl:with-param name="seperator" select="$seperator"/> |
361 |
<xsl:with-param name="separator" select="$separator"/> |
| 362 |
</xsl:call-template> |
362 |
</xsl:call-template> |
| 363 |
</xsl:when> |
363 |
</xsl:when> |
| 364 |
<xsl:otherwise> |
364 |
<xsl:otherwise> |