Changeset 1147
- Timestamp:
- 12/12/06 14:07:47
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1146 r1147 2036 2036 <script language="JavaScript" type="text/javascript"> 2037 2037 <xsl:comment> 2038 startDateDynCalWidget = new dynCalendar('startDateDynCalWidget', <xsl:value-of select="number(form/start/yearText/input/@value)"/>, <xsl:value-of select="number(form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(form/start/day/select/option[@selected='selected']/@value)"/>, 'startDateCalWidgetCallback', '<xsl:value-of select="$resourcesRoot"/>/resources/','true');2038 startDateDynCalWidget = new dynCalendar('startDateDynCalWidget', <xsl:value-of select="number(form/start/yearText/input/@value)"/>, <xsl:value-of select="number(form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(form/start/day/select/option[@selected='selected']/@value)"/>, 'startDateCalWidgetCallback',true,'<xsl:value-of select="$resourcesRoot"/>/resources/'); 2039 2039 </xsl:comment> 2040 2040 </script> … … 2096 2096 <script language="JavaScript" type="text/javascript"> 2097 2097 <xsl:comment> 2098 endDateDynCalWidget = new dynCalendar('endDateDynCalWidget', <xsl:value-of select="number(form/start/yearText/input/@value)"/>, <xsl:value-of select="number(form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(form/start/day/select/option[@selected='selected']/@value)"/>, 'endDateCalWidgetCallback', '<xsl:value-of select="$resourcesRoot"/>/resources/', 'true');2098 endDateDynCalWidget = new dynCalendar('endDateDynCalWidget', <xsl:value-of select="number(form/start/yearText/input/@value)"/>, <xsl:value-of select="number(form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(form/start/day/select/option[@selected='selected']/@value)"/>, 'endDateCalWidgetCallback',true,'<xsl:value-of select="$resourcesRoot"/>/resources/'); 2099 2099 </xsl:comment> 2100 2100 </script> … … 2226 2226 </td> 2227 2227 <td class="recurrenceRules"> 2228 <div id=" onceRecurrenceRules">2228 <div id="noneRecurrenceRules"> 2229 2229 <p>does not recur</p> 2230 2230 </div> … … 2480 2480   2481 2481 <input type="radio" name="rCountUntil" value="count" checked="checked"/> 2482 <input type="text" value="1" size="2" name="count"/> times2483  2484 <input type="radio" name="rCountUntil" value="count"/>2485 2482 until 2486 2483 <div class="dateFields"> … … 2511 2508 <script language="JavaScript" type="text/javascript"> 2512 2509 <xsl:comment> 2513 untilDateDynCalWidget = new dynCalendar('untilDateDynCalWidget', <xsl:value-of select="number(form/start/yearText/input/@value)"/>, <xsl:value-of select="number(form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(form/start/day/select/option[@selected='selected']/@value)"/>, 'untilDateCalWidgetCallback', '<xsl:value-of select="$resourcesRoot"/>/resources/','false');2510 untilDateDynCalWidget = new dynCalendar('untilDateDynCalWidget', <xsl:value-of select="number(form/start/yearText/input/@value)"/>, <xsl:value-of select="number(form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(form/start/day/select/option[@selected='selected']/@value)"/>, 'untilDateCalWidgetCallback',false,'<xsl:value-of select="$resourcesRoot"/>/resources/'); 2514 2511 </xsl:comment> 2515 2512 </script> 2513   2514 <input type="radio" name="rCountUntil" value="count"/> 2515 <input type="text" value="1" size="2" name="count"/> times 2516 2516 </div> 2517 2517 </td> trunk/deployment/webuser/webapp/resources/demoskins/resources/dynCalendarWidget.js
r1146 r1147 28 28 * @param int dy Day (date) value (1-31) 29 29 * @param string callbackFunc Name of the callback function 30 * @param boolean hideBwFields Hide Bedework time fields when widget appears (true/false) 30 31 * @param string OPTIONAL Optional images root path 31 32 * @param string OPTIONAL Optional layer name … … 50 51 this.objName = objName; 51 52 this.callbackFunc = callbackFunc; 52 if (arguments[5]) { 53 this.imagesPath = arguments[5]; 53 this.hideBwFields = hideBwFields; 54 55 if (arguments[6]) { 56 this.imagesPath = arguments[6]; 54 57 } else { 55 58 this.imagesPath = '/ucalrsrc/resources/'; … … 376 379 377 380 // for Bedework event editing; reveal time fields when cal widget is hidden 378 if ( hideBwFields) {381 if (this.hideBwFields) { 379 382 changeClass('calWidgetStartTimeHider','shown'); 380 383 changeClass('calWidgetEndTimeHider','shown'); … … 394 397 // to avoid IE rendering oddities (IE always displays the "windowed" layer 395 398 // above everything else -- that includes select boxes. 396 if ( hideBwFields) {399 if (this.hideBwFields) { 397 400 changeClass('calWidgetStartTimeHider','invisible'); 398 401 changeClass('calWidgetEndTimeHider','invisible'); trunk/deployment/webuser/webapp/resources/demoskins/resources/includes.js
r1146 r1147 86 86 changeClass('recurrenceUntilRules','shown'); 87 87 88 if (freq == ' ONCE') {89 changeClass(' onceRecurrenceRules','shown');88 if (freq == 'NONE') { 89 changeClass('noneRecurrenceRules','shown'); 90 90 changeClass('recurrenceUntilRules','invisible'); 91 91 } else { 92 changeClass(' onceRecurrenceRules','invisible');92 changeClass('noneRecurrenceRules','invisible'); 93 93 } 94 94 if (freq == 'HOURLY') {
