| 3180 | | |
|---|
| 3181 | | <h3>Recurrence Dates</h3> |
|---|
| 3182 | | <table cellspacing="0" class="rdatesTable" id="bwCurrentRdates"> |
|---|
| 3183 | | <xsl:choose> |
|---|
| 3184 | | <xsl:when test="/bedework/rdates/rdate"> |
|---|
| 3185 | | <xsl:for-each select="/bedework/rdates/rdate"> |
|---|
| 3186 | | <tr> |
|---|
| 3187 | | <td> |
|---|
| 3188 | | <xsl:value-of select="longdate"/> |
|---|
| 3189 | | <xsl:if test="allday='false'"> |
|---|
| 3190 | | <xsl:text> </xsl:text> |
|---|
| 3191 | | <xsl:value-of select="time"/> |
|---|
| 3192 | | <xsl:if test="floating='false'"> |
|---|
| 3193 | | <xsl:text> </xsl:text> |
|---|
| 3194 | | <xsl:value-of select="timezone/id"/> |
|---|
| 3195 | | </xsl:if> |
|---|
| 3196 | | </xsl:if> |
|---|
| 3197 | | <script type="text/javascript"> |
|---|
| 3198 | | <xsl:comment> |
|---|
| 3199 | | bwRdates.update('<xsl:value-of select="longdate"/>', |
|---|
| 3200 | | '<xsl:value-of select="time"/>', |
|---|
| 3201 | | <xsl:value-of select="allDay"/>, |
|---|
| 3202 | | <xsl:value-of select="floating"/>, |
|---|
| 3203 | | false, |
|---|
| 3204 | | '<xsl:value-of select="timezone/id"/>'); |
|---|
| 3205 | | </xsl:comment> |
|---|
| 3206 | | </script> |
|---|
| 3207 | | </td> |
|---|
| 3208 | | <td class="trash"> |
|---|
| 3209 | | <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> |
|---|
| 3210 | | <xsl:variable name="tzid" select="timezone/id"/> |
|---|
| 3211 | | <xsl:variable name="dateOnly"><xsl:if test="allday = 'true'">&dateOnly=true</xsl:if></xsl:variable> |
|---|
| 3212 | | <xsl:variable name="floating"><xsl:if test="floating = 'true'">&floating=true</xsl:if></xsl:variable> |
|---|
| 3213 | | <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&storeUTC=true</xsl:if></xsl:variable> |
|---|
| 3214 | | <a href="{$event-setRdate}&datetime={$datetime}&tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&delete=true" title="remove"> |
|---|
| 3215 | | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> |
|---|
| 3216 | | </a> |
|---|
| 3217 | | </td> |
|---|
| 3218 | | </tr> |
|---|
| 3219 | | </xsl:for-each> |
|---|
| 3220 | | </xsl:when> |
|---|
| 3221 | | <xsl:otherwise> |
|---|
| 3222 | | <tr> |
|---|
| 3223 | | <td colspan="2">No recurrence dates</td> |
|---|
| 3224 | | </tr> |
|---|
| 3225 | | </xsl:otherwise> |
|---|
| 3226 | | </xsl:choose> |
|---|
| | 3180 | <!-- if there are no recurence dates, the following table will show --> |
|---|
| | 3181 | <table cellspacing="0" id="bwCurrentRdates"> |
|---|
| | 3182 | <tr><th>Recurrence Dates</th></tr> |
|---|
| | 3183 | <tr><td>No recurrence dates</td></tr> |
|---|
| 3239 | | <xsl:choose> |
|---|
| 3240 | | <xsl:when test="/bedework/exdates/exdate"> |
|---|
| 3241 | | <xsl:for-each select="/bedework/exdates/exdate"> |
|---|
| 3242 | | <tr> |
|---|
| 3243 | | <td> |
|---|
| 3244 | | <xsl:value-of select="longdate"/> |
|---|
| 3245 | | <xsl:if test="allday='false'"> |
|---|
| 3246 | | <xsl:value-of select="time"/> |
|---|
| 3247 | | <xsl:if test="floating='false'"> |
|---|
| 3248 | | <xsl:value-of select="timezone/id"/> |
|---|
| 3249 | | </xsl:if> |
|---|
| 3250 | | </xsl:if> |
|---|
| 3251 | | </td> |
|---|
| 3252 | | <td class="trash"> |
|---|
| 3253 | | <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> |
|---|
| 3254 | | <xsl:variable name="tzid" select="timezone/id"/> |
|---|
| 3255 | | <xsl:variable name="dateOnly"><xsl:if test="allday = 'true'">&dateOnly=true</xsl:if></xsl:variable> |
|---|
| 3256 | | <xsl:variable name="floating"><xsl:if test="floating = 'true'">&floating=true</xsl:if></xsl:variable> |
|---|
| 3257 | | <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&storeUTC=true</xsl:if></xsl:variable> |
|---|
| 3258 | | <a href="{$event-setRdate}&datetime={$datetime}&tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&exdelete=true" title="remove"> |
|---|
| 3259 | | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> |
|---|
| 3260 | | </a> |
|---|
| 3261 | | </td> |
|---|
| 3262 | | </tr> |
|---|
| 3263 | | </xsl:for-each> |
|---|
| 3264 | | </xsl:when> |
|---|
| 3265 | | <xsl:otherwise> |
|---|
| 3266 | | <tr> |
|---|
| 3267 | | <td colspan="2">No exception dates</td> |
|---|
| 3268 | | </tr> |
|---|
| 3269 | | </xsl:otherwise> |
|---|
| 3270 | | </xsl:choose> |
|---|
| | 3198 | |
|---|
| | 3199 | <!-- if there are no recurence dates, the following table will show --> |
|---|
| | 3200 | <table cellspacing="0" id="bwCurrentExdatesNone"> |
|---|
| | 3201 | <tr><th>Recurrence Dates</th></tr> |
|---|
| | 3202 | <tr><td>No recurrence dates</td></tr> |
|---|
| | 3203 | </table> |
|---|
| | 3204 | |
|---|
| | 3205 | <!-- if there are no recurence dates, the following table will show --> |
|---|
| | 3206 | <table cellspacing="0" id="bwCurrentExdates"> |
|---|
| | 3207 | <tr> |
|---|
| | 3208 | <th colspan="3">Exception Dates</th> |
|---|
| | 3209 | </tr> |
|---|
| | 3210 | <tr> |
|---|
| | 3211 | <td>Date</td> |
|---|
| | 3212 | <td>Time</td> |
|---|
| | 3213 | <td>TZid</td> |
|---|
| | 3214 | <td></td> |
|---|
| | 3215 | </tr> |
|---|
| | 3216 | </table> |
|---|
| | 3217 | <p> |
|---|
| | 3218 | Exception dates may also be created by deleting an instance |
|---|
| | 3219 | of a recurring event. |
|---|
| | 3220 | </p> |
|---|