require_once("user.inc");
require_once("sec/secure.inc");
-db_user("roomreservation");
-
/**
* @page errorcodes Error Codes
* @{
require_once("mod_room-reservation/mod_roomReservationTimeslice.inc");
require_once("mod_room-reservation/mod_roomReservationRoomsManager.inc");
-db_user("roomreservation");
-
/**
* Determines if a privilege has been assigned
* @param $sPriv (string) Privilege to test
require_once("mod_room-reservation/mod_roomReservationRoom.inc");
require_once("mod_room-reservation/mod_roomReservationConfig.inc");
-db_user("roomreservation");
-
/** Simple class for creating, editing and deleting rooms */
class mod_roomReservationRoomsManager {
/** (mod_roomReservationConfig) Reference to the configuration */
require_once("mod_room-reservation/globals.inc");
require_once("mod_room-reservation/mod_roomReservationConfigPage.inc");
+db_user("roomreservation");
+
$page = new mod_roomReservationConfigPage($g_rrCfg);
$page->show();
?>
require_once("mod_room-reservation/globals.inc");
require_once("mod_room-reservation/mod_roomReservationBookingPage.inc");
+
+db_user("roomreservation");
+
$page = new mod_roomReservationBookingPage($g_rrCfg, $g_rrRm, $g_rrBm);
$page->setTitle(_c("room-reservation:Schedule of room bookings"));
$page->show();