Some tweaks
This commit is contained in:
@@ -306,40 +306,44 @@ function booking_menu() {
|
||||
);
|
||||
|
||||
//configure study groups
|
||||
$items['admin/config/booking/studygroups'] = array(
|
||||
'title' => 'View Study Groups',
|
||||
'description' => 'View Study Group memberships',
|
||||
'page callback' => 'booking_studygroups_view_summary',
|
||||
'access arguments' => array("view study groups"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
if (variable_get('booking_enable_studygroups', 0) == 1)
|
||||
{
|
||||
|
||||
$items['admin/config/booking/studygroups/%/view'] = array(
|
||||
'title' => 'View Study Group',
|
||||
'description' => 'View Study Group memberships',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_studygroups_view_form', 4),
|
||||
'access arguments' => array('view study groups'),
|
||||
//'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
$items['admin/config/booking/studygroups'] = array(
|
||||
'title' => 'View Study Groups',
|
||||
'description' => 'View Study Group memberships',
|
||||
'page callback' => 'booking_studygroups_view_summary',
|
||||
'access arguments' => array("view study groups"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/config/booking/studygroups/selectleaders'] = 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('edit study groups'),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
$items['admin/config/booking/studygroups/%/view'] = array(
|
||||
'title' => 'View Study Group',
|
||||
'description' => 'View Study Group memberships',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_studygroups_view_form', 4),
|
||||
'access arguments' => array('view study groups'),
|
||||
//'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/config/booking/studygroups/selectleaders'] = array(
|
||||
'title' => 'Select 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('edit study groups'),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
|
||||
$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('edit study groups'),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
$items['admin/config/booking/studygroups/calculate'] = array(
|
||||
'title' => 'Calculate Study Groups',
|
||||
'description' => 'Calculate Study Group memberships',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_studygroups_calculate'),
|
||||
'access arguments' => array('edit study groups'),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
}
|
||||
|
||||
//Configure prices
|
||||
$items['admin/config/booking/prices/create'] = array(
|
||||
|
Reference in New Issue
Block a user