| 2205 | | <td class="recurrenceFrequency"> |
|---|
| 2206 | | <input type="radio" name="freq" value="HOURLY" onclick="showRecurrence(this.value)"/>hourly<br/> |
|---|
| 2207 | | <input type="radio" name="freq" value="DAILY" onclick="showRecurrence(this.value)"/>daily<br/> |
|---|
| 2208 | | <input type="radio" name="freq" value="WEEKLY" onclick="showRecurrence(this.value)" checked="checked"/>weekly<br/> |
|---|
| 2209 | | <input type="radio" name="freq" value="MONTHLY" onclick="showRecurrence(this.value)"/>monthly<br/> |
|---|
| 2210 | | <input type="radio" name="freq" value="YEARLY" onclick="showRecurrence(this.value)"/>yearly |
|---|
| | 2204 | <td class="recurrenceFrequency" rowspan="2"> |
|---|
| | 2205 | <strong>Recurs:</strong><br/> |
|---|
| | 2206 | <input type="radio" name="freqFlag" value="NEVER" onclick="showRecurrence(this.value)" checked="checked"/>never<br/> |
|---|
| | 2207 | <!--<input type="radio" name="freqFlag" value="HOURLY" onclick="showRecurrence(this.value)"/>hourly<br/>--> |
|---|
| | 2208 | <input type="radio" name="freqFlag" value="DAILY" onclick="showRecurrence(this.value)"/>daily<br/> |
|---|
| | 2209 | <input type="radio" name="freqFlag" value="WEEKLY" onclick="showRecurrence(this.value)"/>weekly<br/> |
|---|
| | 2210 | <input type="radio" name="freqFlag" value="MONTHLY" onclick="showRecurrence(this.value)"/>monthly<br/> |
|---|
| | 2211 | <input type="radio" name="freqFlag" value="YEARLY" onclick="showRecurrence(this.value)"/>yearly |
|---|
| 2222 | | <div class="rruleBlock"> |
|---|
| 2223 | | <input type="checkbox" name="byday" value="SU"/>Sunday<br/> |
|---|
| 2224 | | <input type="checkbox" name="byday" value="MO"/>Monday<br/> |
|---|
| 2225 | | <input type="checkbox" name="byday" value="TU"/>Tuesday<br/> |
|---|
| 2226 | | <input type="checkbox" name="byday" value="WE"/>Wednesday<br/> |
|---|
| 2227 | | <input type="checkbox" name="byday" value="TH"/>Thursday<br/> |
|---|
| 2228 | | <input type="checkbox" name="byday" value="FR"/>Friday<br/> |
|---|
| 2229 | | <input type="checkbox" name="byday" value="SA"/>Saturday |
|---|
| 2230 | | </div> |
|---|
| | 2228 | <xsl:call-template name="byDayChkBoxList"/><br/> |
|---|
| 2237 | | <input type="radio" name="rrule" value="bymonthday"/>day(s): |
|---|
| 2238 | | <input type="text" name="bymonthday"/> |
|---|
| 2239 | | <div class="rruleBlock"> |
|---|
| 2240 | | (comma separated list of days, 1-31) |
|---|
| 2241 | | </div> |
|---|
| | 2236 | <input type="radio" name="rrule" value="bymonthpos"/> |
|---|
| | 2237 | the |
|---|
| | 2238 | <select name="bymonthposPos" width="7em"> |
|---|
| | 2239 | <option value="first">first</option> |
|---|
| | 2240 | <option value="second">second</option> |
|---|
| | 2241 | <option value="third">third</option> |
|---|
| | 2242 | <option value="fourth">fourth</option> |
|---|
| | 2243 | <option value="last">last</option> |
|---|
| | 2244 | </select> |
|---|
| | 2245 | <select name="bymonthposDay" width="7em"> |
|---|
| | 2246 | <xsl:for-each select="/bedework/daynames/val"> |
|---|
| | 2247 | <option> |
|---|
| | 2248 | <xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute> |
|---|
| | 2249 | <xsl:value-of select="."/> |
|---|
| | 2250 | </option> |
|---|
| | 2251 | </xsl:for-each> |
|---|
| | 2252 | </select><br/> |
|---|
| | 2253 | <input type="radio" name="rrule" value="bymonthday"/>day(s):<br/> |
|---|
| | 2254 | <xsl:call-template name="buildCheckboxList"> |
|---|
| | 2255 | <xsl:with-param name="current">1</xsl:with-param> |
|---|
| | 2256 | <xsl:with-param name="end">31</xsl:with-param> |
|---|
| | 2257 | <xsl:with-param name="name">bymonthday</xsl:with-param> |
|---|
| | 2258 | </xsl:call-template><br/> |
|---|
| | 2259 | <xsl:call-template name="byDayChkBoxList"/> |
|---|
| 2253 | | <input type="radio" name="rCountUntil" value="count"/> |
|---|
| 2254 | | Repeat <input type="text" value="1" size="2" name="count"/> times<br/> |
|---|
| 2255 | | <input type="radio" name="rCountUntil" value="count"/> |
|---|
| 2256 | | Repeat until <input type="text" value="04/23/2008" size="10" name="until"/> |
|---|
| | 2272 | <div id="recurrenceUntilRules" class="invisible"> |
|---|
| | 2273 | <strong>Repeat:</strong> |
|---|
| | 2274 |   |
|---|
| | 2275 | <input type="radio" name="rCountUntil" value="count" checked="checked"/> |
|---|
| | 2276 | <input type="text" value="1" size="2" name="count"/> times |
|---|
| | 2277 |   |
|---|
| | 2278 | <input type="radio" name="rCountUntil" value="count"/> |
|---|
| | 2279 | until <input type="text" value="04/23/2008" size="10" name="until"/> |
|---|
| | 2280 | </div> |
|---|
| | 2438 | </xsl:template> |
|---|
| | 2439 | |
|---|
| | 2440 | <xsl:template name="byDayChkBoxList"> |
|---|
| | 2441 | <input type="checkbox" name="byday"/> |
|---|
| | 2442 | <xsl:attribute name="value"><xsl:value-of select="/bedework/shortdaynames/val[position()=1]"/></xsl:attribute> |
|---|
| | 2443 | <xsl:value-of select="/bedework/shortdaynames/val[position()=1]"/> |
|---|
| | 2444 | <input type="checkbox" name="byday"/> |
|---|
| | 2445 | <xsl:attribute name="value"><xsl:value-of select="/bedework/shortdaynames/val[position()=2]"/></xsl:attribute> |
|---|
| | 2446 | <xsl:value-of select="/bedework/shortdaynames/val[position()=2]"/> |
|---|
| | 2447 | <input type="checkbox" name="byday"/> |
|---|
| | 2448 | <xsl:attribute name="value"><xsl:value-of select="/bedework/shortdaynames/val[position()=3]"/></xsl:attribute> |
|---|
| | 2449 | <xsl:value-of select="/bedework/shortdaynames/val[position()=3]"/> |
|---|
| | 2450 | <input type="checkbox" name="byday"/> |
|---|
| | 2451 | <xsl:attribute name="value"><xsl:value-of select="/bedework/shortdaynames/val[position()=4]"/></xsl:attribute> |
|---|
| | 2452 | <xsl:value-of select="/bedework/shortdaynames/val[position()=4]"/> |
|---|
| | 2453 | <input type="checkbox" name="byday"/> |
|---|
| | 2454 | <xsl:attribute name="value"><xsl:value-of select="/bedework/shortdaynames/val[position()=5]"/></xsl:attribute> |
|---|
| | 2455 | <xsl:value-of select="/bedework/shortdaynames/val[position()=5]"/> |
|---|
| | 2456 | <input type="checkbox" name="byday"/> |
|---|
| | 2457 | <xsl:attribute name="value"><xsl:value-of select="/bedework/shortdaynames/val[position()=6]"/></xsl:attribute> |
|---|
| | 2458 | <xsl:value-of select="/bedework/shortdaynames/val[position()=6]"/> |
|---|
| | 2459 | <input type="checkbox" name="byday"/> |
|---|
| | 2460 | <xsl:attribute name="value"><xsl:value-of select="/bedework/shortdaynames/val[position()=7]"/></xsl:attribute> |
|---|
| | 2461 | <xsl:value-of select="/bedework/shortdaynames/val[position()=7]"/> |
|---|
| | 2462 | </xsl:template> |
|---|
| | 2463 | |
|---|
| | 2464 | <xsl:template name="buildCheckboxList"> |
|---|
| | 2465 | <xsl:param name="current"/> |
|---|
| | 2466 | <xsl:param name="end"/> |
|---|
| | 2467 | <xsl:param name="name"/> |
|---|
| | 2468 | <xsl:param name="splitter">8</xsl:param> |
|---|
| | 2469 | <span class="chkBoxListItem"> |
|---|
| | 2470 | <input type="checkbox"/> |
|---|
| | 2471 | <xsl:attribute name="name"><xsl:value-of select="$name"/></xsl:attribute> |
|---|
| | 2472 | <xsl:attribute name="value"><xsl:value-of select="$current"/></xsl:attribute> |
|---|
| | 2473 | <xsl:value-of select="$current"/> |
|---|
| | 2474 | </span> |
|---|
| | 2475 | <xsl:if test="$current mod $splitter = 0"><br/></xsl:if> |
|---|
| | 2476 | <xsl:if test="$current < $end"> |
|---|
| | 2477 | <xsl:call-template name="buildCheckboxList"> |
|---|
| | 2478 | <xsl:with-param name="current"><xsl:value-of select="$current + 1"/></xsl:with-param> |
|---|
| | 2479 | <xsl:with-param name="end"><xsl:value-of select="$end"/></xsl:with-param> |
|---|
| | 2480 | <xsl:with-param name="name"><xsl:value-of select="$name"/></xsl:with-param> |
|---|
| | 2481 | </xsl:call-template> |
|---|
| | 2482 | </xsl:if> |
|---|