| 1995 | | <li> |
|---|
| 1996 | | <a href="javascript:setTab('eventFormTabs',3); show('bwEventTab-Access'); hide('bwEventTab-Details','bwEventTab-Basic','bwEventTab-Recurrence');"> |
|---|
| 1997 | | access |
|---|
| 1998 | | </a> |
|---|
| 1999 | | </li> |
|---|
| | 1985 | <!--<xsl:if test="/bedework/creating = 'false'">--> |
|---|
| | 1986 | <li> |
|---|
| | 1987 | <a href="javascript:setTab('eventFormTabs',3); show('bwEventTab-Access'); hide('bwEventTab-Details','bwEventTab-Basic','bwEventTab-Recurrence','bwEventTab-Scheduling');"> |
|---|
| | 1988 | access |
|---|
| | 1989 | </a> |
|---|
| | 1990 | </li> |
|---|
| | 1991 | <li> |
|---|
| | 1992 | <a href="javascript:setTab('eventFormTabs',4); show('bwEventTab-Scheduling'); hide('bwEventTab-Basic','bwEventTab-Details','bwEventTab-Recurrence','bwEventTab-Access');"> |
|---|
| | 1993 | scheduling |
|---|
| | 1994 | </a> |
|---|
| | 1995 | </li> |
|---|
| | 1996 | <!--</xsl:if>--> |
|---|
| 2954 | | <!--<form name="eventShareForm" method="post" action="{$event-setAccess}" id="shareForm" onsubmit="setAccessHow(this)"> |
|---|
| 2955 | | <input type="hidden" name="calPath" value="{$calPath}"/> |
|---|
| 2956 | | <input type="hidden" name="guid" value="{$guid}"/> |
|---|
| 2957 | | <input type="hidden" name="recurid" value="{$recurrenceId}"/>--> |
|---|
| 2958 | | <xsl:call-template name="entityAccessForm"> |
|---|
| 2959 | | <xsl:with-param name="hideSubmitButton">true</xsl:with-param> |
|---|
| 2960 | | </xsl:call-template> |
|---|
| 2961 | | <!--</form>--> |
|---|
| | 2951 | <xsl:call-template name="entityAccessForm"> |
|---|
| | 2952 | <xsl:with-param name="hideSubmitButton">true</xsl:with-param> |
|---|
| | 2953 | </xsl:call-template> |
|---|
| | 2954 | <p> |
|---|
| | 2955 | <input name="updateEventAccess" type="submit" value="update access"/> |
|---|
| | 2956 | </p> |
|---|
| | 2957 | </div> |
|---|
| | 2958 | </div> |
|---|
| | 2959 | |
|---|
| | 2960 | <!-- Scheduling tab --> |
|---|
| | 2961 | <!-- ============== --> |
|---|
| | 2962 | <div id="bwEventTab-Scheduling" class="invisible"> |
|---|
| | 2963 | <div id="scheduling"> |
|---|
| | 2964 | <xsl:if test="form/attendees/attendee"> |
|---|
| | 2965 | <xsl:apply-templates select="form/attendees"> |
|---|
| | 2966 | <xsl:with-param name="trash">no</xsl:with-param> |
|---|
| | 2967 | </xsl:apply-templates> |
|---|
| | 2968 | </xsl:if> |
|---|
| | 2969 | |
|---|
| | 2970 | <xsl:if test="form/recipients/recipient"> |
|---|
| | 2971 | <xsl:apply-templates select="form/recipients"> |
|---|
| | 2972 | <xsl:with-param name="trash">no</xsl:with-param> |
|---|
| | 2973 | </xsl:apply-templates> |
|---|
| | 2974 | </xsl:if> |
|---|
| | 2975 | <p class="editAttendees"> |
|---|
| | 2976 | <xsl:choose> |
|---|
| | 2977 | <xsl:when test="form/scheduleMethod = 2"> |
|---|
| | 2978 | <input name="editEventAttendees" type="submit" value="edit attendees and recipients"/> |
|---|
| | 2979 | </xsl:when> |
|---|
| | 2980 | <xsl:otherwise> |
|---|
| | 2981 | <input name="editEventAttendees" type="submit" value="make this event a meeting"/> |
|---|
| | 2982 | </xsl:otherwise> |
|---|
| | 2983 | </xsl:choose> |
|---|
| | 2984 | </p> |
|---|
| 3356 | | <table id="attendees" class="widget" cellspacing="0"> |
|---|
| 3357 | | <tr> |
|---|
| 3358 | | <th colspan="4">Attendees</th> |
|---|
| 3359 | | </tr> |
|---|
| 3360 | | <tr class="subHead"> |
|---|
| 3361 | | <td></td> |
|---|
| 3362 | | <td>attendee</td> |
|---|
| 3363 | | <td>role</td> |
|---|
| 3364 | | <td>status</td> |
|---|
| 3365 | | </tr> |
|---|
| 3366 | | <xsl:for-each select="/bedework/attendees/attendee"> |
|---|
| 3367 | | <xsl:sort select="cn" order="ascending" case-order="upper-first"/> |
|---|
| 3368 | | <xsl:sort select="attendeeUri" order="ascending" case-order="upper-first"/> |
|---|
| 3369 | | <xsl:variable name="attendeeUri" select="attendeeUri"/> |
|---|
| 3370 | | <tr> |
|---|
| 3371 | | <td class="trash"> |
|---|
| 3372 | | <a href="{$event-attendeesForEvent}&uri={$attendeeUri}&attendee=true&delete=true" title="remove"> |
|---|
| 3373 | | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> |
|---|
| 3374 | | </a> |
|---|
| 3375 | | </td> |
|---|
| 3376 | | <td> |
|---|
| 3377 | | <a href="{$attendeeUri}"> |
|---|
| 3378 | | <xsl:choose> |
|---|
| 3379 | | <xsl:when test="cn != ''"> |
|---|
| 3380 | | <xsl:value-of select="cn"/> |
|---|
| 3381 | | </xsl:when> |
|---|
| 3382 | | <xsl:otherwise> |
|---|
| 3383 | | <xsl:value-of select="attendeeUri"/> |
|---|
| 3384 | | </xsl:otherwise> |
|---|
| 3385 | | </xsl:choose> |
|---|
| 3386 | | </a> |
|---|
| 3387 | | </td> |
|---|
| 3388 | | <td class="role"> |
|---|
| 3389 | | <xsl:value-of select="role"/> |
|---|
| 3390 | | </td> |
|---|
| 3391 | | <td class="status"> |
|---|
| 3392 | | <xsl:value-of select="partstat"/> |
|---|
| 3393 | | </td> |
|---|
| 3394 | | </tr> |
|---|
| 3395 | | </xsl:for-each> |
|---|
| 3396 | | </table> |
|---|
| | 3379 | <xsl:apply-templates select="/bedework/attendees"/> |
|---|
| 3400 | | <table id="recipients" class="widget" cellspacing="0"> |
|---|
| 3401 | | <tr> |
|---|
| 3402 | | <th colspan="2">Recipients</th> |
|---|
| 3403 | | </tr> |
|---|
| 3404 | | <tr class="subHead"> |
|---|
| 3405 | | <td></td> |
|---|
| 3406 | | <td>recipient</td> |
|---|
| 3407 | | </tr> |
|---|
| 3408 | | <xsl:for-each select="/bedework/recipients/recipient"> |
|---|
| 3409 | | <xsl:variable name="recipientUri" select="."/> |
|---|
| 3410 | | <tr> |
|---|
| 3411 | | <td class="trash"> |
|---|
| 3412 | | <a href="{$event-attendeesForEvent}&uri={$recipientUri}&recipient=true&delete=true" title="remove"> |
|---|
| 3413 | | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> |
|---|
| 3414 | | </a> |
|---|
| 3415 | | </td> |
|---|
| 3416 | | <td> |
|---|
| 3417 | | <a href="{$recipientUri}"> |
|---|
| 3418 | | <xsl:value-of select="."/> |
|---|
| 3419 | | </a> |
|---|
| 3420 | | </td> |
|---|
| 3421 | | </tr> |
|---|
| 3422 | | </xsl:for-each> |
|---|
| 3423 | | </table> |
|---|
| | 3383 | <xsl:apply-templates select="/bedework/recipients"/> |
|---|
| 3560 | | |
|---|
| | 3520 | |
|---|
| | 3521 | <xsl:template match="attendees"> |
|---|
| | 3522 | <xsl:param name="trash">yes</xsl:param> |
|---|
| | 3523 | <table id="attendees" class="widget" cellspacing="0"> |
|---|
| | 3524 | <tr> |
|---|
| | 3525 | <th colspan="4">Attendees</th> |
|---|
| | 3526 | </tr> |
|---|
| | 3527 | <tr class="subHead"> |
|---|
| | 3528 | <xsl:if test="$trash = 'yes'"><td></td></xsl:if> |
|---|
| | 3529 | <td>attendee</td> |
|---|
| | 3530 | <td>role</td> |
|---|
| | 3531 | <td>status</td> |
|---|
| | 3532 | </tr> |
|---|
| | 3533 | <xsl:for-each select="attendee"> |
|---|
| | 3534 | <xsl:sort select="cn" order="ascending" case-order="upper-first"/> |
|---|
| | 3535 | <xsl:sort select="attendeeUri" order="ascending" case-order="upper-first"/> |
|---|
| | 3536 | <xsl:variable name="attendeeUri" select="attendeeUri"/> |
|---|
| | 3537 | <tr> |
|---|
| | 3538 | <xsl:if test="$trash = 'yes'"> |
|---|
| | 3539 | <td class="trash"> |
|---|
| | 3540 | <a href="{$event-attendeesForEvent}&uri={$attendeeUri}&attendee=true&delete=true" title="remove"> |
|---|
| | 3541 | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> |
|---|
| | 3542 | </a> |
|---|
| | 3543 | </td> |
|---|
| | 3544 | </xsl:if> |
|---|
| | 3545 | <td> |
|---|
| | 3546 | <a href="{$attendeeUri}"> |
|---|
| | 3547 | <xsl:choose> |
|---|
| | 3548 | <xsl:when test="cn != ''"> |
|---|
| | 3549 | <xsl:value-of select="cn"/> |
|---|
| | 3550 | </xsl:when> |
|---|
| | 3551 | <xsl:otherwise> |
|---|
| | 3552 | <xsl:value-of select="attendeeUri"/> |
|---|
| | 3553 | </xsl:otherwise> |
|---|
| | 3554 | </xsl:choose> |
|---|
| | 3555 | </a> |
|---|
| | 3556 | </td> |
|---|
| | 3557 | <td class="role"> |
|---|
| | 3558 | <xsl:value-of select="role"/> |
|---|
| | 3559 | </td> |
|---|
| | 3560 | <td class="status"> |
|---|
| | 3561 | <xsl:value-of select="partstat"/> |
|---|
| | 3562 | </td> |
|---|
| | 3563 | </tr> |
|---|
| | 3564 | </xsl:for-each> |
|---|
| | 3565 | </table> |
|---|
| | 3566 | </xsl:template> |
|---|
| | 3567 | |
|---|
| | 3568 | <xsl:template match="recipients"> |
|---|
| | 3569 | <xsl:param name="trash">yes</xsl:param> |
|---|
| | 3570 | <table id="recipients" class="widget" cellspacing="0"> |
|---|
| | 3571 | <tr> |
|---|
| | 3572 | <th colspan="2">Recipients</th> |
|---|
| | 3573 | </tr> |
|---|
| | 3574 | <tr class="subHead"> |
|---|
| | 3575 | <xsl:if test="$trash = 'yes'"><td></td></xsl:if> |
|---|
| | 3576 | <td>recipient</td> |
|---|
| | 3577 | </tr> |
|---|
| | 3578 | <xsl:for-each select="recipient"> |
|---|
| | 3579 | <xsl:variable name="recipientUri" select="."/> |
|---|
| | 3580 | <tr> |
|---|
| | 3581 | <xsl:if test="$trash = 'yes'"> |
|---|
| | 3582 | <td class="trash"> |
|---|
| | 3583 | <a href="{$event-attendeesForEvent}&uri={$recipientUri}&recipient=true&delete=true" title="remove"> |
|---|
| | 3584 | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> |
|---|
| | 3585 | </a> |
|---|
| | 3586 | </td> |
|---|
| | 3587 | </xsl:if> |
|---|
| | 3588 | <td> |
|---|
| | 3589 | <a href="{$recipientUri}"> |
|---|
| | 3590 | <xsl:value-of select="."/> |
|---|
| | 3591 | </a> |
|---|
| | 3592 | </td> |
|---|
| | 3593 | </tr> |
|---|
| | 3594 | </xsl:for-each> |
|---|
| | 3595 | </table> |
|---|
| | 3596 | </xsl:template> |
|---|
| | 3597 | |
|---|