Changeset 5418 for WAeUP_SRP/trunk/skins
- Timestamp:
- 11 Aug 2010, 05:47:43 (14 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_fceokene
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_fceokene/config_form.pt
r4693 r5418 159 159 tal:attributes="value pprops/date5" /> 160 160 </td> 161 </tr> 161 </tr> 162 <tr> 163 <th> 164 <label> 165 Enable Accommodation Booking: 166 </label> 167 </th> 168 <td> 169 <input type="checkbox" name="enable_acco_booking" id="enable_acco_booking" value="" 170 tal:attributes="value pprops/enable_acco_booking; 171 checked pprops/enable_acco_booking" /> 172 </td> 173 </tr> 162 174 163 175 </table> -
WAeUP_SRP/trunk/skins/waeup_fceokene/getAccommodationInfo.py
r4009 r5418 16 16 import DateTime 17 17 18 booking_disabled = False 18 pprops = context.portal_properties 19 booking_disabled = not pprops.enable_acco_booking 19 20 20 21 request = context.REQUEST
Note: See TracChangeset for help on using the changeset viewer.