| 5 |
* Allows users to select an available calendar time slot to book. |
* Allows users to select an available calendar time slot to book. |
| 6 |
* |
* |
| 7 |
* @version |
* @version |
| 8 |
* $Id: booking_timeslots.module,v 1.1.2.7 2009/05/18 13:50:14 kenorb Exp $ |
* $Id: booking_timeslots.module,v 1.1.2.8 2009/05/20 11:42:10 kenorb Exp $ |
| 9 |
* |
* |
| 10 |
* @developers |
* @developers |
| 11 |
* Rafal Wieczorek <kenorb@gmail.com> |
* Rafal Wieczorek <kenorb@gmail.com> |
| 93 |
$date_after = booking_timeslots_add_time($datetime, array('hour' => variable_get('booking_timeslot_interval_hours', 1), 'minute' => variable_get('booking_timeslot_interval_minutes', 30))); |
$date_after = booking_timeslots_add_time($datetime, array('hour' => variable_get('booking_timeslot_interval_hours', 1), 'minute' => variable_get('booking_timeslot_interval_minutes', 30))); |
| 94 |
$form[$fieldname][0]['#default_value']['value2'] = $date_after; |
$form[$fieldname][0]['#default_value']['value2'] = $date_after; |
| 95 |
} |
} |
| 96 |
$form['#validate'] = array('booking_timeslots_validate'); |
$form['#validate'][] = 'booking_timeslots_validate'; |
| 97 |
} |
} |
| 98 |
} |
} |
| 99 |
} |
} |
| 114 |
/* TODO */ |
/* TODO */ |
| 115 |
} |
} |
| 116 |
|
|
|
|
|