change path for variety session admin pages
This commit is contained in:
@@ -392,16 +392,16 @@ function booking_menu() {
|
|||||||
'type' => MENU_NORMAL_ITEM,
|
'type' => MENU_NORMAL_ITEM,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/variety'] = array(
|
$items['admin/booking/variety'] = array(
|
||||||
'title' => 'Booking module variety sessions',
|
'title' => 'Booking module variety sessions',
|
||||||
'description' => 'Configure variety sessions for the Booking module',
|
'description' => 'View variety sessions for the Booking module',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_variety_admin'),
|
'page arguments' => array('booking_variety_admin'),
|
||||||
'access arguments' => array('edit variety sessions'),
|
'access arguments' => array('edit variety sessions'),
|
||||||
'type' => MENU_NORMAL_ITEM,
|
'type' => MENU_NORMAL_ITEM,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/variety/create'] = array(
|
$items['admin/booking/variety/create'] = array(
|
||||||
'title' => 'Add New Variety Session Timeslot',
|
'title' => 'Add New Variety Session Timeslot',
|
||||||
'description' => 'Add variety session timeslot for the Booking module',
|
'description' => 'Add variety session timeslot for the Booking module',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
@@ -411,7 +411,7 @@ function booking_menu() {
|
|||||||
'type' => MENU_LOCAL_ACTION,
|
'type' => MENU_LOCAL_ACTION,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/variety/report'] = array(
|
$items['admin/booking/variety/report'] = array(
|
||||||
'title' => 'View Variety Session Registrations',
|
'title' => 'View Variety Session Registrations',
|
||||||
'description' => 'View Variety Session Registrations for the Booking module',
|
'description' => 'View Variety Session Registrations for the Booking module',
|
||||||
'page callback' => 'booking_variety_sessions_view_summary',
|
'page callback' => 'booking_variety_sessions_view_summary',
|
||||||
@@ -419,54 +419,54 @@ function booking_menu() {
|
|||||||
'type' => MENU_LOCAL_ACTION,
|
'type' => MENU_LOCAL_ACTION,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/variety/%/edit'] = array(
|
$items['admin/booking/variety/%/edit'] = array(
|
||||||
'title' => 'Edit Variety Session Timeslot',
|
'title' => 'Edit Variety Session Timeslot',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_variety_timeslot_form', false, 4),
|
'page arguments' => array('booking_variety_timeslot_form', false, 3),
|
||||||
'access arguments' => array('edit variety sessions'),
|
'access arguments' => array('edit variety sessions'),
|
||||||
'type' => MENU_CALLBACK,
|
'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/variety/%/csv'] = array(
|
$items['admin/booking/variety/%/csv'] = array(
|
||||||
'title' => 'Variety Session CSV',
|
'title' => 'Variety Session CSV',
|
||||||
'description' => 'CSV Report of Variety Session Timeslot',
|
'description' => 'CSV Report of Variety Session Timeslot',
|
||||||
'page callback' => 'booking_varietysessions_csv_report',
|
'page callback' => 'booking_varietysessions_csv_report',
|
||||||
'access arguments' => array('view variety sessions'),
|
'access arguments' => array('view variety sessions'),
|
||||||
'page arguments' => array(4),
|
'page arguments' => array(3),
|
||||||
//'type' => MENU_CALLBACK,
|
//'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/variety/%/session/list'] = array(
|
$items['admin/booking/variety/%/session/list'] = array(
|
||||||
'title' => 'List Variety Sessions',
|
'title' => 'List Variety Sessions',
|
||||||
'description' => 'List variety sessions for the specified timeslot',
|
'description' => 'List variety sessions for the specified timeslot',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_variety_list_session_form', 4),
|
'page arguments' => array('booking_variety_list_session_form', 3),
|
||||||
'access arguments' => array('view variety sessions'),
|
'access arguments' => array('view variety sessions'),
|
||||||
'type' => MENU_CALLBACK,
|
'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/variety/%/session/create'] = array(
|
$items['admin/booking/variety/%/session/create'] = array(
|
||||||
'title' => 'Add New Variety Session',
|
'title' => 'Add New Variety Session',
|
||||||
'description' => 'Add variety session to the specified timeslot',
|
'description' => 'Add variety session to the specified timeslot',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_variety_create_session_form', TRUE, 4),
|
'page arguments' => array('booking_variety_create_session_form', TRUE, 3),
|
||||||
'access arguments' => array('edit variety sessions'),
|
'access arguments' => array('edit variety sessions'),
|
||||||
'type' => MENU_CALLBACK,
|
'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/variety/%/session/%/edit'] = array(
|
$items['admin/booking/variety/%/session/%/edit'] = array(
|
||||||
'title' => 'Edit Variety Session',
|
'title' => 'Edit Variety Session',
|
||||||
'description' => 'Edit variety session for the specified timeslot',
|
'description' => 'Edit variety session for the specified timeslot',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_variety_create_session_form', FALSE, 4, 6),
|
'page arguments' => array('booking_variety_create_session_form', FALSE, 3, 5),
|
||||||
'access arguments' => array('edit variety sessions'),
|
'access arguments' => array('edit variety sessions'),
|
||||||
'type' => MENU_CALLBACK,
|
'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/variety/registration/%/edit'] = array(
|
$items['admin/booking/variety/registration/%/edit'] = array(
|
||||||
'title' => 'Edit Variety Session Registration',
|
'title' => 'Edit Variety Session Registration',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_variety_regn_edit_form', 5),
|
'page arguments' => array('booking_variety_regn_edit_form', 4),
|
||||||
'access arguments' => array('edit variety sessions'),
|
'access arguments' => array('edit variety sessions'),
|
||||||
'type' => MENU_CALLBACK,
|
'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user