Study Groups page

This commit is contained in:
2014-01-18 13:03:15 +11:00
parent 1387e82039
commit c01970ba42

View File

@@ -284,15 +284,32 @@ function booking_menu() {
*/ */
//configure study groups //configure study groups
$items['admin/config/booking/studygroups/select'] = array( $items['admin/config/booking/studygroups/selectleaders'] = array(
'title' => 'Study Group Leaders', 'title' => 'Study Group Leaders',
'description' => 'Define attendees to lead or help study groups', 'description' => 'Define attendees to lead or help study groups',
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('booking_available_leadhelp_select_form'), 'page arguments' => array('booking_available_leadhelp_select_form'),
'access arguments' => array('access administration pages'), 'access arguments' => array('access administration pages'),
'type' => MENU_LOCAL_ACTION, //'type' => MENU_NORMAL_ITEM,
);
$items['admin/config/booking/studygroups/calculate'] = array(
'title' => 'Study Group Definitions',
'description' => 'Calculate Study Group memberships',
'page callback' => 'drupal_get_form',
'page arguments' => array('booking_studygroups_calculate'),
'access arguments' => array('access administration pages'),
//'type' => MENU_NORMAL_ITEM,
); );
$items['admin/config/booking/studygroups/view'] = array(
'title' => 'View Study Groups',
'description' => 'View Study Group memberships',
'page callback' => 'drupal_get_form',
'page arguments' => array('booking_studygroups_view'),
'access arguments' => array('access administration pages'),
//'type' => MENU_NORMAL_ITEM,
);
//Configure prices //Configure prices
$items['admin/config/booking/prices/create'] = array( $items['admin/config/booking/prices/create'] = array(
@@ -305,7 +322,7 @@ function booking_menu() {
'type' => MENU_LOCAL_ACTION, 'type' => MENU_LOCAL_ACTION,
); );
$items['admin/config/booking/prices/%/edit'] = array( $items['admin/config/booking/prices/%/edit'] = array(
'title' => 'Edit Price', 'title' => 'Edit Price',
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('booking_price_form', false, 4), 'page arguments' => array('booking_price_form', false, 4),