Events in die Calendar-Tage

git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@541 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
astro 2006-10-28 18:43:50 +00:00
parent 04ef134d88
commit 0f1d30ad23
2 changed files with 9 additions and 1 deletions

View File

@ -37,7 +37,7 @@
</xsl:choose>
</title>
<date><xsl:value-of select="start"/></date>
<location><xsl:value-of select="start"/></location>
<location><xsl:value-of select="location"/></location>
<!-- TODO: Link -->
</event>
</xsl:template>

View File

@ -70,6 +70,14 @@
</xsl:choose>
</xsl:attribute>
<xsl:value-of select="date:day-in-month($date)"/>
<ul>
<xsl:for-each select="event">
<xsl:sort select="date"/>
<xsl:if test="concat(date:year($date),'-',date:month-in-year($date),'-',date:day-in-month($date)) = concat(date:year(date),'-',date:month-in-year(date),'-',date:day-in-month(date))">
<li><xsl:value-of select="title"/></li>
</xsl:if>
</xsl:for-each>
</ul>
</td>
<xsl:if test="date:day-in-week($date) != 1"> <!-- Sunday? Break and return to output-week... -->
<xsl:call-template name="output-day">