Changeset 1084
- Timestamp:
- 11/12/06 23:09:26
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r1083 r1084 935 935 or Location (all): 936 936 </xsl:if> 937 <select name=" locationId" id="eventFormLocationList">937 <select name="allLocationId" id="eventFormLocationList"> 938 938 <option value="-1"> 939 939 Select: … … 994 994 or Contact (all): 995 995 </xsl:if> 996 <select name=" sponsorId" id="eventFormPrefSponsorList">996 <select name="allSponsorId" id="eventFormPrefSponsorList"> 997 997 <option value="-1"> 998 998 Select: trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1079 r1084 78 78 <xsl:variable name="event-showAttendeesForEvent" select="/bedework/urlPrefixes/event/showAttendeesForEvent/a/@href"/> 79 79 <xsl:variable name="editEvent" select="/bedework/urlPrefixes/editEvent"/> 80 <xsl:variable name="updateEvent" select="/bedework/urlPrefixes/updateEvent"/> 80 81 <xsl:variable name="delEvent" select="/bedework/urlPrefixes/delEvent"/> 81 82 <xsl:variable name="addEventRef" select="/bedework/urlPrefixes/addEventRef"/> … … 86 87 <xsl:variable name="showPage" select="/bedework/urlPrefixes/showPage"/> 87 88 <xsl:variable name="manageLocations" select="/bedework/urlPrefixes/manageLocations"/> 88 <xsl:variable name=" addLocation" select="/bedework/urlPrefixes/addLocation"/>89 <xsl:variable name=" editLocation" select="/bedework/urlPrefixes/editLocation"/>89 <xsl:variable name="fetchLocationForUpdate" select="/bedework/urlPrefixes/fetchLocationForUpdate"/> 90 <xsl:variable name="updateLocation" select="/bedework/urlPrefixes/updateLocation"/> 90 91 <xsl:variable name="delLocation" select="/bedework/urlPrefixes/delLocation"/> 91 92 <xsl:variable name="initEventAlarm" select="/bedework/urlPrefixes/initEventAlarm"/> … … 1849 1850 <span class="std-text">choose: </span> 1850 1851 <span id="eventFormLocationList"> 1851 <select name="location Id">1852 <select name="locationUid"> 1852 1853 <option value="-1">select...</option> 1853 1854 <xsl:copy-of select="/bedework/formElements/form/location/locationmenu/select/*"/> … … 1855 1856 </span> 1856 1857 <span class="std-text"> or add new: </span> 1857 <input type="text" name=" newLocation.address" value="" />1858 <input type="text" name="locationAddress.value" value="" /> 1858 1859 </td> 1859 1860 </tr> … … 2049 2050 <!-- The name "eventForm" is referenced by several javascript functions. Do not 2050 2051 change it without modifying includes.js --> 2051 <form name="eventForm" method="post" action="{$editEvent}" id="standardForm"> 2052 <input type="hidden" name="updateEvent" value="true"/> 2052 <form name="eventForm" method="post" action="{$updateEvent}" id="standardForm"> 2053 2053 <input type="hidden" name="confirmationid" value="{$confId}"/> 2054 2054 <input type="hidden" name="endType" value="date"/> … … 2304 2304 <xsl:choose> 2305 2305 <xsl:when test="form/status = 'TENTATIVE'"> 2306 <input type="radio" name="e ditEvent.status" value="CONFIRMED"/>confirmed <input type="radio" name="editEvent.status" value="TENTATIVE" checked="checked"/>tentative <input type="radio" name="editEvent.status" value="CANCELLED"/>cancelled2306 <input type="radio" name="event.status" value="CONFIRMED"/>confirmed <input type="radio" name="edvent.status" value="TENTATIVE" checked="checked"/>tentative <input type="radio" name="event.status" value="CANCELLED"/>cancelled 2307 2307 </xsl:when> 2308 2308 <xsl:when test="form/status = 'CANCELLED'"> 2309 <input type="radio" name="e ditEvent.status" value="CONFIRMED"/>confirmed <input type="radio" name="editEvent.status" value="TENTATIVE"/>tentative <input type="radio" name="editEvent.status" value="CANCELLED" checked="checked"/>cancelled2309 <input type="radio" name="event.status" value="CONFIRMED"/>confirmed <input type="radio" name="event.status" value="TENTATIVE"/>tentative <input type="radio" name="event.status" value="CANCELLED" checked="checked"/>cancelled 2310 2310 </xsl:when> 2311 2311 <xsl:otherwise> 2312 <input type="radio" name="e ditEvent.status" value="CONFIRMED" checked="checked"/>confirmed <input type="radio" name="editEvent.status" value="TENTATIVE"/>tentative <input type="radio" name="editEvent.status" value="CANCELLED"/>cancelled2312 <input type="radio" name="event.status" value="CONFIRMED" checked="checked"/>confirmed <input type="radio" name="event.status" value="TENTATIVE"/>tentative <input type="radio" name="event.status" value="CANCELLED"/>cancelled 2313 2313 </xsl:otherwise> 2314 2314 </xsl:choose> … … 2323 2323 <xsl:choose> 2324 2324 <xsl:when test="form/transparency = 'TRANSPARENT'"> 2325 <input type="radio" name="e ditEvent.transparency" value="OPAQUE"/>yes <span class="note">(opaque: event status affects your free/busy)</span><br/>2326 <input type="radio" name="e ditEvent.transparency" value="TRANSPARENT" checked="checked"/>no <span class="note">(transparent: event status does not affect your free/busy)</span>2325 <input type="radio" name="event.transparency" value="OPAQUE"/>yes <span class="note">(opaque: event status affects your free/busy)</span><br/> 2326 <input type="radio" name="event.transparency" value="TRANSPARENT" checked="checked"/>no <span class="note">(transparent: event status does not affect your free/busy)</span> 2327 2327 </xsl:when> 2328 2328 <xsl:otherwise> 2329 <input type="radio" name="e ditEvent.transparency" value="OPAQUE" checked="checked"/>yes <span class="note">(opaque: event status affects your free/busy)</span><br/>2330 <input type="radio" name="e ditEvent.transparency" value="TRANSPARENT"/>no <span class="note">(transparent: event status does not affect your free/busy)</span>2329 <input type="radio" name="event.transparency" value="OPAQUE" checked="checked"/>yes <span class="note">(opaque: event status affects your free/busy)</span><br/> 2330 <input type="radio" name="event.transparency" value="TRANSPARENT"/>no <span class="note">(transparent: event status does not affect your free/busy)</span> 2331 2331 </xsl:otherwise> 2332 2332 </xsl:choose> … … 2347 2347 <span class="std-text">choose: </span> 2348 2348 <span id="eventFormLocationList"> 2349 <select name="eventLocation Id">2349 <select name="eventLocationUid"> 2350 2350 <option value="-1">select...</option> 2351 2351 <xsl:copy-of select="/bedework/formElements/form/location/locationmenu/select/*"/> … … 2353 2353 </span> 2354 2354 <span class="std-text"> or add new: </span> 2355 <input type="text" name="l address" value="" />2355 <input type="text" name="locationAddress.value" value="" /> 2356 2356 </td> 2357 2357 </tr> … … 2360 2360 <td class="fieldval"> 2361 2361 <xsl:variable name="link" select="form/link/input/@value"/> 2362 <input type="text" name="e ditEvent.link" size="80" value="{$link}"/>2362 <input type="text" name="event.link" size="80" value="{$link}"/> 2363 2363 </td> 2364 2364 </tr> … … 4115 4115 <!--==== MANAGE LOCATIONS ====--> 4116 4116 <xsl:template name="manageLocations"> 4117 <form name="addLocationForm" method="post" action="{$ addLocation}" id="standardForm">4117 <form name="addLocationForm" method="post" action="{$updateLocation}" id="standardForm"> 4118 4118 <input type="hidden" name="confirmationid" value="{$confId}"/> 4119 4119 <h2>Manage Locations</h2> … … 4127 4127 </td> 4128 4128 <td> 4129 <input size="60" name=" newLocation.address" type="text"/>4129 <input size="60" name="locationAddress.value" type="text"/> 4130 4130 </td> 4131 4131 </tr> … … 4135 4135 </td> 4136 4136 <td> 4137 <input size="60" name=" newLocation.subaddress" type="text"/>4137 <input size="60" name="locationSubaddress.value" type="text"/> 4138 4138 </td> 4139 4139 </tr> … … 4143 4143 </td> 4144 4144 <td> 4145 <input size="60" name=" newLocation.link" type="text"/>4145 <input size="60" name="location.link" type="text"/> 4146 4146 </td> 4147 4147 </tr> … … 4162 4162 <!--==== EDIT LOCATION ====--> 4163 4163 <xsl:template match="formElements" mode="editLocation"> 4164 <form name="editLocationForm" method="post" action="{$ editLocation}" id="standardForm">4164 <form name="editLocationForm" method="post" action="{$updateLocation}" id="standardForm"> 4165 4165 <input type="hidden" name="updateLocation" value="true"/> 4166 4166 <input type="hidden" name="confirmationid" value="{$confId}"/> … … 4178 4178 <td align="left"> 4179 4179 <xsl:variable name="addr" select="form/address/input/@value"/> 4180 <input size="60" name=" editLocation.address" value="{$addr}" type="text"/>4180 <input size="60" name="locationAddress.value" value="{$addr}" type="text"/> 4181 4181 </td> 4182 4182 </tr> … … 4187 4187 <td align="left"> 4188 4188 <xsl:variable name="subaddr" select="form/subaddress/textarea"/> 4189 <input size="60" name=" editLocation.subaddress" value="{$subaddr}" type="text"/>4189 <input size="60" name="locationSubaddress.value" value="{$subaddr}" type="text"/> 4190 4190 </td> 4191 4191 </tr> … … 4196 4196 <td> 4197 4197 <xsl:variable name="link" select="form/link/input/@value"/> 4198 <input size="60" name=" editLocation.link" value="{$link}" type="text"/>4198 <input size="60" name="location.link" value="{$link}" type="text"/> 4199 4199 </td> 4200 4200 </tr> … … 4208 4208 </td> 4209 4209 <td align="right"> 4210 <xsl:variable name=" locId" select="form/id"/>4211 <a href="{$delLocation}& locationId={$locId}">4210 <xsl:variable name="uid" select="form/uid"/> 4211 <a href="{$delLocation}&uid={$uid}"> 4212 4212 <input type="button" name="delete" value="Delete Location"/> 4213 4213 </a> … … 4227 4227 <td colspan="2" class="plain"> 4228 4228 <ul> 4229 <xsl:for-each select="/bedework/formElements/form/location menu/select/option[@value>'3']">4229 <xsl:for-each select="/bedework/formElements/form/locations/location"> 4230 4230 <xsl:sort select="."/> 4231 4231 <li> 4232 <xsl:variable name=" locationId" select="@value"/>4233 <a href="{$ editLocation}&locationId={$locationId}"><xsl:value-of select="."/></a>4232 <xsl:variable name="uid" select="uid"/> 4233 <a href="{$fetchLocationForUpdate}&uid={$uid}"><xsl:value-of select="address"/></a> 4234 4234 </li> 4235 4235 </xsl:for-each> … … 4610 4610 <span class="std-text">choose: </span> 4611 4611 <span id="eventFormLocationList"> 4612 <select name="eventLocation Id">4612 <select name="eventLocationUid"> 4613 4613 <option value="-1">select...</option> 4614 4614 <xsl:copy-of select="/bedework/formElements/form/location/locationmenu/select/*"/> … … 4616 4616 </span> 4617 4617 <span class="std-text"> or add new: </span> 4618 <input type="text" name="l address" value="" />4618 <input type="text" name="locationAddress.value" value="" /> 4619 4619 </div> 4620 4620 </td>
