| 1 |
<xsl:stylesheet |
|---|
| 2 |
version="1.0" |
|---|
| 3 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|---|
| 4 |
xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 5 |
|
|---|
| 6 |
<!-- Display the Date and Provide Navigation --> |
|---|
| 7 |
<xsl:template name="navigation"> |
|---|
| 8 |
<xsl:if test="/bedework/periodname != 'Year'"> |
|---|
| 9 |
<ul id="calDisplayOptions"> |
|---|
| 10 |
<li> |
|---|
| 11 |
<xsl:choose> |
|---|
| 12 |
<xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> |
|---|
| 13 |
<a href="{$setup}&setappvar=summaryMode(summary)" title="toggle summary/detailed view"> |
|---|
| 14 |
<xsl:copy-of select="$bwStr-SrcB-Summary"/> |
|---|
| 15 |
</a> |
|---|
| 16 |
</xsl:when> |
|---|
| 17 |
<xsl:otherwise> |
|---|
| 18 |
<a href="{$setup}&setappvar=summaryMode(details)" title="toggle summary/detailed view"> |
|---|
| 19 |
<xsl:copy-of select="$bwStr-SrcB-Details"/> |
|---|
| 20 |
</a> |
|---|
| 21 |
</xsl:otherwise> |
|---|
| 22 |
</xsl:choose> |
|---|
| 23 |
</li> |
|---|
| 24 |
</ul> |
|---|
| 25 |
<a id="rssRequest" class="rss" href="/feeder/showMain.rdo?skinName=list-rss" title="RSS feed"> |
|---|
| 26 |
<img src="{$resourcesRoot}/images/feed-icon-14x14.png" alt="RSS Feed Icon" /> |
|---|
| 27 |
</a> |
|---|
| 28 |
</xsl:if> |
|---|
| 29 |
<a id="prevViewPeriod" href="{$setViewPeriod}&date={$prevdate}"> |
|---|
| 30 |
« |
|---|
| 31 |
</a> |
|---|
| 32 |
<h3> |
|---|
| 33 |
<xsl:choose> |
|---|
| 34 |
<xsl:when test="/bedework/periodname='Year'"> |
|---|
| 35 |
<xsl:value-of |
|---|
| 36 |
select="substring(/bedework/firstday/date,1,4)" /> |
|---|
| 37 |
</xsl:when> |
|---|
| 38 |
<xsl:when test="/bedework/periodname='Month'"> |
|---|
| 39 |
<xsl:value-of select="/bedework/firstday/monthname" /> |
|---|
| 40 |
, |
|---|
| 41 |
<xsl:value-of |
|---|
| 42 |
select="substring(/bedework/firstday/date,1,4)" /> |
|---|
| 43 |
</xsl:when> |
|---|
| 44 |
<xsl:when test="/bedework/periodname='Week'"> |
|---|
| 45 |
Week of |
|---|
| 46 |
<xsl:value-of |
|---|
| 47 |
select="substring-after(/bedework/firstday/longdate,', ')" /> |
|---|
| 48 |
</xsl:when> |
|---|
| 49 |
<xsl:otherwise> |
|---|
| 50 |
<xsl:value-of select="/bedework/firstday/longdate" /> |
|---|
| 51 |
</xsl:otherwise> |
|---|
| 52 |
</xsl:choose> |
|---|
| 53 |
</h3> |
|---|
| 54 |
<a id="nextViewPeriod" href="{$setViewPeriod}&date={$nextdate}"> |
|---|
| 55 |
» |
|---|
| 56 |
</a> |
|---|
| 57 |
</xsl:template> |
|---|
| 58 |
|
|---|
| 59 |
</xsl:stylesheet> |
|---|