Changeset 5177 for WAeUP_SRP/trunk/skins
- Timestamp:
- 29 Apr 2010, 10:56:41 (15 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/cps_custom/reconfig.py
r4098 r5177 25 25 date5=form.get('date5'), 26 26 date6=form.get('date6'), 27 enable_acco_booking=form.get('enable_acco_booking'), 28 enable_payment=form.get('enable_payment'), 27 29 ) 28 30 -
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationInfo.py
r4196 r5177 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 -
WAeUP_SRP/trunk/skins/waeup_uniben/config_form.pt
r5165 r5177 173 173 </td> 174 174 </tr> 175 175 <tr> 176 <th> 177 <label> 178 Enable Accommodation Booking: 179 </label> 180 </th> 181 <td> 182 <input type="checkbox" name="enable_acco_booking" id="enable_acco_booking" value="" 183 tal:attributes="value pprops/enable_acco_booking; 184 checked pprops/enable_acco_booking" /> 185 </td> 186 </tr> 187 <tr> 188 <th> 189 <label> 190 Enable Payment: 191 </label> 192 </th> 193 <td> 194 <input type="checkbox" name="enable_payment" id="enable_payment" value="" 195 tal:attributes="value pprops/enable_payment; 196 checked pprops/enable_payment" /> 197 </td> 198 </tr> 176 199 </table> 177 200 <p>
Note: See TracChangeset for help on using the changeset viewer.