Changeset 1241

Show
Ignore:
Timestamp:
01/19/07 14:28:39
Author:
johnsa
Message:

web clients:

- manage exdates form added

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webadmin/webapp/resources/default/default/default.css

    r1229 r1241  
    520520  text-align: center; 
    521521} 
    522 #rdatesTable { 
     522.rdatesTable { 
    523523  font-size: 0.9em; 
    524524  border: 1px solid #ddd; 
    525525} 
    526 #rdatesTable td { 
     526.rdatesTable td { 
    527527  padding: 0.5em 1em; 
    528528} 
    529 #rdatesTable td.trash { 
     529.rdatesTable td.trash { 
    530530  text-align: right; 
     531} 
     532.rdatesTable td.note { 
     533  text-align: center; 
     534  font-size: 0.9em; 
    531535} 
    532536#bwDialogBox { 
  • trunk/deployment/webadmin/webapp/resources/default/default/default.xsl

    r1240 r1241  
    15271527                  <!-- recurrence dates (rdates) --> 
    15281528                  <div id="recurrenceDatesButton"> 
    1529                     <input type="button" value="add/remove recurrence dates" onclick="launchSizedWindow('{$event-showRdates}','560','400')"/> 
     1529                    <input type="button" value="manage recurrence &amp; exception dates" onclick="launchSizedWindow('{$event-showRdates}','560','400')"/> 
    15301530                  </div> 
    15311531                </div> 
     
    20192019      <form name="rdatesForm" id="rdates" action="{$event-setRdate}" method="post" onsubmit="setRdateDatetime(this)"> 
    20202020        <h4 id="dialogTitle"> 
    2021           Add / Remove Recurrence Dates 
     2021          Recurrence and Exception Dates 
    20222022        </h4> 
    20232023        <div id="raContent"> 
    2024  
    2025             <div class="dateStartEndBox" id="rdatesFormFields"> 
    2026               <div class="dateFields"> 
    2027                 <input name="eventRdate.date" 
    2028                        dojoType="dropdowndatepicker" 
    2029                        formatLength="medium" 
    2030                        value="today" 
    2031                        saveFormat="yyyyMMdd" 
    2032                        id="bwEventWidgeRdate" 
    2033                        iconURL="{$resourcesRoot}/resources/calIcon.gif"/> 
    2034               </div> 
    2035               <div id="rdateTimeFields" class="timeFields"> 
    2036                <select name="eventRdate.hour"> 
    2037                   <option value="00">00</option> 
    2038                   <option value="01">01</option> 
    2039                   <option value="02">02</option> 
    2040                   <option value="03">03</option> 
    2041                   <option value="04">04</option> 
    2042                   <option value="05">05</option> 
    2043                   <option value="06">06</option> 
    2044                   <option value="07">07</option> 
    2045                   <option value="08">08</option> 
    2046                   <option value="09">09</option> 
    2047                   <option value="10">10</option> 
    2048                   <option value="11">11</option> 
    2049                   <option value="12" selected="selected">12</option> 
    2050                   <option value="13">13</option> 
    2051                   <option value="14">14</option> 
    2052                   <option value="15">15</option> 
    2053                   <option value="16">16</option> 
    2054                   <option value="17">17</option> 
    2055                   <option value="18">18</option> 
    2056                   <option value="19">19</option> 
    2057                   <option value="20">20</option> 
    2058                   <option value="21">21</option> 
    2059                   <option value="22">22</option> 
    2060                   <option value="23">23</option> 
    2061                 </select> 
    2062                 <select name="eventRdate.minute"> 
    2063                   <option value="00" selected="selected">00</option> 
    2064                   <option value="05">05</option> 
    2065                   <option value="10">10</option> 
    2066                   <option value="15">15</option> 
    2067                   <option value="20">20</option> 
    2068                   <option value="25">25</option> 
    2069                   <option value="30">30</option> 
    2070                   <option value="35">35</option> 
    2071                   <option value="40">40</option> 
    2072                   <option value="45">45</option> 
    2073                   <option value="50">50</option> 
    2074                   <option value="55">55</option> 
    2075                 </select> 
    2076                <xsl:text> </xsl:text> 
    2077  
    2078                 <select name="tzid" id="rdateTzid" class="timezones"> 
    2079                   <xsl:if test="form/floating/input/@checked='checked'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> 
    2080                   <option value="-1">select timezone...</option> 
    2081                   <xsl:variable name="rdateTzId" select="/bedeworkadmin/rdates/tzid"/> 
    2082                   <xsl:for-each select="/bedeworkadmin/timezones/timezone"> 
    2083                     <option> 
    2084                       <xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute> 
    2085                       <xsl:if test="$rdateTzId = id"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if> 
    2086                       <xsl:value-of select="name"/> 
    2087                     </option> 
    2088                   </xsl:for-each> 
    2089                 </select> 
    2090               </div> 
    2091               <xsl:text> </xsl:text> 
    2092               <input type="submit" value="add"/> 
    2093               <br/> 
    2094               <!-- dateonly (anniversary) event: this is temporary - should be determined by the main event --> 
    2095               <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="on"/> 
    2096               all day 
    2097               <!-- floating event: no timezone (and not UTC) --> 
    2098               <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="on"/> 
    2099               floating 
    2100               <!-- store time as coordinated universal time (UTC) --> 
    2101               <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="on"/> 
    2102               store as UTC 
     2024          <div class="dateStartEndBox" id="rdatesFormFields"> 
     2025            <div class="dateFields"> 
     2026              <input name="eventRdate.date" 
     2027                     dojoType="dropdowndatepicker" 
     2028                     formatLength="medium" 
     2029                     value="today" 
     2030                     saveFormat="yyyyMMdd" 
     2031                     id="bwEventWidgeRdate" 
     2032                     iconURL="{$resourcesRoot}/resources/calIcon.gif"/> 
    21032033            </div> 
    2104  
    2105             <xsl:call-template name="messagesAndErrors"/> 
    2106  
    2107             <table cellspacing="0" id="rdatesTable"> 
    2108               <tr> 
    2109                 <th colspan="2">Recurrence Dates</th> 
    2110               </tr> 
    2111               <xsl:for-each select="/bedeworkadmin/rdates/rdate"> 
     2034            <div id="rdateTimeFields" class="timeFields"> 
     2035             <select name="eventRdate.hour"> 
     2036                <option value="00">00</option> 
     2037                <option value="01">01</option> 
     2038                <option value="02">02</option> 
     2039                <option value="03">03</option> 
     2040                <option value="04">04</option> 
     2041                <option value="05">05</option> 
     2042                <option value="06">06</option> 
     2043                <option value="07">07</option> 
     2044                <option value="08">08</option> 
     2045                <option value="09">09</option> 
     2046                <option value="10">10</option> 
     2047                <option value="11">11</option> 
     2048                <option value="12" selected="selected">12</option> 
     2049                <option value="13">13</option> 
     2050                <option value="14">14</option> 
     2051                <option value="15">15</option> 
     2052                <option value="16">16</option> 
     2053                <option value="17">17</option> 
     2054                <option value="18">18</option> 
     2055                <option value="19">19</option> 
     2056                <option value="20">20</option> 
     2057                <option value="21">21</option> 
     2058                <option value="22">22</option> 
     2059                <option value="23">23</option> 
     2060              </select> 
     2061              <select name="eventRdate.minute"> 
     2062                <option value="00" selected="selected">00</option> 
     2063                <option value="05">05</option> 
     2064                <option value="10">10</option> 
     2065                <option value="15">15</option> 
     2066                <option value="20">20</option> 
     2067                <option value="25">25</option> 
     2068                <option value="30">30</option> 
     2069                <option value="35">35</option> 
     2070                <option value="40">40</option> 
     2071                <option value="45">45</option> 
     2072                <option value="50">50</option> 
     2073                <option value="55">55</option> 
     2074              </select> 
     2075             <xsl:text> </xsl:text> 
     2076 
     2077              <select name="tzid" id="rdateTzid" class="timezones"> 
     2078                <xsl:if test="form/floating/input/@checked='checked'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> 
     2079                <option value="-1">select timezone...</option> 
     2080                <xsl:variable name="rdateTzId" select="/bedeworkadmin/rdates/tzid"/> 
     2081                <xsl:for-each select="/bedeworkadmin/timezones/timezone"> 
     2082                  <option> 
     2083                    <xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute> 
     2084                    <xsl:if test="$rdateTzId = id"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if> 
     2085                    <xsl:value-of select="name"/> 
     2086                  </option> 
     2087                </xsl:for-each> 
     2088              </select> 
     2089            </div> 
     2090            <xsl:text> </xsl:text> 
     2091            <input type="submit" value="add rdate"/> 
     2092            <br/> 
     2093            <!-- dateonly (anniversary) event: this is temporary - should be determined by the main event --> 
     2094            <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="on"/> 
     2095            all day 
     2096            <!-- floating event: no timezone (and not UTC) --> 
     2097            <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="on"/> 
     2098            floating 
     2099            <!-- store time as coordinated universal time (UTC) --> 
     2100            <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="on"/> 
     2101            store as UTC 
     2102          </div> 
     2103 
     2104          <xsl:call-template name="messagesAndErrors"/> 
     2105 
     2106          <table cellspacing="0" class="rdatesTable"> 
     2107            <tr> 
     2108              <th colspan="2">Recurrence Dates</th> 
     2109            </tr> 
     2110            <xsl:choose> 
     2111              <xsl:when test="/bedeworkadmin/rdates/rdate"> 
     2112                <xsl:for-each select="/bedeworkadmin/rdates/rdate"> 
     2113                  <tr> 
     2114                    <td> 
     2115                      <xsl:value-of select="longdate"/> 
     2116                      <xsl:if test="allday='false'"> 
     2117                        <xsl:text> </xsl:text> 
     2118                        <xsl:value-of select="time"/> 
     2119                        <xsl:if test="floating='false'"> 
     2120                          <xsl:text> </xsl:text> 
     2121                          <xsl:value-of select="timezone/id"/> 
     2122                        </xsl:if> 
     2123                      </xsl:if> 
     2124                    </td> 
     2125                    <td class="trash"> 
     2126                      <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> 
     2127                      <xsl:variable name="tzid" select="timezone/id"/> 
     2128                      <xsl:variable name="dateOnly"><xsl:if test="allday = 'true'">&amp;dateOnly=true</xsl:if></xsl:variable> 
     2129                      <xsl:variable name="floating"><xsl:if test="floating = 'true'">&amp;floating=true</xsl:if></xsl:variable> 
     2130                      <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&amp;storeUTC=true</xsl:if></xsl:variable> 
     2131                      <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&amp;delete=true" title="remove"> 
     2132                        <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
     2133                      </a> 
     2134                    </td> 
     2135                  </tr> 
     2136                </xsl:for-each> 
     2137              </xsl:when> 
     2138              <xsl:otherwise> 
    21122139                <tr> 
    2113                   <td> 
    2114                     <xsl:value-of select="longdate"/> 
    2115                     <xsl:if test="allday='false'"> 
    2116                       <xsl:value-of select="time"/> 
    2117                       <xsl:if test="floating='false'"> 
    2118                         <xsl:value-of select="timezone/id"/> 
     2140                  <td colspan="2">No recurrence dates</td> 
     2141                </tr> 
     2142              </xsl:otherwise> 
     2143            </xsl:choose> 
     2144          </table> 
     2145 
     2146          <table cellspacing="0" class="rdatesTable"> 
     2147            <tr> 
     2148              <th colspan="2">Exception Dates</th> 
     2149            </tr> 
     2150            <tr> 
     2151              <td colspan="2" class="note"> 
     2152                exception dates are created by deleting an instance of a 
     2153                recurring event 
     2154              </td> 
     2155            </tr> 
     2156            <xsl:choose> 
     2157              <xsl:when test="/bedeworkadmin/exdates/exdate"> 
     2158                <xsl:for-each select="/bedeworkadmin/exdates/exdate"> 
     2159                  <tr> 
     2160                    <td> 
     2161                      <xsl:value-of select="longdate"/> 
     2162                      <xsl:if test="allday='false'"> 
     2163                        <xsl:value-of select="time"/> 
     2164                        <xsl:if test="floating='false'"> 
     2165                          <xsl:value-of select="timezone/id"/> 
     2166                        </xsl:if> 
    21192167                      </xsl:if> 
    2120                     </xsl:if> 
    2121                   </td> 
    2122                   <td class="trash"> 
    2123                     <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> 
    2124                     <xsl:variable name="tzid" select="timezone/id"/> 
    2125                     <xsl:variable name="dateOnly"><xsl:if test="dateOnly = 'true'">&amp;dateOnly=true</xsl:if></xsl:variable> 
    2126                     <xsl:variable name="floating"><xsl:if test="floating = 'true'">&amp;floating=true</xsl:if></xsl:variable> 
    2127                     <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&amp;storeUTC=true</xsl:if></xsl:variable> 
    2128                     <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&amp;delete=true" title="remove"> 
    2129                       <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
    2130                     </a> 
    2131                   </td> 
     2168                    </td> 
     2169                    <td class="trash"> 
     2170                      <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> 
     2171                      <xsl:variable name="tzid" select="timezone/id"/> 
     2172                      <xsl:variable name="dateOnly"><xsl:if test="allday = 'true'">&amp;dateOnly=true</xsl:if></xsl:variable> 
     2173                      <xsl:variable name="floating"><xsl:if test="floating = 'true'">&amp;floating=true</xsl:if></xsl:variable> 
     2174                      <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&amp;storeUTC=true</xsl:if></xsl:variable> 
     2175                      <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&amp;exdelete=true" title="remove"> 
     2176                        <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
     2177                      </a> 
     2178                    </td> 
     2179                  </tr> 
     2180                </xsl:for-each> 
     2181              </xsl:when> 
     2182              <xsl:otherwise> 
     2183                <tr> 
     2184                  <td colspan="2">No exception dates</td> 
    21322185                </tr> 
    2133               </xsl:for-each> 
    2134             </table> 
     2186              </xsl:otherwise> 
     2187            </xsl:choose> 
     2188          </table> 
    21352189 
    21362190          <input type="button" value="done" onclick="window.close()"/> 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.css

    r1240 r1241  
    796796  text-align: center; 
    797797} 
    798 #rdatesTable { 
     798.rdatesTable { 
    799799  font-size: 0.9em; 
    800800  border: 1px solid #ddd; 
    801801} 
    802 #rdatesTable td { 
     802.rdatesTable td { 
    803803  padding: 0.5em 1em; 
    804804} 
    805 #rdatesTable td.trash { 
     805.rdatesTable td.trash { 
    806806  text-align: right; 
     807} 
     808.rdatesTable td.note { 
     809  text-align: center; 
     810  font-size: 0.9em; 
    807811} 
    808812.shown { 
     
    892896#bwDialogBox { 
    893897  margin: 0; 
     898  padding: 1em; 
    894899  background: white; 
    895900  color: black; 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1240 r1241  
    27482748            <!-- recurrence dates (rdates) --> 
    27492749            <div id="recurrenceDatesButton"> 
    2750               <input type="button" value="add/remove recurrence dates" onclick="launchSizedWindow('{$event-showRdates}','560','400')"/> 
    2751                <input type="button" value="view/remove exception dates" onclick="launchSizedWindow('{$event-showExdates}','560','400')"/> 
     2750              <input type="button" value="manage recurrence &amp; exception dates" onclick="launchSizedWindow('{$event-showRdates}','560','400')"/> 
    27522751            </div> 
    27532752          </div> 
     
    29362935      <form name="rdatesForm" id="rdates" action="{$event-setRdate}" method="post" onsubmit="setRdateDatetime(this)"> 
    29372936        <h4 id="dialogTitle"> 
    2938           Add / Remove Recurrence Dates 
     2937          Recurrence and Exception Dates 
    29392938        </h4> 
    29402939        <div id="raContent"> 
    2941  
    2942             <div class="dateStartEndBox" id="rdatesFormFields"> 
    2943               <div class="dateFields"> 
    2944                 <input name="eventRdate.date" 
    2945                        dojoType="dropdowndatepicker" 
    2946                        formatLength="medium" 
    2947                        value="today" 
    2948                        saveFormat="yyyyMMdd" 
    2949                        id="bwEventWidgeRdate" 
    2950                        iconURL="{$resourcesRoot}/resources/calIcon.gif"/> 
    2951               </div> 
    2952               <div id="rdateTimeFields" class="timeFields"> 
    2953                <select name="eventRdate.hour"> 
    2954                   <option value="00">00</option> 
    2955                   <option value="01">01</option> 
    2956                   <option value="02">02</option> 
    2957                   <option value="03">03</option> 
    2958                   <option value="04">04</option> 
    2959                   <option value="05">05</option> 
    2960                   <option value="06">06</option> 
    2961                   <option value="07">07</option> 
    2962                   <option value="08">08</option> 
    2963                   <option value="09">09</option> 
    2964                   <option value="10">10</option> 
    2965                   <option value="11">11</option> 
    2966                   <option value="12" selected="selected">12</option> 
    2967                   <option value="13">13</option> 
    2968                   <option value="14">14</option> 
    2969                   <option value="15">15</option> 
    2970                   <option value="16">16</option> 
    2971                   <option value="17">17</option> 
    2972                   <option value="18">18</option> 
    2973                   <option value="19">19</option> 
    2974                   <option value="20">20</option> 
    2975                   <option value="21">21</option> 
    2976                   <option value="22">22</option> 
    2977                   <option value="23">23</option> 
    2978                 </select> 
    2979                 <select name="eventRdate.minute"> 
    2980                   <option value="00" selected="selected">00</option> 
    2981                   <option value="05">05</option> 
    2982                   <option value="10">10</option> 
    2983                   <option value="15">15</option> 
    2984                   <option value="20">20</option> 
    2985                   <option value="25">25</option> 
    2986                   <option value="30">30</option> 
    2987                   <option value="35">35</option> 
    2988                   <option value="40">40</option> 
    2989                   <option value="45">45</option> 
    2990                   <option value="50">50</option> 
    2991                   <option value="55">55</option> 
    2992                 </select> 
    2993                <xsl:text> </xsl:text> 
    2994  
    2995                 <select name="tzid" id="rdateTzid" class="timezones"> 
    2996                   <xsl:if test="form/floating/input/@checked='checked'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> 
    2997                   <option value="-1">select timezone...</option> 
    2998                   <xsl:variable name="rdateTzId" select="/bedework/rdates/tzid"/> 
    2999                   <xsl:for-each select="/bedework/timezones/timezone"> 
    3000                     <option> 
    3001                       <xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute> 
    3002                       <xsl:if test="$rdateTzId = id"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if> 
    3003                       <xsl:value-of select="name"/> 
    3004                     </option> 
    3005                   </xsl:for-each> 
    3006                 </select> 
    3007               </div> 
    3008               <xsl:text> </xsl:text> 
    3009               <input type="submit" value="add"/> 
    3010               <br/> 
    3011               <!-- dateonly (anniversary) event: this is temporary - should be determined by the main event --> 
    3012               <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="on"/> 
    3013               all day 
    3014               <!-- floating event: no timezone (and not UTC) --> 
    3015               <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="on"/> 
    3016               floating 
    3017               <!-- store time as coordinated universal time (UTC) --> 
    3018               <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="on"/> 
    3019               store as UTC 
     2940          <div class="dateStartEndBox" id="rdatesFormFields"> 
     2941            <div class="dateFields"> 
     2942              <input name="eventRdate.date" 
     2943                     dojoType="dropdowndatepicker" 
     2944                     formatLength="medium" 
     2945                     value="today" 
     2946                     saveFormat="yyyyMMdd" 
     2947                     id="bwEventWidgeRdate" 
     2948                     iconURL="{$resourcesRoot}/resources/calIcon.gif"/> 
    30202949            </div> 
    3021  
    3022             <xsl:call-template name="messagesAndErrors"/> 
    3023  
    3024             <table cellspacing="0" id="rdatesTable"> 
    3025               <tr> 
    3026                 <th colspan="2">Recurrence Dates</th> 
    3027               </tr> 
    3028               <xsl:for-each select="/bedework/rdates/rdate"> 
     2950            <div id="rdateTimeFields" class="timeFields"> 
     2951             <select name="eventRdate.hour"> 
     2952                <option value="00">00</option> 
     2953                <option value="01">01</option> 
     2954                <option value="02">02</option> 
     2955                <option value="03">03</option> 
     2956                <option value="04">04</option> 
     2957                <option value="05">05</option> 
     2958                <option value="06">06</option> 
     2959                <option value="07">07</option> 
     2960                <option value="08">08</option> 
     2961                <option value="09">09</option> 
     2962                <option value="10">10</option> 
     2963                <option value="11">11</option> 
     2964                <option value="12" selected="selected">12</option> 
     2965                <option value="13">13</option> 
     2966                <option value="14">14</option> 
     2967                <option value="15">15</option> 
     2968                <option value="16">16</option> 
     2969                <option value="17">17</option> 
     2970                <option value="18">18</option> 
     2971                <option value="19">19</option> 
     2972                <option value="20">20</option> 
     2973                <option value="21">21</option> 
     2974                <option value="22">22</option> 
     2975                <option value="23">23</option> 
     2976              </select> 
     2977              <select name="eventRdate.minute"> 
     2978                <option value="00" selected="selected">00</option> 
     2979                <option value="05">05</option> 
     2980                <option value="10">10</option> 
     2981                <option value="15">15</option> 
     2982                <option value="20">20</option> 
     2983                <option value="25">25</option> 
     2984                <option value="30">30</option> 
     2985                <option value="35">35</option> 
     2986                <option value="40">40</option> 
     2987                <option value="45">45</option> 
     2988                <option value="50">50</option> 
     2989                <option value="55">55</option> 
     2990              </select> 
     2991             <xsl:text> </xsl:text> 
     2992 
     2993              <select name="tzid" id="rdateTzid" class="timezones"> 
     2994                <xsl:if test="form/floating/input/@checked='checked'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> 
     2995                <option value="-1">select timezone...</option> 
     2996                <xsl:variable name="rdateTzId" select="/bedework/rdates/tzid"/> 
     2997                <xsl:for-each select="/bedework/timezones/timezone"> 
     2998                  <option> 
     2999                    <xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute> 
     3000                    <xsl:if test="$rdateTzId = id"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if> 
     3001                    <xsl:value-of select="name"/> 
     3002                  </option> 
     3003                </xsl:for-each> 
     3004              </select> 
     3005            </div> 
     3006            <xsl:text> </xsl:text> 
     3007            <input type="submit" value="add rdate"/> 
     3008            <br/> 
     3009            <!-- dateonly (anniversary) event: this is temporary - should be determined by the main event --> 
     3010            <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="on"/> 
     3011            all day 
     3012            <!-- floating event: no timezone (and not UTC) --> 
     3013            <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="on"/> 
     3014            floating 
     3015            <!-- store time as coordinated universal time (UTC) --> 
     3016            <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="on"/> 
     3017            store as UTC 
     3018          </div> 
     3019 
     3020          <xsl:call-template name="messagesAndErrors"/> 
     3021 
     3022          <table cellspacing="0" class="rdatesTable"> 
     3023            <tr> 
     3024              <th colspan="2">Recurrence Dates</th> 
     3025            </tr> 
     3026            <xsl:choose> 
     3027              <xsl:when test="/bedework/rdates/rdate"> 
     3028                <xsl:for-each select="/bedework/rdates/rdate"> 
     3029                  <tr> 
     3030                    <td> 
     3031                      <xsl:value-of select="longdate"/> 
     3032                      <xsl:if test="allday='false'"> 
     3033                        <xsl:text> </xsl:text> 
     3034                        <xsl:value-of select="time"/> 
     3035                        <xsl:if test="floating='false'"> 
     3036                          <xsl:text> </xsl:text> 
     3037                          <xsl:value-of select="timezone/id"/> 
     3038                        </xsl:if> 
     3039                      </xsl:if> 
     3040                    </td> 
     3041                    <td class="trash"> 
     3042                      <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> 
     3043                      <xsl:variable name="tzid" select="timezone/id"/> 
     3044                      <xsl:variable name="dateOnly"><xsl:if test="allday = 'true'">&amp;dateOnly=true</xsl:if></xsl:variable> 
     3045                      <xsl:variable name="floating"><xsl:if test="floating = 'true'">&amp;floating=true</xsl:if></xsl:variable> 
     3046                      <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&amp;storeUTC=true</xsl:if></xsl:variable> 
     3047                      <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&amp;delete=true" title="remove"> 
     3048                        <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
     3049                      </a> 
     3050                    </td> 
     3051                  </tr> 
     3052                </xsl:for-each> 
     3053              </xsl:when> 
     3054              <xsl:otherwise> 
    30293055                <tr> 
    3030                   <td> 
    3031                     <xsl:value-of select="longdate"/> 
    3032                     <xsl:if test="allday='false'"> 
    3033                       <xsl:value-of select="time"/> 
    3034                       <xsl:if test="floating='false'"> 
    3035                         <xsl:value-of select="timezone/id"/> 
     3056                  <td colspan="2">No recurrence dates</td> 
     3057                </tr> 
     3058              </xsl:otherwise> 
     3059            </xsl:choose> 
     3060          </table> 
     3061 
     3062          <table cellspacing="0" class="rdatesTable"> 
     3063            <tr> 
     3064              <th colspan="2">Exception Dates</th> 
     3065            </tr> 
     3066            <tr> 
     3067              <td colspan="2" class="note"> 
     3068                exception dates are created by deleting an instance of a 
     3069                recurring event 
     3070              </td> 
     3071            </tr> 
     3072            <xsl:choose> 
     3073              <xsl:when test="/bedework/exdates/exdate"> 
     3074                <xsl:for-each select="/bedework/exdates/exdate"> 
     3075                  <tr> 
     3076                    <td> 
     3077                      <xsl:value-of select="longdate"/> 
     3078                      <xsl:if test="allday='false'"> 
     3079                        <xsl:value-of select="time"/> 
     3080                        <xsl:if test="floating='false'"> 
     3081                          <xsl:value-of select="timezone/id"/> 
     3082                        </xsl:if> 
    30363083                      </xsl:if> 
    3037                     </xsl:if> 
    3038                   </td> 
    3039                   <td class="trash"> 
    3040                     <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> 
    3041                     <xsl:variable name="tzid" select="timezone/id"/> 
    3042                     <xsl:variable name="dateOnly"><xsl:if test="allday = 'true'">&amp;dateOnly=true</xsl:if></xsl:variable> 
    3043                     <xsl:variable name="floating"><xsl:if test="floating = 'true'">&amp;floating=true</xsl:if></xsl:variable> 
    3044                     <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&amp;storeUTC=true</xsl:if></xsl:variable> 
    3045                     <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&amp;delete=true" title="remove"> 
    3046                       <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
    3047                     </a> 
    3048                   </td> 
     3084                    </td> 
     3085                    <td class="trash"> 
     3086                      <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> 
     3087                      <xsl:variable name="tzid" select="timezone/id"/> 
     3088                      <xsl:variable name="dateOnly"><xsl:if test="allday = 'true'">&amp;dateOnly=true</xsl:if></xsl:variable> 
     3089                      <xsl:variable name="floating"><xsl:if test="floating = 'true'">&amp;floating=true</xsl:if></xsl:variable> 
     3090                      <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&amp;storeUTC=true</xsl:if></xsl:variable> 
     3091                      <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&amp;exdelete=true" title="remove"> 
     3092                        <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
     3093                      </a> 
     3094                    </td> 
     3095                  </tr> 
     3096                </xsl:for-each> 
     3097              </xsl:when> 
     3098              <xsl:otherwise> 
     3099                <tr> 
     3100                  <td colspan="2">No exception dates</td> 
    30493101                </tr> 
    3050               </xsl:for-each> 
    3051             </table> 
     3102              </xsl:otherwise> 
     3103            </xsl:choose> 
     3104          </table> 
    30523105 
    30533106          <input type="button" value="done" onclick="window.close()"/>