Something
This commit is contained in:
@@ -391,31 +391,33 @@ function booking_menu() {
|
||||
}
|
||||
|
||||
//configure rooms
|
||||
$items['admin/booking/rooms'] = array(
|
||||
'title' => 'View Room Locations',
|
||||
'description' => 'View Room Locations',
|
||||
'page callback' => 'booking_room_view_summary',
|
||||
'access arguments' => array("view room allocations"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
if (variable_get('booking_enable_roomallocations', 0) == 1)
|
||||
{
|
||||
$items['admin/booking/rooms'] = array(
|
||||
'title' => 'View Room Locations',
|
||||
'description' => 'View Room Locations',
|
||||
'page callback' => 'booking_room_view_summary',
|
||||
'access arguments' => array("view room allocations"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/booking/rooms/%/assign'] = array(
|
||||
'title' => 'Assign Rooms',
|
||||
'description' => 'Assign attendees to rooms',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_rooms_allocate_form', 3),
|
||||
'access arguments' => array('edit room allocations'),
|
||||
//'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
$items['admin/booking/rooms/%/assign'] = array(
|
||||
'title' => 'Assign Rooms',
|
||||
'description' => 'Assign attendees to rooms',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_rooms_allocate_form', 3),
|
||||
'access arguments' => array('edit room allocations'),
|
||||
//'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/booking/rooms/%/view'] = array(
|
||||
'title' => 'View Allocated Rooms',
|
||||
'description' => 'Assign attendees to rooms',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_rooms_view_form', 3),
|
||||
'access arguments' => array('view room allocations'),
|
||||
);
|
||||
$items['admin/booking/rooms/%/view'] = array(
|
||||
'title' => 'View Allocated Rooms',
|
||||
'description' => 'Assign attendees to rooms',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_rooms_view_form', 3),
|
||||
'access arguments' => array('view room allocations'),
|
||||
);
|
||||
}
|
||||
|
||||
//Configure prices
|
||||
$items['admin/config/booking/prices/create'] = array(
|
||||
|
Reference in New Issue
Block a user