| 361 | | <xsl:template name="buildNumberOptions"> |
|---|
| 362 | | <xsl:param name="current"/> |
|---|
| 363 | | <xsl:param name="total"/> |
|---|
| 364 | | <option value="{$current}"><xsl:value-of select="$current"/></option> |
|---|
| 365 | | <xsl:if test="$current < $total"> |
|---|
| 366 | | <xsl:call-template name="buildNumberOptions"> |
|---|
| 367 | | <xsl:with-param name="current"><xsl:value-of select="$current+1"/></xsl:with-param> |
|---|
| 368 | | <xsl:with-param name="total"><xsl:value-of select="$total"/></xsl:with-param> |
|---|
| 369 | | </xsl:call-template> |
|---|
| 370 | | </xsl:if> |
|---|
| 371 | | </xsl:template> |
|---|
| 372 | | |
|---|
| 373 | | <!--==== EMAIL OPTIONS ====--> |
|---|
| 374 | | <xsl:template name="emailOptions"> |
|---|
| 375 | | <form method="post" action="{$mailEvent}" id="standardForm"> |
|---|
| 376 | | <input type="hidden" name="updateEmailOptions" value="true"/> |
|---|
| 377 | | <table class="common" cellspacing="0"> |
|---|
| 378 | | <tr> |
|---|
| 379 | | <th colspan="2" class="commonHeader">Update email options</th> |
|---|
| 380 | | </tr> |
|---|
| 381 | | <tr> |
|---|
| 382 | | <td> |
|---|
| 383 | | Email Address: |
|---|
| 384 | | </td> |
|---|
| 385 | | <td align="left"> |
|---|
| 386 | | <xsl:copy-of select="/bedework/emailoptionsform/form/email/*"/> |
|---|
| 387 | | </td> |
|---|
| 388 | | </tr> |
|---|
| 389 | | <tr> |
|---|
| 390 | | <td> |
|---|
| 391 | | Subject: |
|---|
| 392 | | </td> |
|---|
| 393 | | <td align="left"> |
|---|
| 394 | | <xsl:copy-of select="/bedework/emailoptionsform/form/subject/*"/> |
|---|
| 395 | | </td> |
|---|
| 396 | | </tr> |
|---|
| 397 | | <tr> |
|---|
| 398 | | <td> </td> |
|---|
| 399 | | <td> |
|---|
| 400 | | <input name="submit" type="submit" value="Continue"/>  |
|---|
| 401 | | <input name="cancelled" type="submit" value="cancel"/> |
|---|
| 402 | | </td> |
|---|
| 403 | | </tr> |
|---|
| 404 | | </table> |
|---|
| 405 | | </form> |
|---|
| 406 | | </xsl:template> |
|---|
| 407 | | |
|---|
| 408 | | <!--==== SIDE CALENDAR MENU ====--> |
|---|
| 409 | | <xsl:template match="calendar" mode="sideList"> |
|---|
| 410 | | <xsl:variable name="calPath" select="encodedPath"/> |
|---|
| 411 | | <div class="std-text"> |
|---|
| 412 | | <a href="{$setSelection}&calPath={$calPath}"><xsl:value-of select="title"/></a> |
|---|
| 413 | | </div> |
|---|
| 414 | | </xsl:template> |
|---|