Progress on form to define number of leader/helper groups

This commit is contained in:
2014-01-18 12:29:57 +11:00
parent e15ea324d8
commit 1387e82039
2 changed files with 61 additions and 2 deletions

View File

@@ -53,6 +53,8 @@ module_load_include('inc', 'booking', 'booking.emails');
module_load_include('inc', 'booking', 'booking.import_data');
// Load the include for variety session configuration
module_load_include('inc', 'booking', 'booking.variety');
// Load the include for study group configuration
module_load_include('inc', 'booking', 'booking.studygroups');
function booking_init() {
date_default_timezone_set(TIMEZONE);
@@ -277,8 +279,22 @@ function booking_menu() {
'type' => MENU_NORMAL_ITEM,
);
//The administration menu
/**
* Define the administration menu
*/
//configure study groups
$items['admin/config/booking/studygroups/select'] = array(
'title' => 'Study Group Leaders',
'description' => 'Define attendees to lead or help study groups',
'page callback' => 'drupal_get_form',
'page arguments' => array('booking_available_leadhelp_select_form'),
'access arguments' => array('access administration pages'),
'type' => MENU_LOCAL_ACTION,
);
//Configure prices
$items['admin/config/booking/prices/create'] = array(
'title' => 'Add New Price Entry',
'description' => 'Add priceentry for the Booking module',