Adding form for study group definitions
This commit is contained in:
@@ -58,6 +58,8 @@ module_load_include('inc', 'booking', 'booking.import_data');
|
||||
module_load_include('inc', 'booking', 'booking.variety');
|
||||
// Load the include for study group configuration
|
||||
module_load_include('inc', 'booking', 'booking.studygroups');
|
||||
// Load the include for study group definitions
|
||||
module_load_include('inc', 'booking', 'booking.studygroups_admin');
|
||||
// Load the include for the travel form
|
||||
module_load_include('inc', 'booking', 'booking.travel');
|
||||
// Load the include for managing room bookings and definitions
|
||||
@@ -359,6 +361,15 @@ function booking_menu() {
|
||||
'access arguments' => array("view study groups"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/booking/studygroups/add'] = array(
|
||||
'title' => 'Add Study Group',
|
||||
'description' => 'Add Study Group definition',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_studygroups_add_form', true),
|
||||
'access arguments' => array("edit study groups"),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
|
||||
$items['admin/booking/studygroups/%/view'] = array(
|
||||
'title' => 'View Study Group',
|
||||
|
Reference in New Issue
Block a user