| 719 | | <xsl:choose> |
|---|
| 720 | | <xsl:when test="/bedework/periodname = 'day'"> |
|---|
| 721 | | <xsl:variable name="date" select="/bedework/firstday/date"/> |
|---|
| 722 | | <a href="{$initEvent}&startdate={$date}" title="add event"> |
|---|
| 723 | | <img src="{$resourcesRoot}/resources/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="add event"/> |
|---|
| 724 | | add event |
|---|
| 725 | | </a> |
|---|
| 726 | | </xsl:when> |
|---|
| 727 | | <xsl:otherwise> |
|---|
| 728 | | <a href="{$initEvent}" title="add event"> |
|---|
| 729 | | <img src="{$resourcesRoot}/resources/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="add event"/> |
|---|
| 730 | | add event |
|---|
| 731 | | </a> |
|---|
| 732 | | </xsl:otherwise> |
|---|
| 733 | | </xsl:choose> |
|---|
| 734 | | <a href="{$event-initMeeting}&schedule=request" title="schedule a meeting"> |
|---|
| 735 | | <img src="{$resourcesRoot}/resources/std-icalMeeting-icon-small.gif" width="12" height="16" border="0" alt="add meeting"/> |
|---|
| 736 | | add meeting |
|---|
| 737 | | </a> |
|---|
| 738 | | <a href="{$initUpload}" title="upload event"> |
|---|
| 739 | | <img src="{$resourcesRoot}/resources/std-icalUpload-icon-small.gif" width="12" height="16" border="0" alt="upload event"/> |
|---|
| 740 | | upload |
|---|
| 741 | | </a> |
|---|
| | 719 | <input type="button" value="add..." onmouseover="changeClass('bwActionIcons-0','bwActionIcons')" onclick="toggleVisibility('bwActionIcons-0','bwActionIcons')"/> |
|---|
| | 720 | <xsl:call-template name="actionIcons"> |
|---|
| | 721 | <xsl:with-param name="actionIconsId">bwActionIcons-0</xsl:with-param> |
|---|
| | 722 | <xsl:with-param name="startDate"> |
|---|
| | 723 | <xsl:choose> |
|---|
| | 724 | <xsl:when test="/bedework/periodname = 'day'"><xsl:value-of select="/bedework/firstday/date"/></xsl:when> |
|---|
| | 725 | <xsl:otherwise><xsl:value-of select="/bedework/now/date"/></xsl:otherwise> |
|---|
| | 726 | </xsl:choose> |
|---|
| | 727 | </xsl:with-param> |
|---|
| | 728 | </xsl:call-template> |
|---|
| | 837 | </xsl:template> |
|---|
| | 838 | |
|---|
| | 839 | <xsl:template name="actionIcons"> |
|---|
| | 840 | <xsl:param name="startDate"/> |
|---|
| | 841 | <xsl:param name="actionIconsId"/> |
|---|
| | 842 | <div id="{$actionIconsId}" class="invisible"> |
|---|
| | 843 | <a href="{$initEvent}&entityType=event&startdate={$startDate}" title="add event" onclick="javascript:changeClass('{$actionIconsId}','invisible')"> |
|---|
| | 844 | <img src="{$resourcesRoot}/resources/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="add event"/> |
|---|
| | 845 | add event |
|---|
| | 846 | </a> |
|---|
| | 847 | <a href="{$event-initMeeting}&entityType=event&schedule=request&startdate={$startDate}" title="schedule a meeting" onclick="javascript:changeClass('{$actionIconsId}','invisible')"> |
|---|
| | 848 | <img src="{$resourcesRoot}/resources/std-icalMeeting-icon-small.gif" width="12" height="16" border="0" alt="schedule meeting"/> |
|---|
| | 849 | schedule meeting |
|---|
| | 850 | </a> |
|---|
| | 851 | <a href="{$initEvent}&entityType=task&startdate={$startDate}" title="add task" onclick="javascript:changeClass('{$actionIconsId}','invisible')"> |
|---|
| | 852 | <img src="{$resourcesRoot}/resources/std-icalTask-icon-small.gif" width="12" height="16" border="0" alt="add task"/> |
|---|
| | 853 | add task |
|---|
| | 854 | </a> |
|---|
| | 855 | <a href="{$event-initMeeting}&entityType=task&schedule=request&startdate={$startDate}" title="schedule a task" onclick="javascript:changeClass('{$actionIconsId}','invisible')"> |
|---|
| | 856 | <img src="{$resourcesRoot}/resources/std-icalSchTask-icon-small.gif" width="12" height="16" border="0" alt="schedule task"/> |
|---|
| | 857 | schedule task |
|---|
| | 858 | </a> |
|---|
| | 859 | <a href="{$initUpload}" title="upload event" onclick="javascript:changeClass('{$actionIconsId}','invisible')"> |
|---|
| | 860 | <img src="{$resourcesRoot}/resources/std-icalUpload-icon-small.gif" width="12" height="16" border="0" alt="upload event"/> |
|---|
| | 861 | upload |
|---|
| | 862 | </a> |
|---|
| | 863 | </div> |
|---|
| 1104 | | <a href="{$initEvent}&startdate={$dayDate}" class="gridAdd" title="add event"> |
|---|
| 1105 | | <img src="{$resourcesRoot}/resources/addEvent-forGrid-icon.gif" width="9" height="10" border="0" alt="add event"/> |
|---|
| 1106 | | </a> |
|---|
| | 1118 | <xsl:variable name="actionIconsId">bwActionIcons-<xsl:value-of select="value"/></xsl:variable> |
|---|
| | 1119 | <div class="gridAdd"> |
|---|
| | 1120 | <a href="javascript:toggleVisibility('{$actionIconsId}','bwActionIconsInGrid')" title="add..."> |
|---|
| | 1121 | <img src="{$resourcesRoot}/resources/addEvent-forGrid-icon.gif" width="10" height="10" border="0" alt="add..."/> |
|---|
| | 1122 | </a> |
|---|
| | 1123 | <xsl:call-template name="actionIcons"> |
|---|
| | 1124 | <xsl:with-param name="actionIconsId"><xsl:value-of select="$actionIconsId"/></xsl:with-param> |
|---|
| | 1125 | <xsl:with-param name="startDate"><xsl:value-of select="$dayDate"/></xsl:with-param> |
|---|
| | 1126 | </xsl:call-template> |
|---|
| | 1127 | </div> |
|---|
| 1146 | | <a href="{$initEvent}&startdate={$dayDate}" class="gridAdd" title="add event"> |
|---|
| 1147 | | <img src="{$resourcesRoot}/resources/addEvent-forGrid-icon.gif" width="10" height="10" border="0" alt="add event"/> |
|---|
| 1148 | | </a> |
|---|
| | 1167 | <xsl:variable name="actionIconsId">bwActionIcons-<xsl:value-of select="value"/></xsl:variable> |
|---|
| | 1168 | <div class="gridAdd"> |
|---|
| | 1169 | <a href="javascript:toggleVisibility('{$actionIconsId}','bwActionIconsInGrid')" title="add..."> |
|---|
| | 1170 | <img src="{$resourcesRoot}/resources/addEvent-forGrid-icon.gif" width="10" height="10" border="0" alt="add..."/> |
|---|
| | 1171 | </a> |
|---|
| | 1172 | <xsl:call-template name="actionIcons"> |
|---|
| | 1173 | <xsl:with-param name="actionIconsId"><xsl:value-of select="$actionIconsId"/></xsl:with-param> |
|---|
| | 1174 | <xsl:with-param name="startDate"><xsl:value-of select="$dayDate"/></xsl:with-param> |
|---|
| | 1175 | </xsl:call-template> |
|---|
| | 1176 | </div> |
|---|