Finally add a customisable page for /bookingfinal
This commit is contained in:
@@ -233,6 +233,12 @@ function booking_menu() {
|
||||
'access arguments' => array('access booking form'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
$items['bookingfinal'] = array(
|
||||
'title' => $bookingTitle . ' Registration Completed',
|
||||
'page callback' => 'booking_payment_completed_page',
|
||||
'access arguments' => array('access booking form'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
$items['confirm/%'] = array(
|
||||
'title' => 'Booking Payment',
|
||||
'page callback' => 'booking_confirm_page',
|
||||
@@ -265,13 +271,16 @@ function booking_menu() {
|
||||
'type' => MENU_SUGGESTED_ITEM,
|
||||
);
|
||||
|
||||
$items['variety'] = array(
|
||||
'title' => $bookingTitle . ' Variety Sessions',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_variety_regn_form'),
|
||||
'access arguments' => array('access booking form'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
if (variable_get('booking_enable_variety_sessions', 0) == 1)
|
||||
{
|
||||
$items['variety'] = array(
|
||||
'title' => $bookingTitle . ' Variety Sessions',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_variety_regn_form'),
|
||||
'access arguments' => array('access booking form'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
}
|
||||
|
||||
//Various reports
|
||||
$items['admin/booking/summary'] = array(
|
||||
|
Reference in New Issue
Block a user