| 4547 | | <form name="bwHideDisplayCal" class="bwHideDisplayCal" method="post"> |
|---|
| 4548 | | <xsl:attribute name="action"> |
|---|
| | 4547 | <xsl:if test="currentAccess/current-user-privilege-set/privilege/write-properties"> |
|---|
| | 4548 | <form name="bwHideDisplayCal" class="bwHideDisplayCal" method="post"> |
|---|
| | 4549 | <xsl:attribute name="action"> |
|---|
| | 4550 | <xsl:choose> |
|---|
| | 4551 | <xsl:when test="/bedework/page = 'eventList'"><xsl:value-of select="$calendar-setPropsInList"/></xsl:when> |
|---|
| | 4552 | <xsl:otherwise><xsl:value-of select="$calendar-setPropsInGrid"/></xsl:otherwise> |
|---|
| | 4553 | </xsl:choose> |
|---|
| | 4554 | </xsl:attribute> |
|---|
| | 4555 | <input type="hidden" name="calPath"> |
|---|
| | 4556 | <xsl:attribute name="value"><xsl:value-of select="path"/></xsl:attribute> |
|---|
| | 4557 | </input> |
|---|
| 4550 | | <xsl:when test="/bedework/page = 'eventList'"><xsl:value-of select="$calendar-setPropsInList"/></xsl:when> |
|---|
| 4551 | | <xsl:otherwise><xsl:value-of select="$calendar-setPropsInGrid"/></xsl:otherwise> |
|---|
| | 4559 | <xsl:when test="display = 'true'"> |
|---|
| | 4560 | <!-- set the value of display to false so that when the form is submitted we toggle --> |
|---|
| | 4561 | <input type="hidden" name="display" value="false"/> |
|---|
| | 4562 | <input type="checkbox" name="bwDisplaySetter" checked="checked" onclick="this.form.submit()"> |
|---|
| | 4563 | <xsl:if test="/bedework/page != 'eventscalendar' and /bedework/page != 'eventList'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> |
|---|
| | 4564 | </input> |
|---|
| | 4565 | </xsl:when> |
|---|
| | 4566 | <xsl:otherwise> |
|---|
| | 4567 | <!-- set the value of display to true so that when the form is submitted we toggle --> |
|---|
| | 4568 | <input type="hidden" name="display" value="true"/> |
|---|
| | 4569 | <input type="checkbox" name="bwDisplaySetter" onclick="this.form.submit()"> |
|---|
| | 4570 | <xsl:if test="/bedework/page != 'eventscalendar' and /bedework/page != 'eventList'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> |
|---|
| | 4571 | </input> |
|---|
| | 4572 | </xsl:otherwise> |
|---|
| 4553 | | </xsl:attribute> |
|---|
| 4554 | | <input type="hidden" name="calPath"> |
|---|
| 4555 | | <xsl:attribute name="value"><xsl:value-of select="path"/></xsl:attribute> |
|---|
| 4556 | | </input> |
|---|
| 4557 | | <xsl:choose> |
|---|
| 4558 | | <xsl:when test="display = 'true'"> |
|---|
| 4559 | | <!-- set the value of display to false so that when the form is submitted we toggle --> |
|---|
| 4560 | | <input type="hidden" name="display" value="false"/> |
|---|
| 4561 | | <input type="checkbox" name="bwDisplaySetter" checked="checked" onclick="this.form.submit()"> |
|---|
| 4562 | | <xsl:if test="/bedework/page != 'eventscalendar' and /bedework/page != 'eventList'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> |
|---|
| 4563 | | </input> |
|---|
| 4564 | | </xsl:when> |
|---|
| 4565 | | <xsl:otherwise> |
|---|
| 4566 | | <!-- set the value of display to true so that when the form is submitted we toggle --> |
|---|
| 4567 | | <input type="hidden" name="display" value="true"/> |
|---|
| 4568 | | <input type="checkbox" name="bwDisplaySetter" onclick="this.form.submit()"> |
|---|
| 4569 | | <xsl:if test="/bedework/page != 'eventscalendar' and /bedework/page != 'eventList'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> |
|---|
| 4570 | | </input> |
|---|
| 4571 | | </xsl:otherwise> |
|---|
| 4572 | | </xsl:choose> |
|---|
| 4573 | | </form> |
|---|
| 4574 | | <xsl:text> </xsl:text> |
|---|
| | 4574 | </form> |
|---|
| | 4575 | <xsl:text> </xsl:text> |
|---|
| | 4576 | </xsl:if> |
|---|