rearrange booking module configuration
This commit is contained in:
@@ -184,11 +184,13 @@ function booking_menu() {
|
|||||||
//http://www.akchauhan.com/create-drupal-form-using-theme_table-like-module-list-form/
|
//http://www.akchauhan.com/create-drupal-form-using-theme_table-like-module-list-form/
|
||||||
$items['admin/config/booking/text'] = array(
|
$items['admin/config/booking/text'] = array(
|
||||||
'title' => 'Booking module text definitions',
|
'title' => 'Booking module text definitions',
|
||||||
'description' => 'Configure text used in the Event Booking module',
|
'description' => 'Configure text used in the Booking module',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_tokens_admin'),
|
'page arguments' => array('booking_tokens_admin'),
|
||||||
'access arguments' => array('administer site configuration'),
|
'access arguments' => array('administer site configuration'),
|
||||||
|
'weight' => -99,
|
||||||
//'type' => MENU_LOCAL_TASK,
|
//'type' => MENU_LOCAL_TASK,
|
||||||
|
|
||||||
);
|
);
|
||||||
$items['admin/config/booking/emails'] = array(
|
$items['admin/config/booking/emails'] = array(
|
||||||
'title' => 'Booking module email definitions',
|
'title' => 'Booking module email definitions',
|
||||||
@@ -196,28 +198,31 @@ function booking_menu() {
|
|||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_emails_admin'),
|
'page arguments' => array('booking_emails_admin'),
|
||||||
'access arguments' => array('administer site configuration'),
|
'access arguments' => array('administer site configuration'),
|
||||||
|
'weight' => -98,
|
||||||
|
//'type' => MENU_LOCAL_TASK,
|
||||||
|
);
|
||||||
|
$items['admin/config/booking/events'] = array(
|
||||||
|
'title' => 'Booking module event settings',
|
||||||
|
'description' => 'Configure events for the Booking module',
|
||||||
|
'page callback' => 'drupal_get_form',
|
||||||
|
'page arguments' => array('booking_event_admin'),
|
||||||
|
'access arguments' => array('administer site configuration'),
|
||||||
|
'weight' => -97,
|
||||||
//'type' => MENU_LOCAL_TASK,
|
//'type' => MENU_LOCAL_TASK,
|
||||||
);
|
);
|
||||||
$items['admin/config/booking/prices'] = array(
|
$items['admin/config/booking/prices'] = array(
|
||||||
'title' => 'Booking module price settings',
|
'title' => 'Booking module price settings',
|
||||||
'description' => 'Configure prices for the Event Booking module',
|
'description' => 'Configure prices for the Booking module',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_price_admin'),
|
'page arguments' => array('booking_price_admin'),
|
||||||
'access arguments' => array('administer site configuration'),
|
'access arguments' => array('administer site configuration'),
|
||||||
|
'weight' => -96,
|
||||||
//'type' => MENU_LOCAL_TASK,
|
//'type' => MENU_LOCAL_TASK,
|
||||||
);
|
);
|
||||||
|
|
||||||
$items['admin/config/booking/events'] = array(
|
|
||||||
'title' => 'Booking module event settings',
|
|
||||||
'description' => 'Configure events for the Event Booking module',
|
|
||||||
'page callback' => 'drupal_get_form',
|
|
||||||
'page arguments' => array('booking_event_admin'),
|
|
||||||
'access arguments' => array('administer site configuration'),
|
|
||||||
//'type' => MENU_LOCAL_TASK,
|
|
||||||
);
|
|
||||||
$items['admin/config/booking/variety'] = array(
|
$items['admin/config/booking/variety'] = array(
|
||||||
'title' => 'Booking module variety sessions',
|
'title' => 'Booking module variety sessions',
|
||||||
'description' => 'Configure variety sessions for the Event Booking module',
|
'description' => 'Configure variety sessions for the Booking module',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_variety_admin'),
|
'page arguments' => array('booking_variety_admin'),
|
||||||
'access arguments' => array('administer site configuration'),
|
'access arguments' => array('administer site configuration'),
|
||||||
|
Reference in New Issue
Block a user