/[drupal]/contributions/modules/booking_timeslots/booking_timeslots.module
ViewVC logotype

Diff of /contributions/modules/booking_timeslots/booking_timeslots.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.8, Wed May 20 11:42:10 2009 UTC revision 1.1.2.9, Mon Jun 1 10:10:22 2009 UTC
# Line 5  Line 5 
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>
# Line 93  function booking_timeslots_form_alter(&$ Line 93  function booking_timeslots_form_alter(&$
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      }      }
# Line 114  function booking_timeslots_validate($for Line 114  function booking_timeslots_validate($for
114    /* TODO */    /* TODO */
115  }  }
116    
   

Legend:
Removed from v.1.1.2.8  
changed lines
  Added in v.1.1.2.9

  ViewVC Help
Powered by ViewVC 1.1.2