fix callback
This commit is contained in:
@@ -250,20 +250,20 @@ function booking_menu() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
//pages for attendees to fill out information
|
//pages for attendees to fill out information
|
||||||
$items['booking'] = array(
|
$items['booking'] = array(
|
||||||
'title' => $bookingTitle . ' Booking Form',
|
'title' => $bookingTitle . ' Booking Form',
|
||||||
'page callback' => 'booking_register_page',
|
'page callback' => 'booking_register_page',
|
||||||
'access arguments' => array('access booking form'),
|
'access arguments' => array('access booking form'),
|
||||||
'type' => MENU_NORMAL_ITEM,
|
'type' => MENU_NORMAL_ITEM,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['bookingfinal'] = array(
|
$items['bookingfinal'] = array(
|
||||||
'title' => $bookingTitle . ' Registration Completed',
|
'title' => $bookingTitle . ' Registration Completed',
|
||||||
'page callback' => 'booking_payment_completed_page',
|
'page callback' => 'booking_payment_completed_page',
|
||||||
'access arguments' => array('access booking form'),
|
'access arguments' => array('access booking form'),
|
||||||
'type' => MENU_CALLBACK,
|
'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
$items['confirm/%'] = array(
|
$items['confirm/%'] = array(
|
||||||
'title' => 'Booking Payment',
|
'title' => 'Booking Payment',
|
||||||
'page callback' => 'booking_confirm_page',
|
'page callback' => 'booking_confirm_page',
|
||||||
'page arguments' => array(3), //include the temporary id
|
'page arguments' => array(3), //include the temporary id
|
||||||
@@ -271,7 +271,7 @@ function booking_menu() {
|
|||||||
'type' => MENU_CALLBACK,
|
'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['balance/%'] = array(
|
$items['balance/%'] = array(
|
||||||
'title' => 'Registration Final Payment',
|
'title' => 'Registration Final Payment',
|
||||||
'page callback' => 'booking_balance_page',
|
'page callback' => 'booking_balance_page',
|
||||||
'page arguments' => array(3), //include the temporary id
|
'page arguments' => array(3), //include the temporary id
|
||||||
@@ -279,7 +279,7 @@ function booking_menu() {
|
|||||||
'type' => MENU_CALLBACK,
|
'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['partpay/%/%'] = array(
|
$items['partpay/%/%'] = array(
|
||||||
'title' => 'Registration Partial Payment',
|
'title' => 'Registration Partial Payment',
|
||||||
'page callback' => 'booking_partial_balance_page',
|
'page callback' => 'booking_partial_balance_page',
|
||||||
'page arguments' => array(4), //include the temporary id and the amount
|
'page arguments' => array(4), //include the temporary id and the amount
|
||||||
@@ -287,19 +287,19 @@ function booking_menu() {
|
|||||||
'type' => MENU_CALLBACK,
|
'type' => MENU_CALLBACK,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['travel/%'] = array(
|
$items['travel/%'] = array(
|
||||||
'title' => 'Travel Details Page',
|
'title' => 'Travel Details Page',
|
||||||
'page callback' => 'booking_travel_page',
|
'page callback' => 'booking_travel_page',
|
||||||
'page arguments' => array(3), //include the temporary id
|
'page arguments' => array(3), //include the temporary id
|
||||||
'access arguments' => array('access booking form'),
|
'access arguments' => array('access booking form'),
|
||||||
'type' => MENU_SUGGESTED_ITEM,
|
'type' => MENU_SUGGESTED_ITEM,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['coming'] = array(
|
$items['coming'] = array(
|
||||||
'title' => "Who's Coming?",
|
'title' => "Who's Coming?",
|
||||||
'page callback' => 'booking_coming_page',
|
'page callback' => 'booking_coming_page',
|
||||||
'access arguments' => array("access coming list"),
|
'access arguments' => array("access coming list"),
|
||||||
'type' => MENU_NORMAL_ITEM,
|
'type' => MENU_NORMAL_ITEM,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['waitinglist'] = array(
|
$items['waitinglist'] = array(
|
||||||
@@ -341,7 +341,7 @@ function booking_menu() {
|
|||||||
'page arguments' => array('booking_manual_email_form'),
|
'page arguments' => array('booking_manual_email_form'),
|
||||||
//'page callback' => 'drupal_get_form',
|
//'page callback' => 'drupal_get_form',
|
||||||
//'page arguments' => array('booking_manual_email'),
|
//'page arguments' => array('booking_manual_email'),
|
||||||
'access arguments' => array('access administration pages'),
|
'access arguments' => array('access administration pages'),
|
||||||
'type' => MENU_NORMAL_ITEM,
|
'type' => MENU_NORMAL_ITEM,
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -414,8 +414,7 @@ function booking_menu() {
|
|||||||
$items['admin/config/booking/variety/report'] = array(
|
$items['admin/config/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' => 'drupal_get_form',
|
'page callback' => 'booking_variety_sessions_view_summary',
|
||||||
'page arguments' => array('booking_variety_sessions_view_summary', true),
|
|
||||||
'access arguments' => array('view variety sessions'),
|
'access arguments' => array('view variety sessions'),
|
||||||
'type' => MENU_LOCAL_ACTION,
|
'type' => MENU_LOCAL_ACTION,
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user