Changeset 3595

Show
Ignore:
Timestamp:
07/24/12 12:28:24
Author:
johnsa
Message:

admin client: carry over recent UI and UX changes from default to Spanish language stylesheet

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webadmin/webapp/resources/es_ES/default/default.xsl

    r3587 r3595  
    299299                  // startdate 
    300300                  $("#bwEventWidgetStartDate").datepicker({ 
    301                     <xsl:if test="translate(/bedework/formElements/form/start/rfc3339DateTime,'-:','') = /bedework/formElements/form/xproperties/X-BEDEWORK-REGISTRATION-END/values/text">altField: "#xBwRegistrationClosesDate",</xsl:if> 
    302                     defaultDate: new Date(<xsl:value-of select="/bedework/formElements/form/start/yearText/input/@value"/>, <xsl:value-of select="number(/bedework/formElements/form/start/month/select/option[@selected = 'selected']/@value) - 1"/>, <xsl:value-of select="/bedework/formElements/form/start/day/select/option[@selected = 'selected']/@value"/>) 
     301                    <xsl:if test="/bedework/creating = 'true' or (translate(/bedework/formElements/form/start/rfc3339DateTime,'-:','') = /bedework/formElements/form/xproperties/X-BEDEWORK-REGISTRATION-END/values/text)">altField: "#xBwRegistrationClosesDate",</xsl:if><!--  
     302                 -->defaultDate: new Date(<xsl:value-of select="/bedework/formElements/form/start/yearText/input/@value"/>, <xsl:value-of select="number(/bedework/formElements/form/start/month/select/option[@selected = 'selected']/@value) - 1"/>, <xsl:value-of select="/bedework/formElements/form/start/day/select/option[@selected = 'selected']/@value"/>) 
    303303                  }).attr("readonly", "readonly"); 
    304304                  $("#bwEventWidgetStartDate").val('<xsl:value-of select="substring-before(/bedework/formElements/form/start/rfc3339DateTime,'T')"/>'); 
     
    410410            </xsl:otherwise> 
    411411          </xsl:choose> 
     412          <script type="text/javascript" src="/bedework-common/javascript/bedework/bedeworkUtil.js">&#160;</script> 
    412413          <script type="text/javascript" src="{$resourcesRoot}/resources/bedeworkEventForm.js">&#160;</script> 
    413414          <script type="text/javascript" src="/bedework-common/javascript/bedework/bedeworkXProperties.js">&#160;</script> 
     
    949950        <div id="searchFields"> 
    950951          <xsl:copy-of select="$bwStr-MMnu-Limit"/> 
    951           <input type="radio" name="searchLimits" value="fromToday" checked="checked"/><xsl:copy-of select="$bwStr-MMnu-TodayForward"/> 
    952           <input type="radio" name="searchLimits" value="beforeToday"/><xsl:copy-of select="$bwStr-MMnu-PastDates"/> 
    953           <input type="radio" name="searchLimits" value="none"/><xsl:copy-of select="$bwStr-MMnu-AddDates"/> 
     952          <input type="radio" name="searchLimits" id="bwSearchFromToday" value="fromToday" checked="checked"/> 
     953          <label for="bwSearchFromToday"> 
     954            <xsl:copy-of select="$bwStr-MMnu-TodayForward"/> 
     955          </label> 
     956          <input type="radio" name="searchLimits" id="bwSearchPastDates" value="beforeToday"/> 
     957          <label for="bwSearchPastDates"> 
     958            <xsl:copy-of select="$bwStr-MMnu-PastDates"/> 
     959          </label> 
     960          <input type="radio" name="searchLimits" id="bwSearchAllDates" value="none"/> 
     961          <label for="bwSearchAllDates"> 
     962            <xsl:copy-of select="$bwStr-MMnu-AddDates"/> 
     963          </label> 
    954964        </div> 
    955965      </form> 
     
    14301440      </xsl:choose> 
    14311441    </xsl:variable> 
    1432     <form name="eventForm" method="post" enctype="multipart/form-data" onsubmit="return validateEventForm(this);setEventFields(this,{$portalFriendly},'{$submitter}')"> 
     1442    <form name="eventForm" method="post" enctype="multipart/form-data" onsubmit="return setEventFields(this,{$portalFriendly},'{$submitter}')"> 
    14331443      <xsl:choose> 
    14341444        <xsl:when test="/bedework/page = 'modEventPending'"> 
     
    15821592              </xsl:choose> 
    15831593            </xsl:variable> 
    1584             <xsl:choose> 
    1585               <xsl:when test="form/allDay/input/@checked='checked'"> 
    1586                 <input type="checkbox" name="allDayFlag" onclick="swapAllDayEvent(this)" value="on" checked="checked"/> 
    1587                 <input type="hidden" name="eventStartDate.dateOnly" value="on" id="allDayStartDateField"/> 
    1588                 <input type="hidden" name="eventEndDate.dateOnly" value="on" id="allDayEndDateField"/> 
    1589               </xsl:when> 
    1590               <xsl:otherwise> 
    1591                 <input type="checkbox" name="allDayFlag" onclick="swapAllDayEvent(this)" value="off"/> 
    1592                 <input type="hidden" name="eventStartDate.dateOnly" value="off" id="allDayStartDateField"/> 
    1593                 <input type="hidden" name="eventEndDate.dateOnly" value="off" id="allDayEndDateField"/> 
    1594               </xsl:otherwise> 
    1595             </xsl:choose> 
    1596             <xsl:copy-of select="$bwStr-AEEF-AllDay"/> 
     1594             
     1595            <!-- All day flag --> 
     1596            <input type="checkbox" name="allDayFlag" id="allDayFlag" onclick="swapAllDayEvent(this)" value="off"> 
     1597              <xsl:if test="form/allDay/input/@checked='checked'"> 
     1598                <xsl:attribute name="checked">checked</xsl:attribute> 
     1599                <xsl:attribute name="value">on</xsl:attribute> 
     1600              </xsl:if> 
     1601            </input> 
     1602            <input type="hidden" name="eventStartDate.dateOnly" value="off" id="allDayStartDateField"> 
     1603              <xsl:if test="form/allDay/input/@checked='checked'"> 
     1604                <xsl:attribute name="value">on</xsl:attribute> 
     1605              </xsl:if> 
     1606            </input> 
     1607            <input type="hidden" name="eventEndDate.dateOnly" value="off" id="allDayEndDateField"> 
     1608              <xsl:if test="form/allDay/input/@checked='checked'"> 
     1609                <xsl:attribute name="value">on</xsl:attribute> 
     1610              </xsl:if> 
     1611            </input> 
     1612            <label for="allDayFlag"> 
     1613              <xsl:copy-of select="$bwStr-AEEF-AllDay"/> 
     1614            </label> 
    15971615 
    15981616            <!-- floating event: no timezone (and not UTC) --> 
     
    16001618                 (e.g. from import); to restore this field, remove the if  --> 
    16011619            <xsl:if test="form/floating/input/@checked='checked'"> 
    1602               <xsl:choose> 
    1603                 <xsl:when test="form/floating/input/@checked='checked'"> 
    1604                   <input type="checkbox" name="floatingFlag" id="floatingFlag" onclick="swapFloatingTime(this)" value="on" checked="checked"/> 
    1605                   <input type="hidden" name="eventStartDate.floating" value="on" id="startFloating"/> 
    1606                   <input type="hidden" name="eventEndDate.floating" value="on" id="endFloating"/> 
    1607                 </xsl:when> 
    1608                 <xsl:otherwise> 
    1609                   <input type="checkbox" name="floatingFlag" id="floatingFlag" onclick="swapFloatingTime(this)" value="off"/> 
    1610                   <input type="hidden" name="eventStartDate.floating" value="off" id="startFloating"/> 
    1611                   <input type="hidden" name="eventEndDate.floating" value="off" id="endFloating"/> 
    1612                 </xsl:otherwise> 
    1613               </xsl:choose> 
    1614               <xsl:copy-of select="$bwStr-AEEF-Floating"/> 
     1620              <input type="checkbox" name="floatingFlag" id="floatingFlag" onclick="swapFloatingTime(this)" value="off"> 
     1621                      <xsl:if test="form/floating/input/@checked='checked'"> 
     1622                        <xsl:attribute name="checked">checked</xsl:attribute> 
     1623                        <xsl:attribute name="value">on</xsl:attribute> 
     1624                      </xsl:if> 
     1625              </input> 
     1626              <input type="hidden" name="eventStartDate.floating" value="off" id="startFloating"> 
     1627                <xsl:if test="form/floating/input/@checked='checked'"> 
     1628                  <xsl:attribute name="value">on</xsl:attribute> 
     1629                </xsl:if> 
     1630              </input> 
     1631              <input type="hidden" name="eventEndDate.floating" value="off" id="endFloating"> 
     1632                <xsl:if test="form/floating/input/@checked='checked'"> 
     1633                  <xsl:attribute name="value">on</xsl:attribute> 
     1634                </xsl:if> 
     1635              </input> 
     1636              <label for="floatingFlag"> 
     1637                <xsl:copy-of select="$bwStr-AEEF-Floating"/> 
     1638              </label> 
    16151639            </xsl:if> 
    16161640 
     
    16201644                 to restore this field, remove the if --> 
    16211645            <xsl:if test="form/storeUTC/input/@checked='checked'"> 
    1622               <xsl:choose> 
    1623                 <xsl:when test="form/storeUTC/input/@checked='checked'"> 
    1624                   <input type="checkbox" name="storeUTCFlag" id="storeUTCFlag" onclick="swapStoreUTC(this)" value="on" checked="checked"/> 
    1625                   <input type="hidden" name="eventStartDate.storeUTC" value="on" id="startStoreUTC"/> 
    1626                   <input type="hidden" name="eventEndDate.storeUTC" value="on" id="endStoreUTC"/> 
    1627                 </xsl:when> 
    1628                 <xsl:otherwise> 
    1629                   <input type="checkbox" name="storeUTCFlag" id="storeUTCFlag" onclick="swapStoreUTC(this)" value="off"/> 
    1630                   <input type="hidden" name="eventStartDate.storeUTC" value="off" id="startStoreUTC"/> 
    1631                   <input type="hidden" name="eventEndDate.storeUTC" value="off" id="endStoreUTC"/> 
    1632                 </xsl:otherwise> 
    1633               </xsl:choose> 
     1646              <input type="checkbox" name="storeUTCFlag" id="storeUTCFlag" onclick="swapStoreUTC(this)" value="off"> 
     1647                <xsl:if test="form/storeUTC/input/@checked='checked'"> 
     1648                  <xsl:attribute name="checked">checked</xsl:attribute> 
     1649                  <xsl:attribute name="value">on</xsl:attribute> 
     1650                </xsl:if> 
     1651              </input> 
     1652              <input type="hidden" name="eventStartDate.storeUTC" value="off" id="startStoreUTC"> 
     1653                <xsl:if test="form/storeUTC/input/@checked='checked'"> 
     1654                  <xsl:attribute name="value">on</xsl:attribute> 
     1655                </xsl:if> 
     1656              </input> 
     1657              <input type="hidden" name="eventEndDate.storeUTC" value="off" id="endStoreUTC"> 
     1658                <xsl:if test="form/storeUTC/input/@checked='checked'"> 
     1659                  <xsl:attribute name="value">on</xsl:attribute> 
     1660                </xsl:if> 
     1661              </input> 
    16341662              <xsl:copy-of select="$bwStr-AEEF-StoreAsUTC"/> 
    16351663            </xsl:if> 
     
    17211749                </xsl:otherwise> 
    17221750              </xsl:choose> 
    1723               <xsl:copy-of select="$bwStr-AEEF-Date"/> 
     1751              <label for="bwEndDateTimeButton"> 
     1752                <xsl:copy-of select="$bwStr-AEEF-Date"/> 
     1753              </label> 
    17241754              <xsl:variable name="endDateTimeClass"> 
    17251755                <xsl:choose> 
     
    18081838                <xsl:choose> 
    18091839                  <xsl:when test="form/end/type='D'"> 
    1810                     <input type="radio" name="eventEndType" value="D" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
     1840                    <input type="radio" name="eventEndType" id="bwEndDurationButton" value="D" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
    18111841                  </xsl:when> 
    18121842                  <xsl:otherwise> 
    1813                     <input type="radio" name="eventEndType" value="D" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
     1843                    <input type="radio" name="eventEndType" id="bwEndDurationButton" value="D" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
    18141844                  </xsl:otherwise> 
    18151845                </xsl:choose> 
    1816                 <xsl:copy-of select="$bwStr-AEEF-Duration"/> 
     1846                <label for="bwEndDurationButton"> 
     1847                  <xsl:copy-of select="$bwStr-AEEF-Duration"/> 
     1848                </label> 
    18171849                <xsl:variable name="endDurationClass"> 
    18181850                  <xsl:choose> 
     
    18821914                <xsl:choose> 
    18831915                  <xsl:when test="form/end/type='N'"> 
    1884                     <input type="radio" name="eventEndType" value="N" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
     1916                    <input type="radio" name="eventEndType" id="bwEndNoneButton" value="N" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
    18851917                  </xsl:when> 
    18861918                  <xsl:otherwise> 
    1887                     <input type="radio" name="eventEndType" value="N" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
     1919                    <input type="radio" name="eventEndType" id="bwEndNoneButton" value="N" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
    18881920                  </xsl:otherwise> 
    18891921                </xsl:choose> 
    1890                 <xsl:copy-of select="$bwStr-AEEF-ThisEventHasNoDurationEndDate"/> 
     1922                <label for="bwEndNoneButton"> 
     1923                  <xsl:copy-of select="$bwStr-AEEF-ThisEventHasNoDurationEndDate"/> 
     1924                </label> 
    18911925              </div> 
    18921926            </div> 
     
    19491983                                  <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 
    19501984                                  <!-- set or remove "recurring" and show or hide all recurrence fields: --> 
    1951                                   <input type="radio" name="recurring" value="true" onclick="swapRecurrence(this)"> 
     1985                                  <input type="radio" name="recurring" id="bwRecurringOnButton" value="true" onclick="swapRecurrence(this)"> 
    19521986                                    <xsl:if test="form/recurringEntity = 'true'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    1953                                   </input><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-EventRecurs"/> 
    1954                                   <input type="radio" name="recurring" value="false" onclick="swapRecurrence(this)"> 
     1987                                  </input> 
     1988                                  <label for="bwRecurringOnButton"> 
     1989                                    <xsl:copy-of select="$bwStr-AEEF-EventRecurs"/> 
     1990                                  </label> 
     1991                                  <input type="radio" name="recurring" id="bwRecurringOffButton" value="false" onclick="swapRecurrence(this)"> 
    19551992                                    <xsl:if test="form/recurringEntity = 'false'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    1956                                   </input><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-EventDoesNotRecur"/> 
     1993                                  </input> 
     1994                                  <label for="bwRecurringOffButton"> 
     1995                                    <xsl:copy-of select="$bwStr-AEEF-EventDoesNotRecur"/> 
     1996                                  </label> 
    19571997                                </div> 
    19581998                              </xsl:when> 
     
    19852025                      <xsl:attribute name="class">invisible</xsl:attribute> 
    19862026                    </xsl:if> 
    1987                     <input type="checkbox" name="rrulesUiSwitch" value="advanced" onchange="swapVisible(this,'advancedRrules')"/> 
    1988                     <xsl:copy-of select="$bwStr-AEEF-ShowAdvancedRecurrenceRules"/> 
     2027                    <input type="checkbox" name="rrulesUiSwitch" id="bwRrulesAdvancedButton" value="advanced" onchange="swapVisible(this,'advancedRrules')"/> 
     2028                    <label for="bwRrulesAdvancedButton"> 
     2029                      <xsl:copy-of select="$bwStr-AEEF-ShowAdvancedRecurrenceRules"/> 
     2030                    </label> 
    19892031                  </span> 
    19902032 
     
    21322174                      <td id="recurrenceFrequency" rowspan="2"> 
    21332175                        <em><xsl:copy-of select="$bwStr-AEEF-Frequency"/></em><br/> 
    2134                         <input type="radio" name="freq" value="NONE" onclick="showRrules(this.value)" checked="checked"/><xsl:copy-of select="$bwStr-AEEF-None"/><br/> 
     2176                        <input type="radio" name="freq" id="bwFreqNone" value="NONE" onclick="showRrules(this.value)" checked="checked"/> 
     2177                        <label for="bwFreqNone"> 
     2178                          <xsl:copy-of select="$bwStr-AEEF-None"/> 
     2179                        </label><br/> 
    21352180                        <!--<input type="radio" name="freq" value="HOURLY" onclick="showRrules(this.value)"/>hourly<br/>--> 
    2136                         <input type="radio" name="freq" value="DAILY" onclick="showRrules(this.value)"/><xsl:copy-of select="$bwStr-AEEF-Daily"/><br/> 
    2137                         <input type="radio" name="freq" value="WEEKLY" onclick="showRrules(this.value)"/><xsl:copy-of select="$bwStr-AEEF-Weekly"/><br/> 
    2138                         <input type="radio" name="freq" value="MONTHLY" onclick="showRrules(this.value)"/><xsl:copy-of select="$bwStr-AEEF-Monthly"/><br/> 
    2139                         <input type="radio" name="freq" value="YEARLY" onclick="showRrules(this.value)"/><xsl:copy-of select="$bwStr-AEEF-Yearly"/> 
     2181                        <input type="radio" name="freq" id="bwFreqDaily" value="DAILY" onclick="showRrules(this.value)"/> 
     2182                        <label for="bwFreqDaily"> 
     2183                          <xsl:copy-of select="$bwStr-AEEF-Daily"/> 
     2184                        </label><br/> 
     2185                        <input type="radio" name="freq" id="bwFreqWeekly" value="WEEKLY" onclick="showRrules(this.value)"/> 
     2186                        <label for="bwFreqWeekly"> 
     2187                          <xsl:copy-of select="$bwStr-AEEF-Weekly"/> 
     2188                        </label><br/> 
     2189                        <input type="radio" name="freq" id="bwFreqMonthly" value="MONTHLY" onclick="showRrules(this.value)"/> 
     2190                        <label for="bwFreqMonthly"> 
     2191                          <xsl:copy-of select="$bwStr-AEEF-Monthly"/> 
     2192                        </label><br/> 
     2193                        <input type="radio" name="freq" id="bwFreqYearly" value="YEARLY" onclick="showRrules(this.value)"/> 
     2194                        <label for="bwFreqYearly"> 
     2195                          <xsl:copy-of select="$bwStr-AEEF-Yearly"/> 
     2196                        </label> 
    21402197                      </td> 
    21412198                      <!-- recurrence count, until, forever --> 
     
    25652622            <span> 
    25662623              <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 
    2567               <input type="radio" name="eventStatus" value="CONFIRMED" checked="checked"> 
     2624              <input type="radio" name="eventStatus" id="bwStatusConfirmedButton" value="CONFIRMED" checked="checked"> 
    25682625                <xsl:if test="form/status = 'CONFIRMED'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    2569               </input><xsl:copy-of select="$bwStr-AEEF-Confirmed"/> 
    2570               <input type="radio" name="eventStatus" value="TENTATIVE"> 
     2626              </input> 
     2627              <label for="bwStatusConfirmedButton"> 
     2628                <xsl:copy-of select="$bwStr-AEEF-Confirmed"/> 
     2629              </label> 
     2630              <input type="radio" name="eventStatus" id="bwStatusTentativeButton" value="TENTATIVE"> 
    25712631                <xsl:if test="form/status = 'TENTATIVE'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    2572               </input><xsl:copy-of select="$bwStr-AEEF-Tentative"/> 
    2573               <input type="radio" name="eventStatus" value="CANCELLED"> 
     2632              </input> 
     2633              <label for="bwStatusTentativeButton"> 
     2634                <xsl:copy-of select="$bwStr-AEEF-Tentative"/> 
     2635              </label> 
     2636              <input type="radio" name="eventStatus" id="bwStatusCancelledButton" value="CANCELLED"> 
    25742637                <xsl:if test="form/status = 'CANCELLED'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    2575               </input><xsl:copy-of select="$bwStr-AEEF-Canceled"/> 
     2638              </input> 
     2639              <label for="bwStatusCancelledButton"> 
     2640                <xsl:copy-of select="$bwStr-AEEF-Canceled"/> 
     2641              </label> 
    25762642            </span> 
    25772643            <xsl:if test="$canEdit = 'false'"> 
     
    27472813                   locations exist --> 
    27482814              <xsl:if test="form/location/preferred/select/option"> 
    2749                 <input type="radio" name="toggleLocationLists" value="preferred" onclick="changeClass('bwPreferredLocationList','shown');changeClass('bwAllLocationList','invisible');"> 
     2815                <input type="radio" name="toggleLocationLists" id="bwLocationPreferredButton" value="preferred" onclick="changeClass('bwPreferredLocationList','shown');changeClass('bwAllLocationList','invisible');"> 
    27502816                  <xsl:if test="form/location/preferred/select/option and not(form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected))"> 
    27512817                    <xsl:attribute name="checked">checked</xsl:attribute> 
    27522818                  </xsl:if> 
    27532819                </input> 
    2754                 <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 
    2755                 <input type="radio" name="toggleLocationLists" value="all" onclick="changeClass('bwPreferredLocationList','invisible');changeClass('bwAllLocationList','shown');"> 
     2820                <label for="bwLocationPreferredButton"> 
     2821                  <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 
     2822                </label> 
     2823                <input type="radio" name="toggleLocationLists" id="bwLocationAllButton" value="all" onclick="changeClass('bwPreferredLocationList','invisible');changeClass('bwAllLocationList','shown');"> 
    27562824                  <xsl:if test="form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected)"> 
    27572825                    <xsl:attribute name="checked">checked</xsl:attribute> 
    27582826                  </xsl:if> 
    27592827                </input> 
    2760                 <xsl:copy-of select="$bwStr-AEEF-All"/> 
     2828                <label for="bwLocationAllButton"> 
     2829                  <xsl:copy-of select="$bwStr-AEEF-All"/> 
     2830                </label> 
    27612831              </xsl:if> 
    27622832            </span> 
     
    28172887                  <option value=""> 
    28182888                    <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> 
    2819                   </option>option> 
     2889                  </option> 
    28202890                  <xsl:copy-of select="form/contact/preferred/select/*"/> 
    28212891                </select> 
     
    28342904                   contacts exist --> 
    28352905              <xsl:if test="form/contact/preferred/select/option"> 
    2836                 <input type="radio" name="toggleContactLists" value="preferred" onclick="changeClass('bwPreferredContactList','shown');changeClass('bwAllContactList','invisible');"> 
     2906                <input type="radio" name="toggleContactLists" id="bwContactPreferredButton" value="preferred" onclick="changeClass('bwPreferredContactList','shown');changeClass('bwAllContactList','invisible');"> 
    28372907                  <xsl:if test="form/contact/preferred/select/option and not(form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected))"> 
    28382908                    <xsl:attribute name="checked">checked</xsl:attribute> 
    28392909                  </xsl:if> 
    28402910                </input> 
    2841                 <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 
    2842                 <input type="radio" name="toggleContactLists" value="all" onclick="changeClass('bwPreferredContactList','invisible');changeClass('bwAllContactList','shown');"> 
     2911                <label for="bwContactPreferredButton"> 
     2912                  <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 
     2913                </label> 
     2914                <input type="radio" name="toggleContactLists" id="bwContactAllButton" value="all" onclick="changeClass('bwPreferredContactList','invisible');changeClass('bwAllContactList','shown');"> 
    28432915                  <xsl:if test="form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected)"> 
    28442916                    <xsl:attribute name="checked">checked</xsl:attribute> 
    28452917                  </xsl:if> 
    28462918                </input> 
    2847                 <xsl:copy-of select="$bwStr-AEEF-All"/> 
     2919                <label for="bwContactAllButton"> 
     2920                  <xsl:copy-of select="$bwStr-AEEF-All"/> 
     2921                </label> 
    28482922              </xsl:if> 
    28492923            </span> 
     
    36633737      </tr> 
    36643738 
    3665       <tr> 
    3666         <th> 
    3667           <xsl:copy-of select="$bwStr-DsEv-TopicalAreas"/> 
    3668         </th> 
    3669         <td> 
    3670            <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> 
    3671              <xsl:call-template name="substring-afterLastInstanceOf"> 
    3672                <xsl:with-param name="string" select="values/text"/> 
    3673                <xsl:with-param name="char">/</xsl:with-param> 
    3674              </xsl:call-template><br/> 
    3675            </xsl:for-each> 
    3676         </td> 
    3677       </tr> 
    3678  
    36793739      <!--  Description  --> 
    36803740      <tr> 
     
    36873747      </tr> 
    36883748      <!-- Cost --> 
     3749      <xsl:if test="cost and cost != ''"> 
    36893750      <tr class="optional"> 
    36903751        <th> 
     
    36953756        </td> 
    36963757      </tr> 
     3758      </xsl:if> 
     3759             
    36973760      <!-- Url --> 
    3698       <tr class="optional"> 
    3699         <th> 
    3700           <xsl:copy-of select="$bwStr-DsEv-URL"/> 
    3701         </th> 
    3702         <td> 
    3703           <xsl:variable name="eventLink" select="link"/> 
    3704           <a href="{$eventLink}"> 
    3705             <xsl:value-of select="link"/> 
    3706           </a> 
    3707         </td> 
    3708       </tr> 
     3761      <xsl:if test="link and link != ''"> 
     3762        <tr class="optional"> 
     3763          <th> 
     3764            <xsl:copy-of select="$bwStr-DsEv-URL"/> 
     3765          </th> 
     3766          <td> 
     3767            <xsl:variable name="eventLink" select="link"/> 
     3768            <a href="{$eventLink}"> 
     3769              <xsl:value-of select="link"/> 
     3770            </a> 
     3771          </td> 
     3772        </tr> 
     3773          </xsl:if> 
    37093774 
    37103775      <!-- Location --> 
     
    37653830      </tr> 
    37663831 
     3832      <tr> 
     3833        <th> 
     3834          <xsl:copy-of select="$bwStr-DsEv-TopicalAreas"/> 
     3835        </th> 
     3836        <td> 
     3837           <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> 
     3838             <xsl:sort order="ascending" select="parameters/X-BEDEWORK-PARAM-DISPLAYNAME"/> 
     3839             <xsl:value-of select="parameters/X-BEDEWORK-PARAM-DISPLAYNAME"/><br/> 
     3840           </xsl:for-each> 
     3841        </td> 
     3842      </tr> 
     3843 
    37673844      <!--  Categories  --> 
    37683845      <tr> 
     
    37723849        <td> 
    37733850          <xsl:for-each select="categories/category"> 
    3774             <xsl:value-of select="word"/><br/> 
     3851            <xsl:sort order="ascending" select="value"/> 
     3852            <xsl:value-of select="value"/><br/> 
    37753853          </xsl:for-each> 
    37763854        </td>