| 743 | | <input type="button" value="add..." onclick="toggleActionIcons('bwActionIcons-0','bwActionIcons')"/> |
|---|
| 744 | | <xsl:call-template name="actionIcons"> |
|---|
| 745 | | <xsl:with-param name="actionIconsId">bwActionIcons-0</xsl:with-param> |
|---|
| 746 | | <xsl:with-param name="startDate"> |
|---|
| 747 | | <xsl:choose> |
|---|
| 748 | | <xsl:when test="/bedework/periodname = 'day'"><xsl:value-of select="/bedework/firstday/date"/></xsl:when> |
|---|
| 749 | | <xsl:otherwise><xsl:value-of select="/bedework/now/date"/></xsl:otherwise> |
|---|
| 750 | | </xsl:choose> |
|---|
| 751 | | </xsl:with-param> |
|---|
| 752 | | </xsl:call-template> |
|---|
| | 743 | <xsl:if test="/bedework/page != 'addEvent' or /bedework/page='editEvent'"> |
|---|
| | 744 | <input type="button" value="add..." onclick="toggleActionIcons('bwActionIcons-0','bwActionIcons')"/> |
|---|
| | 745 | <xsl:call-template name="actionIcons"> |
|---|
| | 746 | <xsl:with-param name="actionIconsId">bwActionIcons-0</xsl:with-param> |
|---|
| | 747 | <xsl:with-param name="startDate"> |
|---|
| | 748 | <xsl:choose> |
|---|
| | 749 | <xsl:when test="/bedework/periodname = 'day'"><xsl:value-of select="/bedework/firstday/date"/></xsl:when> |
|---|
| | 750 | <xsl:otherwise><xsl:value-of select="/bedework/now/date"/></xsl:otherwise> |
|---|
| | 751 | </xsl:choose> |
|---|
| | 752 | </xsl:with-param> |
|---|
| | 753 | </xsl:call-template> |
|---|
| | 754 | </xsl:if> |
|---|