|
|
|
@ -89,18 +89,24 @@
|
|
|
|
|
<xsl:with-param name="date" select="$date"/>
|
|
|
|
|
</xsl:call-template>
|
|
|
|
|
</xsl:variable>
|
|
|
|
|
<xsl:if test="$today = $date"><a name="today"></a></xsl:if><!-- vv01f: ancor so that #today is the link to current day -->
|
|
|
|
|
|
|
|
|
|
<xsl:if test="$today = $date"><a name="today"/></xsl:if><!-- vv01f: ancor so that #today is the link to current day -->
|
|
|
|
|
|
|
|
|
|
<!-- clou'd calendar week for XSLT 1.0 from http://exslt.org/date/functions/week-in-year/index.html (by "Jeni Tennison" <mail@jenitennison.com>) -->
|
|
|
|
|
<xsl:if test="date:day-in-week($date) = 2">
|
|
|
|
|
<xsl:variable name="calweek">
|
|
|
|
|
<xsl:value-of select="date:week-in-year($date)"/>
|
|
|
|
|
<!-- XSLT 2.0 <xsl:value-of select="date:format-date(date,'[W]')"/-->
|
|
|
|
|
</xsl:variable>
|
|
|
|
|
<span class="calweek" id="calweek-{$calweek}" title="{$calweek}. Kalenderwoche">
|
|
|
|
|
<xsl:value-of select="$calweek"/>
|
|
|
|
|
</span>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
|
|
<span class="day" title="{$ddate}"
|
|
|
|
|
id="calendar-{date:year($date)}-{date:month-in-year($date)}-{date:day-in-month($date)}">
|
|
|
|
|
<xsl:value-of select="date:day-in-month($date)"/>
|
|
|
|
|
</span>
|
|
|
|
|
<!-- clou'd calendar week for XSLT 1.0 from http://exslt.org/date/functions/week-in-year/index.html (by "Jeni Tennison" <mail@jenitennison.com>) -->
|
|
|
|
|
<xsl:if test="date:day-in-week($date) = 2">
|
|
|
|
|
<span class="calweek" title="Kalenderwoche">
|
|
|
|
|
<xsl:value-of select="date:week-in-year($date)"/>
|
|
|
|
|
<!-- XSLT 2.0 <xsl:value-of select="date:format-date(date,'[W]')"/-->
|
|
|
|
|
</span>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
<xsl:variable name="dholiday">
|
|
|
|
|