User: larowlan Branch: DRUPAL-6--2 Date: Fri, 02 Jul 2010 09:40:02 +0000 Added files: /modules/uc_hotel/hotel_booking/css hotel_booking_block.css hotel_booking_calendars.css hotel_booking_search.css /modules/uc_hotel/hotel_booking hotel_booking.admin.inc hotel_booking.ca.inc hotel_booking.calendars.inc hotel_booking.panes.inc hotel_booking.room_type.inc hotel_booking.theme.inc hotel_booking.token.inc hotel_booking.ubercart.inc hotel_booking.util.inc hotel_booking.views.inc hotel_booking_availability_key.tpl.php hotel_booking_calendar_cell.tpl.php hotel_booking_calendar_cell_price.tpl.php hotel_booking_calendar_cell_tip.tpl.php hotel_booking_search_form.tpl.php hotel_booking_search_result_price.tpl.php hotel_booking_search_results.tpl.php /modules/uc_hotel/hotel_booking/images suitcase-oxygen-refit-gpl.png /modules/uc_hotel/hotel_booking/views hotel_booking_handler_field_from_price.inc Removed files: /modules/uc_hotel/hotel_booking/css hotel_block.css hotel_search_results.css /modules/uc_hotel/hotel_booking hotel_booking_admin.inc /modules/uc_hotel/hotel_calendars/css hotel_calendars.css /modules/uc_hotel/hotel_calendars hotel_calendars.info hotel_calendars.module /modules/uc_hotel/hotel_calendars/js calTip.css calTip.js /modules/uc_hotel/hotel_room_type hotel_room_type.info hotel_room_type.install hotel_room_type.module Modified files: /modules/uc_hotel CHANGELOG.txt /modules/uc_hotel/hotel_booking hotel_booking.info hotel_booking.install hotel_booking.module /modules/uc_hotel/hotel_booking/js hotel_booking.js Log message: hotel_room_type and hotel_calendars rolled into hotel_booking (you can�t have one without the others). All forms go via Forms API (no more x_x_x_x args etc) � hence other modules can modify the form and also the search results using hook_form_alter etc and the admin forms now receive complete token protection. Available rooms in the search results fetched via one query. Significant tuning of search results logic, e.g. prices are fetched in one query, not one query for every node for every date, with abstraction to utility functions for other modules to reuse. Occupancy modifiers are now applied via a hook system, other modules can define their own modifiers (keep an eye out for monthly, weekly pricing and long-term stay discounts � to be released soon). More use of core apis like drupal_write_record and menu object loaders. Complete rewrite of database structure to use more consistent naming conventions. All markup comes from theme functions and templates. Templates for calendars, search results, availability keys, tooltips, prices in calendars etc etc. Removed external tooltip library to utilise Drupal module beauty tips instead (optional � not required if not using tips). Book now form in node pages. Template for nodes: calendars, booking form etc available as variables in templates via config options. Weight of calendar, book now fields can be reordered from cck field admin screens (if not using template variables) Some views integration for room nodes Links: http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/CHANGELOG... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_hotel/hotel_boo...