test variety session edit form
This commit is contained in:
@@ -438,16 +438,16 @@ function booking_menu() {
|
||||
'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),
|
||||
'page arguments' => array('booking_variety_create_session_form', TRUE, 4),
|
||||
'access arguments' => array('access administration pages'),
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
$items['admin/config/booking/variety/session/%/edit'] = array(
|
||||
$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', 5),
|
||||
'page arguments' => array('booking_variety_edit_session_form', FALSE, 4, 6),
|
||||
'access arguments' => array('access administration pages'),
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
@@ -633,7 +633,7 @@ function booking_menu() {
|
||||
$items['admin/config/booking/rooms/%/edit'] = array(
|
||||
'title' => 'Edit Room Definition',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_rooms_definition_form', false, 4),
|
||||
'page arguments' => array('booking_rooms_definition_form', false, 4),
|
||||
'access arguments' => array('administer site configuration'),
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
Reference in New Issue
Block a user