start work on admin page for early access codes

This commit is contained in:
2017-06-29 12:10:19 +10:00
parent 0c975086e5
commit e90d02f46e
4 changed files with 56 additions and 4 deletions

View File

@@ -707,7 +707,17 @@ function booking_menu() {
'page arguments' => array('booking_event_form', false, 4),
'access arguments' => array('access administration pages'),
'type' => MENU_CALLBACK,
);
);
//manage early access codes
$items['admin/config/booking/earlyaccess'] = array(
'title' => 'Booking module Early Access Codes',
'description' => 'Define and configure Early Access Codes for the Booking module',
'page callback' => 'booking_earlyaccess_admin',
'access arguments' => array('administer site configuration'),
'file' => 'booking.earlyaccess_admin.inc',
'type' => MENU_NORMAL_ITEM,
);
//the paypal IPN
$items[BOOKING_PAYPAL_IPN_PATH] = array(