Changeset 1883

Show
Ignore:
Timestamp:
05/13/08 17:15:25
Author:
johnsa
Message:

user client: fix up some scheduling interactions to work a little better; fix delete decline counter bug

Files:

Legend:

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

    r1880 r1883  
    542542  margin: 0; 
    543543  padding: 0; 
     544} 
     545#bedework form { 
     546  margin: 0; 
    544547} 
    545548#bedework #eventAccessLink { 
     
    635638  padding: 0; 
    636639} 
     640#bedework table.common td.highlight { 
     641  padding: 0.5em; 
     642  color: black; 
     643  background-color: #ee0; 
     644} 
    637645#bedework table.common td.filler { 
    638646  height: 250px; 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1880 r1883  
    59305930            Meeting Cancelled 
    59315931          </xsl:when> 
     5932          <xsl:when test="scheduleMethod = '8'"> 
     5933            Meeting Counter Declined 
     5934          </xsl:when> 
    59325935          <xsl:otherwise> 
    59335936            Meeting Request 
     
    59505953          </th> 
    59515954        </tr> 
    5952  
     5955        <xsl:choose> 
     5956          <xsl:when test="scheduleMethod = '5'"> 
     5957            <tr> 
     5958              <td colspan="2" class="highlight"> 
     5959                This meeting has been cancelled. 
     5960              </td> 
     5961            </tr> 
     5962          </xsl:when> 
     5963          <xsl:when test="scheduleMethod = '8'"> 
     5964            <tr> 
     5965              <td colspan="2" class="highlight"> 
     5966                Your counter request has been declined. 
     5967              </td> 
     5968            </tr> 
     5969          </xsl:when> 
     5970        </xsl:choose> 
    59535971        <tr> 
    59545972          <td class="fieldname"> 
     
    60426060          </td> 
    60436061        </tr> 
    6044         <tr> 
    6045           <td class="fieldname">Action:</td> 
    6046           <td class="fieldval scheduleActions"> 
    6047             <xsl:choose> 
    6048               <xsl:when test="scheduleMethod = '5' or scheduleMethod = '8'"> 
    6049               <!-- respond to a cancel --> 
    6050                 <input type="hidden" name="method" value="REPLY"/> 
    6051                 <select name="cancelAction"> 
    6052                   <option value="mark">mark event as cancelled</option> 
    6053                   <option value="delete">delete event</option> 
    6054                 </select> 
    6055               </xsl:when> 
    6056               <xsl:otherwise> 
    6057               <!-- respond to a request --> 
    6058                 <input type="radio" name="method" value="REPLY" checked="checked" onclick="swapScheduleDisplay('hide');"/>reply as 
    6059                 <select name="partstat"> 
    6060                   <option value="ACCEPTED">accepted</option> 
    6061                   <option value="DECLINED">declined</option> 
    6062                   <option value="TENTATIVE">tentative</option> 
    6063                 </select><br/> 
    6064                 <!--<input type="radio" name="method" value="REFRESH" onclick="swapScheduleDisplay('hide');"/>refresh this event<br/>--> 
    6065                 <input type="radio" name="method" value="DELEGATE" onclick="swapScheduleDisplay('hide');"/>delegate to 
    6066                 <input type="test" name="delegate" value=""/> (uri or account)<br/> 
    6067                 <input type="radio" name="method" value="COUNTER" onclick="swapScheduleDisplay('show');"/>counter (suggest a different date, time, and/or location) 
    6068               </xsl:otherwise> 
    6069             </xsl:choose> 
    6070           </td> 
    6071         </tr> 
    6072         <tr id="scheduleDateEdit" class="invisible"> 
    6073           <td class="fieldname">New Date/Time:</td> 
    6074           <td class="fieldval scheduleActions"> 
    6075             <!-- Set the timefields class for the first load of the page; 
    6076                  subsequent changes will take place using javascript without a 
    6077                  page reload. --> 
    6078             <xsl:variable name="timeFieldsClass"> 
     6062        <xsl:if test="scheduleMethod != '8'"> 
     6063          <tr> 
     6064            <td class="fieldname">Action:</td> 
     6065            <td class="fieldval scheduleActions"> 
    60796066              <xsl:choose> 
    6080                 <xsl:when test="form/allDay/input/@checked='checked'">invisible</xsl:when> 
    6081                 <xsl:otherwise>timeFields</xsl:otherwise> 
    6082               </xsl:choose> 
    6083             </xsl:variable> 
    6084             <xsl:choose> 
    6085               <xsl:when test="form/allDay/input/@checked='checked'"> 
    6086                 <input type="checkbox" name="allDayFlag" onclick="swapAllDayEvent(this)" value="on" checked="checked"/> 
    6087                 <input type="hidden" name="eventStartDate.dateOnly" value="on" id="allDayStartDateField"/> 
    6088                 <input type="hidden" name="eventEndDate.dateOnly" value="on" id="allDayEndDateField"/> 
    6089               </xsl:when> 
    6090               <xsl:otherwise> 
    6091                 <input type="checkbox" name="allDayFlag" onclick="swapAllDayEvent(this)" value="off"/> 
    6092                 <input type="hidden" name="eventStartDate.dateOnly" value="off" id="allDayStartDateField"/> 
    6093                 <input type="hidden" name="eventEndDate.dateOnly" value="off" id="allDayEndDateField"/> 
    6094               </xsl:otherwise> 
    6095             </xsl:choose> 
    6096             all day event<br/> 
    6097             <div class="dateStartEndBox"> 
    6098               <strong>Start:</strong> 
    6099               <div class="dateFields"> 
    6100                 <span class="startDateLabel">Date </span> 
    6101                 <xsl:copy-of select="form/start/month/*"/> 
    6102                 <xsl:copy-of select="form/start/day/*"/> 
    6103                 <xsl:choose> 
    6104                   <xsl:when test="/bedework/creating = 'true'"> 
    6105                     <xsl:copy-of select="form/start/year/*"/> 
    6106                   </xsl:when> 
    6107                   <xsl:otherwise> 
    6108                     <xsl:copy-of select="form/start/yearText/*"/> 
    6109                   </xsl:otherwise> 
    6110                 </xsl:choose> 
    6111               </div> 
    6112               <!--<script language="JavaScript" type="text/javascript"> 
    6113               <xsl:comment> 
    6114                 startDateDynCalWidget = new dynCalendar('startDateDynCalWidget', <xsl:value-of select="number(/bedework/formElements/form/start/yearText/input/@value)"/>, <xsl:value-of select="number(/bedework/formElements/form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(/bedework/formElements/form/start/day/select/option[@selected='selected']/@value)"/>, 'startDateCalWidgetCallback'); 
    6115               </xsl:comment> 
    6116               </script>--> 
    6117               <!--<img src="{$resourcesRoot}/resources/calIcon.gif" width="16" height="15" border="0"/>--> 
    6118               <div class="{$timeFieldsClass}" id="startTimeFields"> 
    6119                 <span id="calWidgetStartTimeHider" class="show"> 
    6120                   <xsl:copy-of select="form/start/hour/*"/> 
    6121                   <xsl:copy-of select="form/start/minute/*"/> 
    6122                   <xsl:if test="form/start/ampm"> 
    6123                     <xsl:copy-of select="form/start/ampm/*"/> 
    6124                   </xsl:if> 
    6125                   <xsl:text> </xsl:text> 
    6126                   <!--<a href="javascript:bwClockLaunch('eventStartDate');"><img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0"/></a>--> 
    6127                 </span> 
    6128               </div> 
    6129             </div> 
    6130             <div class="dateStartEndBox"> 
    6131               <strong>End:</strong> 
    6132               <xsl:choose> 
    6133                 <xsl:when test="form/end/type='E'"> 
    6134                   <input type="radio" name="eventEndType" value="E" checked="checked" onclick="changeClass('endDateTime','shown');changeClass('endDuration','invisible');"/> 
     6067                <xsl:when test="scheduleMethod = '5' or scheduleMethod = '8'"> 
     6068                <!-- respond to a cancel --> 
     6069                  <input type="hidden" name="method" value="REPLY"/> 
     6070                  <select name="cancelAction"> 
     6071                    <option value="mark">mark event as cancelled</option> 
     6072                    <option value="delete">delete event</option> 
     6073                  </select> 
    61356074                </xsl:when> 
    61366075                <xsl:otherwise> 
    6137                   <input type="radio" name="eventEndType" value="E" onclick="changeClass('endDateTime','shown');changeClass('endDuration','invisible');"/> 
     6076                <!-- respond to a request --> 
     6077                  <input type="radio" name="method" value="REPLY" checked="checked" onclick="swapScheduleDisplay('hide');"/>reply as 
     6078                  <select name="partstat"> 
     6079                    <option value="ACCEPTED">accepted</option> 
     6080                    <option value="DECLINED">declined</option> 
     6081                    <option value="TENTATIVE">tentative</option> 
     6082                  </select><br/> 
     6083                  <!--<input type="radio" name="method" value="REFRESH" onclick="swapScheduleDisplay('hide');"/>refresh this event<br/>--> 
     6084                  <input type="radio" name="method" value="DELEGATE" onclick="swapScheduleDisplay('hide');"/>delegate to 
     6085                  <input type="test" name="delegate" value=""/> (uri or account)<br/> 
     6086                  <input type="radio" name="method" value="COUNTER" onclick="swapScheduleDisplay('show');"/>counter (suggest a different date, time, and/or location) 
    61386087                </xsl:otherwise> 
    61396088              </xsl:choose> 
    6140               Date 
    6141               <xsl:variable name="endDateTimeClass"> 
     6089            </td> 
     6090          </tr> 
     6091          <tr id="scheduleDateEdit" class="invisible"> 
     6092            <td class="fieldname">New Date/Time:</td> 
     6093            <td class="fieldval scheduleActions"> 
     6094              <!-- Set the timefields class for the first load of the page; 
     6095                   subsequent changes will take place using javascript without a 
     6096                   page reload. --> 
     6097              <xsl:variable name="timeFieldsClass"> 
    61426098                <xsl:choose> 
    6143                   <xsl:when test="form/end/type='E'">shown</xsl:when> 
    6144                   <xsl:otherwise>invisible</xsl:otherwise> 
     6099                  <xsl:when test="form/allDay/input/@checked='checked'">invisible</xsl:when> 
     6100                  <xsl:otherwise>timeFields</xsl:otherwise> 
    61456101                </xsl:choose> 
    61466102              </xsl:variable> 
    6147               <div class="{$endDateTimeClass}" id="endDateTime"> 
     6103              <xsl:choose> 
     6104                <xsl:when test="form/allDay/input/@checked='checked'"> 
     6105                  <input type="checkbox" name="allDayFlag" onclick="swapAllDayEvent(this)" value="on" checked="checked"/> 
     6106                  <input type="hidden" name="eventStartDate.dateOnly" value="on" id="allDayStartDateField"/> 
     6107                  <input type="hidden" name="eventEndDate.dateOnly" value="on" id="allDayEndDateField"/> 
     6108                </xsl:when> 
     6109                <xsl:otherwise> 
     6110                  <input type="checkbox" name="allDayFlag" onclick="swapAllDayEvent(this)" value="off"/> 
     6111                  <input type="hidden" name="eventStartDate.dateOnly" value="off" id="allDayStartDateField"/> 
     6112                  <input type="hidden" name="eventEndDate.dateOnly" value="off" id="allDayEndDateField"/> 
     6113                </xsl:otherwise> 
     6114              </xsl:choose> 
     6115              all day event<br/> 
     6116              <div class="dateStartEndBox"> 
     6117                <strong>Start:</strong> 
    61486118                <div class="dateFields"> 
    6149                   <xsl:copy-of select="form/end/dateTime/month/*"/> 
    6150                   <xsl:copy-of select="form/end/dateTime/day/*"/> 
     6119                  <span class="startDateLabel">Date </span> 
     6120                  <xsl:copy-of select="form/start/month/*"/> 
     6121                  <xsl:copy-of select="form/start/day/*"/> 
    61516122                  <xsl:choose> 
    61526123                    <xsl:when test="/bedework/creating = 'true'"> 
    6153                       <xsl:copy-of select="form/end/dateTime/year/*"/> 
     6124                      <xsl:copy-of select="form/start/year/*"/> 
    61546125                    </xsl:when> 
    61556126                    <xsl:otherwise> 
    6156                       <xsl:copy-of select="form/end/dateTime/yearText/*"/> 
     6127                      <xsl:copy-of select="form/start/yearText/*"/> 
    61576128                    </xsl:otherwise> 
    61586129                  </xsl:choose> 
     
    61606131                <!--<script language="JavaScript" type="text/javascript"> 
    61616132                <xsl:comment> 
    6162                   endDateDynCalWidget = new dynCalendar('endDateDynCalWidget', <xsl:value-of select="number(/bedework/formElements/form/start/yearText/input/@value)"/>, <xsl:value-of select="number(/bedework/formElements/form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(/bedework/formElements/form/start/day/select/option[@selected='selected']/@value)"/>, 'endDateCalWidgetCallback'); 
     6133                  startDateDynCalWidget = new dynCalendar('startDateDynCalWidget', <xsl:value-of select="number(/bedework/formElements/form/start/yearText/input/@value)"/>, <xsl:value-of select="number(/bedework/formElements/form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(/bedework/formElements/form/start/day/select/option[@selected='selected']/@value)"/>, 'startDateCalWidgetCallback'); 
    61636134                </xsl:comment> 
    61646135                </script>--> 
    6165                 <div class="{$timeFieldsClass}" id="endTimeFields"> 
    6166                   <span id="calWidgetEndTimeHider" class="show"> 
    6167                     <xsl:copy-of select="form/end/dateTime/hour/*"/> 
    6168                     <xsl:copy-of select="form/end/dateTime/minute/*"/> 
    6169                     <xsl:if test="form/end/dateTime/ampm"> 
    6170                       <xsl:copy-of select="form/end/dateTime/ampm/*"/> 
     6136                <!--<img src="{$resourcesRoot}/resources/calIcon.gif" width="16" height="15" border="0"/>--> 
     6137                <div class="{$timeFieldsClass}" id="startTimeFields"> 
     6138                  <span id="calWidgetStartTimeHider" class="show"> 
     6139                    <xsl:copy-of select="form/start/hour/*"/> 
     6140                    <xsl:copy-of select="form/start/minute/*"/> 
     6141                    <xsl:if test="form/start/ampm"> 
     6142                      <xsl:copy-of select="form/start/ampm/*"/> 
    61716143                    </xsl:if> 
    61726144                    <xsl:text> </xsl:text> 
    6173                     <!--<a href="javascript:bwClockLaunch('eventEndDate');"><img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0"/></a>--> 
     6145                    <!--<a href="javascript:bwClockLaunch('eventStartDate');"><img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0"/></a>--> 
    61746146                  </span> 
    61756147                </div> 
    6176               </div><br/> 
    6177               <div id="clock" class="invisible"> 
    6178                 <xsl:call-template name="clock"/> 
    61796148              </div> 
    6180               <div class="dateFields"> 
     6149              <div class="dateStartEndBox"> 
     6150                <strong>End:</strong> 
    61816151                <xsl:choose> 
    6182                   <xsl:when test="form/end/type='D'"> 
    6183                     <input type="radio" name="eventEndType" value="D" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
     6152                  <xsl:when test="form/end/type='E'"> 
     6153                    <input type="radio" name="eventEndType" value="E" checked="checked" onclick="changeClass('endDateTime','shown');changeClass('endDuration','invisible');"/> 
    61846154                  </xsl:when> 
    61856155                  <xsl:otherwise> 
    6186                     <input type="radio" name="eventEndType" value="D" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
     6156                    <input type="radio" name="eventEndType" value="E" onclick="changeClass('endDateTime','shown');changeClass('endDuration','invisible');"/> 
    61876157                  </xsl:otherwise> 
    61886158                </xsl:choose> 
    6189                 Duration 
    6190                 <xsl:variable name="endDurationClass"> 
     6159                Date 
     6160                <xsl:variable name="endDateTimeClass"> 
    61916161                  <xsl:choose> 
    6192                     <xsl:when test="form/end/type='D'">shown</xsl:when> 
     6162                    <xsl:when test="form/end/type='E'">shown</xsl:when> 
    61936163                    <xsl:otherwise>invisible</xsl:otherwise> 
    61946164                  </xsl:choose> 
    61956165                </xsl:variable> 
    6196                 <xsl:variable name="durationHrMinClass"> 
     6166                <div class="{$endDateTimeClass}" id="endDateTime"> 
     6167                  <div class="dateFields"> 
     6168                    <xsl:copy-of select="form/end/dateTime/month/*"/> 
     6169                    <xsl:copy-of select="form/end/dateTime/day/*"/> 
     6170                    <xsl:choose> 
     6171                      <xsl:when test="/bedework/creating = 'true'"> 
     6172                        <xsl:copy-of select="form/end/dateTime/year/*"/> 
     6173                      </xsl:when> 
     6174                      <xsl:otherwise> 
     6175                        <xsl:copy-of select="form/end/dateTime/yearText/*"/> 
     6176                      </xsl:otherwise> 
     6177                    </xsl:choose> 
     6178                  </div> 
     6179                  <!--<script language="JavaScript" type="text/javascript"> 
     6180                  <xsl:comment> 
     6181                    endDateDynCalWidget = new dynCalendar('endDateDynCalWidget', <xsl:value-of select="number(/bedework/formElements/form/start/yearText/input/@value)"/>, <xsl:value-of select="number(/bedework/formElements/form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(/bedework/formElements/form/start/day/select/option[@selected='selected']/@value)"/>, 'endDateCalWidgetCallback'); 
     6182                  </xsl:comment> 
     6183                  </script>--> 
     6184                  <div class="{$timeFieldsClass}" id="endTimeFields"> 
     6185                    <span id="calWidgetEndTimeHider" class="show"> 
     6186                      <xsl:copy-of select="form/end/dateTime/hour/*"/> 
     6187                      <xsl:copy-of select="form/end/dateTime/minute/*"/> 
     6188                      <xsl:if test="form/end/dateTime/ampm"> 
     6189                        <xsl:copy-of select="form/end/dateTime/ampm/*"/> 
     6190                      </xsl:if> 
     6191                      <xsl:text> </xsl:text> 
     6192                      <!--<a href="javascript:bwClockLaunch('eventEndDate');"><img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0"/></a>--> 
     6193                    </span> 
     6194                  </div> 
     6195                </div><br/> 
     6196                <div id="clock" class="invisible"> 
     6197                  <xsl:call-template name="clock"/> 
     6198                </div> 
     6199                <div class="dateFields"> 
    61976200                  <xsl:choose> 
    6198                     <xsl:when test="form/allDay/input/@checked='checked'">invisible</xsl:when> 
    6199                     <xsl:otherwise>shown</xsl:otherwise> 
    6200                   </xsl:choose> 
    6201                 </xsl:variable> 
    6202                 <div class="{$endDurationClass}" id="endDuration"> 
    6203                   <xsl:choose> 
    6204                     <xsl:when test="form/end/duration/weeks/input/@value = '0'"> 
    6205                     <!-- we are using day, hour, minute format --> 
    6206                     <!-- must send either no week value or week value of 0 (zero) --> 
    6207                       <div class="durationBox"> 
    6208                         <input type="radio" name="eventDuration.type" value="daytime" onclick="swapDurationType('daytime')" checked="checked"/> 
    6209                         <xsl:variable name="daysStr" select="form/end/duration/days/input/@value"/> 
    6210                         <input type="text" name="eventDuration.daysStr" size="2" value="{$daysStr}" id="durationDays"/>days 
    6211                         <span id="durationHrMin" class="{$durationHrMinClass}"> 
    6212                           <xsl:variable name="hoursStr" select="form/end/duration/hours/input/@value"/> 
    6213                           <input type="text" name="eventDuration.hoursStr" size="2" value="{$hoursStr}" id="durationHours"/>hours 
    6214                           <xsl:variable name="minutesStr" select="form/end/duration/minutes/input/@value"/> 
    6215                           <input type="text" name="eventDuration.minutesStr" size="2" value="{$minutesStr}" id="durationMinutes"/>minutes 
    6216                         </span> 
    6217                       </div> 
    6218                       <span class="durationSpacerText">or</span> 
    6219                       <div class="durationBox"> 
    6220                         <input type="radio" name="eventDuration.type" value="weeks" onclick="swapDurationType('week')"/> 
    6221                         <xsl:variable name="weeksStr" select="form/end/duration/weeks/input/@value"/> 
    6222                         <input type="text" name="eventDuration.weeksStr" size="2" value="{$weeksStr}" id="durationWeeks" disabled="disabled"/>weeks 
    6223                       </div> 
     6201                    <xsl:when test="form/end/type='D'"> 
     6202                      <input type="radio" name="eventEndType" value="D" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
    62246203                    </xsl:when> 
    62256204                    <xsl:otherwise> 
    6226                       <!-- we are using week format --> 
    6227                       <div class="durationBox"> 
    6228                         <input type="radio" name="eventDuration.type" value="daytime" onclick="swapDurationType('daytime')"/> 
    6229                         <xsl:variable name="daysStr" select="form/end/duration/days/input/@value"/> 
    6230                         <input type="text" name="eventDuration.daysStr" size="2" value="{$daysStr}" id="durationDays" disabled="disabled"/>days 
    6231                         <span id="durationHrMin" class="{$durationHrMinClass}"> 
    6232                           <xsl:variable name="hoursStr" select="form/end/duration/hours/input/@value"/> 
    6233                           <input type="text" name="eventDuration.hoursStr" size="2" value="{$hoursStr}" id="durationHours" disabled="disabled"/>hours 
    6234                           <xsl:variable name="minutesStr" select="form/end/duration/minutes/input/@value"/> 
    6235                           <input type="text" name="eventDuration.minutesStr" size="2" value="{$minutesStr}" id="durationMinutes" disabled="disabled"/>minutes 
    6236                         </span> 
    6237                       </div> 
    6238                       <span class="durationSpacerText">or</span> 
    6239                       <div class="durationBox"> 
    6240                         <input type="radio" name="eventDuration.type" value="weeks" onclick="swapDurationType('week')" checked="checked"/> 
    6241                         <xsl:variable name="weeksStr" select="form/end/duration/weeks/input/@value"/> 
    6242                         <input type="text" name="eventDuration.weeksStr" size="2" value="{$weeksStr}" id="durationWeeks"/>weeks 
    6243                       </div> 
     6205                      <input type="radio" name="eventEndType" value="D" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
    62446206                    </xsl:otherwise> 
    62456207                  </xsl:choose> 
     6208                  Duration 
     6209                  <xsl:variable name="endDurationClass"> 
     6210                    <xsl:choose> 
     6211                      <xsl:when test="form/end/type='D'">shown</xsl:when> 
     6212                      <xsl:otherwise>invisible</xsl:otherwise> 
     6213                    </xsl:choose> 
     6214                  </xsl:variable> 
     6215                  <xsl:variable name="durationHrMinClass"> 
     6216                    <xsl:choose> 
     6217                      <xsl:when test="form/allDay/input/@checked='checked'">invisible</xsl:when> 
     6218                      <xsl:otherwise>shown</xsl:otherwise> 
     6219                    </xsl:choose> 
     6220                  </xsl:variable> 
     6221                  <div class="{$endDurationClass}" id="endDuration"> 
     6222                    <xsl:choose> 
     6223                      <xsl:when test="form/end/duration/weeks/input/@value = '0'"> 
     6224                      <!-- we are using day, hour, minute format --> 
     6225                      <!-- must send either no week value or week value of 0 (zero) --> 
     6226                        <div class="durationBox"> 
     6227                          <input type="radio" name="eventDuration.type" value="daytime" onclick="swapDurationType('daytime')" checked="checked"/> 
     6228                          <xsl:variable name="daysStr" select="form/end/duration/days/input/@value"/> 
     6229                          <input type="text" name="eventDuration.daysStr" size="2" value="{$daysStr}" id="durationDays"/>days 
     6230                          <span id="durationHrMin" class="{$durationHrMinClass}"> 
     6231                            <xsl:variable name="hoursStr" select="form/end/duration/hours/input/@value"/> 
     6232                            <input type="text" name="eventDuration.hoursStr" size="2" value="{$hoursStr}" id="durationHours"/>hours 
     6233                            <xsl:variable name="minutesStr" select="form/end/duration/minutes/input/@value"/> 
     6234                            <input type="text" name="eventDuration.minutesStr" size="2" value="{$minutesStr}" id="durationMinutes"/>minutes 
     6235                          </span> 
     6236                        </div> 
     6237                        <span class="durationSpacerText">or</span> 
     6238                        <div class="durationBox"> 
     6239                          <input type="radio" name="eventDuration.type" value="weeks" onclick="swapDurationType('week')"/> 
     6240                          <xsl:variable name="weeksStr" select="form/end/duration/weeks/input/@value"/> 
     6241                          <input type="text" name="eventDuration.weeksStr" size="2" value="{$weeksStr}" id="durationWeeks" disabled="disabled"/>weeks 
     6242                        </div> 
     6243                      </xsl:when> 
     6244                      <xsl:otherwise> 
     6245                        <!-- we are using week format --> 
     6246                        <div class="durationBox"> 
     6247                          <input type="radio" name="eventDuration.type" value="daytime" onclick="swapDurationType('daytime')"/> 
     6248                          <xsl:variable name="daysStr" select="form/end/duration/days/input/@value"/> 
     6249                          <input type="text" name="eventDuration.daysStr" size="2" value="{$daysStr}" id="durationDays" disabled="disabled"/>days 
     6250                          <span id="durationHrMin" class="{$durationHrMinClass}"> 
     6251                            <xsl:variable name="hoursStr" select="form/end/duration/hours/input/@value"/> 
     6252                            <input type="text" name="eventDuration.hoursStr" size="2" value="{$hoursStr}" id="durationHours" disabled="disabled"/>hours 
     6253                            <xsl:variable name="minutesStr" select="form/end/duration/minutes/input/@value"/> 
     6254                            <input type="text" name="eventDuration.minutesStr" size="2" value="{$minutesStr}" id="durationMinutes" disabled="disabled"/>minutes 
     6255                          </span> 
     6256                        </div> 
     6257                        <span class="durationSpacerText">or</span> 
     6258                        <div class="durationBox"> 
     6259                          <input type="radio" name="eventDuration.type" value="weeks" onclick="swapDurationType('week')" checked="checked"/> 
     6260                          <xsl:variable name="weeksStr" select="form/end/duration/weeks/input/@value"/> 
     6261                          <input type="text" name="eventDuration.weeksStr" size="2" value="{$weeksStr}" id="durationWeeks"/>weeks 
     6262                        </div> 
     6263                      </xsl:otherwise> 
     6264                    </xsl:choose> 
     6265                  </div> 
     6266                </div><br/> 
     6267                <div class="dateFields" id="noDuration"> 
     6268                  <xsl:choose> 
     6269                    <xsl:when test="form/end/type='N'"> 
     6270                      <input type="radio" name="eventEndType" value="N" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
     6271                    </xsl:when> 
     6272                    <xsl:otherwise> 
     6273                      <input type="radio" name="eventEndType" value="N" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
     6274                    </xsl:otherwise> 
     6275                  </xsl:choose> 
     6276                  This event has no duration / end date 
    62466277                </div> 
    6247               </div><br/> 
    6248               <div class="dateFields" id="noDuration"> 
    6249                 <xsl:choose> 
    6250                   <xsl:when test="form/end/type='N'"> 
    6251                     <input type="radio" name="eventEndType" value="N" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
    6252                   </xsl:when> 
    6253                   <xsl:otherwise> 
    6254                     <input type="radio" name="eventEndType" value="N" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
    6255                   </xsl:otherwise> 
    6256                 </xsl:choose> 
    6257                 This event has no duration / end date 
    62586278              </div> 
    6259             </div> 
    6260           </td> 
    6261         </tr> 
    6262         <tr id="scheduleLocationEdit" class="invisible"> 
    6263           <td class="fieldname">New Location:</td> 
    6264           <td class="fieldval scheduleActions"> 
    6265             <span class="std-text">choose: </span> 
    6266             <span id="eventFormLocationList"> 
    6267               <select name="eventLocationUid"> 
    6268                 <option value="-1">select...</option> 
    6269                 <xsl:copy-of select="/bedework/formElements/form/location/locationmenu/select/*"/> 
    6270               </select> 
    6271             </span> 
    6272             <span class="std-text"> or add new: </span> 
    6273             <input type="text" name="locationAddress.value" value="" /> 
    6274           </td> 
    6275         </tr> 
    6276         <xsl:if test="scheduleMethod != '5'"> 
    6277           <tr> 
    6278             <td class="fieldname">Comment:</td> 
    6279             <td class="fieldval scheduleActions"> 
    6280               <textarea name="comment" cols="60" rows="2"> 
    6281                 <xsl:text> </xsl:text> 
    6282               </textarea> 
    62836279            </td> 
    62846280          </tr> 
     6281          <tr id="scheduleLocationEdit" class="invisible"> 
     6282            <td class="fieldname">New Location:</td> 
     6283            <td class="fieldval scheduleActions"> 
     6284              <span class="std-text">choose: </span> 
     6285              <span id="eventFormLocationList"> 
     6286                <select name="eventLocationUid"> 
     6287                  <option value="-1">select...</option> 
     6288                  <xsl:copy-of select="/bedework/formElements/form/location/locationmenu/select/*"/> 
     6289                </select> 
     6290              </span> 
     6291              <span class="std-text"> or add new: </span> 
     6292              <input type="text" name="locationAddress.value" value="" /> 
     6293            </td> 
     6294          </tr> 
     6295          <xsl:if test="scheduleMethod != '5'"> 
     6296            <tr> 
     6297              <td class="fieldname">Comment:</td> 
     6298              <td class="fieldval scheduleActions"> 
     6299                <textarea name="comment" cols="60" rows="2"> 
     6300                  <xsl:text> </xsl:text> 
     6301                </textarea> 
     6302              </td> 
     6303            </tr> 
     6304          </xsl:if> 
    62856305        </xsl:if> 
    62866306        <tr> 
    62876307          <td class="fieldname">&#160;</td> 
    62886308          <td class="fieldval scheduleActions"> 
    6289             <input name="submit" type="submit" value="Submit"/>&#160; 
     6309            <xsl:choose> 
     6310              <xsl:when test="scheduleMethod='8'"> 
     6311                <input name="delete" type="button" value="Delete" onclick="document.location.replace('{$delEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}')"/> 
     6312              </xsl:when> 
     6313              <xsl:otherwise> 
     6314                <input name="submit" type="submit" value="Submit"/> 
     6315              </xsl:otherwise> 
     6316            </xsl:choose> 
     6317            &#160; 
    62906318            <input name="cancelled" type="submit" value="cancel"/> 
    62916319          </td> 
     
    64596487          </th> 
    64606488        </tr> 
     6489        <xsl:choose> 
     6490          <xsl:when test="scheduleMethod = '7'"> 
     6491            <tr> 
     6492              <td colspan="2" class="highlight"> 
     6493                Attendee <xsl:value-of select="substring-after(attendees/attendee/attendeeUri,'mailto:')"/> has requested a change to this meeting. 
     6494              </td> 
     6495            </tr> 
     6496          </xsl:when> 
     6497          <xsl:otherwise> 
     6498            <tr> 
     6499              <td colspan="2" class="highlight"> 
     6500                Attendee <xsl:value-of select="substring-after(attendees/attendee/attendeeUri,'mailto:')"/> has 
     6501                <xsl:choose> 
     6502                  <xsl:when test="attendees/attendee/partstat = 'TENTATIVE'"> 
     6503                    TENTATIVELY accepted 
     6504                  </xsl:when> 
     6505                  <xsl:otherwise> 
     6506                    <xsl:value-of select="attendees/attendee/partstat"/> 
     6507                  </xsl:otherwise> 
     6508                </xsl:choose> 
     6509                your invitation. 
     6510              </td> 
     6511            </tr> 
     6512          </xsl:otherwise> 
     6513        </xsl:choose> 
    64616514        <tr> 
    64626515          <td class="fieldname">