Form for adding variety session to timeslot
This commit is contained in:
@@ -310,23 +310,49 @@ function booking_menu() {
|
||||
);
|
||||
|
||||
$items['admin/config/booking/variety/create'] = array(
|
||||
'title' => 'Add New Variety Session',
|
||||
'description' => 'Add variety session for the Booking module',
|
||||
'title' => 'Add New Variety Session Timeslot',
|
||||
'description' => 'Add variety session timeslot for the Booking module',
|
||||
'page callback' => 'drupal_get_form',
|
||||
//'page arguments' => array('booking_price_create'),
|
||||
'page arguments' => array('booking_variety_form', true),
|
||||
'page arguments' => array('booking_variety_timeslot_form', true),
|
||||
'access arguments' => array('access administration pages'),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
|
||||
$items['admin/config/booking/variety/%/edit'] = array(
|
||||
'title' => 'Edit Variety Session',
|
||||
'title' => 'Edit Variety Session Timeslot',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_variety_form', false, 4),
|
||||
'page arguments' => array('booking_variety_timeslot_form', false, 4),
|
||||
'access arguments' => array('access administration pages'),
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
$items['admin/config/booking/variety/%/session/list'] = array(
|
||||
'title' => 'List Variety Sessions',
|
||||
'description' => 'List variety sessions for the specified timeslot',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_variety_list_session_form', 4),
|
||||
'access arguments' => array('access administration pages'),
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
$items['admin/config/booking/variety/%/session/create'] = array(
|
||||
'title' => 'Add New Variety Session',
|
||||
'description' => 'Add variety session to the specified timeslot',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_variety_create_session_form', 4),
|
||||
'access arguments' => array('access administration pages'),
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
$items['admin/config/booking/variety/%/session/edit'] = array(
|
||||
'title' => 'Edit Variety Session',
|
||||
'description' => 'Edit variety session for the specified timeslot',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_variety_edit_session_form', 4),
|
||||
'access arguments' => array('access administration pages'),
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
//the paypal IPN
|
||||
$items[BOOKING_PAYPAL_IPN_PATH] = array(
|
||||
|
Reference in New Issue
Block a user