develop variety session form
This commit is contained in:
@@ -54,7 +54,8 @@ module_load_include('inc', 'booking', 'booking.emails_admin');
|
||||
// Load the include for bulk data import
|
||||
module_load_include('inc', 'booking', 'booking.import_data');
|
||||
// Load the include for variety session configuration
|
||||
module_load_include('inc', 'booking', 'booking.variety');
|
||||
module_load_include('inc', 'booking', 'booking.variety_form');
|
||||
module_load_include('inc', 'booking', 'booking.variety_admin');
|
||||
// Load the include for study group configuration
|
||||
module_load_include('inc', 'booking', 'booking.studygroups');
|
||||
// Load the include for study group definitions
|
||||
@@ -232,14 +233,6 @@ function booking_menu() {
|
||||
'weight' => -96,
|
||||
//'type' => MENU_LOCAL_TASK,
|
||||
);
|
||||
$items['admin/config/booking/variety'] = array(
|
||||
'title' => 'Booking module variety sessions',
|
||||
'description' => 'Configure variety sessions for the Booking module',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_variety_admin'),
|
||||
'access arguments' => array('administer site configuration'),
|
||||
//'type' => MENU_LOCAL_TASK,
|
||||
);
|
||||
|
||||
//one off internal tasks
|
||||
$items['admin/booking/luckynumbers'] = array(
|
||||
@@ -387,6 +380,15 @@ function booking_menu() {
|
||||
|
||||
if (variable_get('booking_enable_variety_sessions', 0) == 1)
|
||||
{
|
||||
$items['admin/config/booking/variety'] = array(
|
||||
'title' => 'Booking module variety sessions',
|
||||
'description' => 'Configure variety sessions for the Booking module',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_variety_admin'),
|
||||
'access arguments' => array('administer site configuration'),
|
||||
//'type' => MENU_LOCAL_TASK,
|
||||
);
|
||||
|
||||
$items['variety'] = array(
|
||||
'title' => $bookingTitle . ' Variety Sessions',
|
||||
'page callback' => 'drupal_get_form',
|
||||
|
Reference in New Issue
Block a user