diff options
author | Philip Häusler <msquare@notrademark.de> | 2014-12-19 22:41:55 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2014-12-19 22:41:55 +0100 |
commit | d02272afd6725d46c37b7ba781c5d40268aa09a6 (patch) | |
tree | c7bd969a455aed4e57524df6cfaf13a766fb01c9 /public/index.php | |
parent | a791a75b0a893308f35865542149c77f8761b3a0 (diff) |
add basic shift view
Diffstat (limited to 'public/index.php')
-rw-r--r-- | public/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php index 51bd7661..230e9141 100644 --- a/public/index.php +++ b/public/index.php @@ -29,6 +29,7 @@ require_once realpath(__DIR__ . '/../includes/view/UserAngelTypes_view.php'); require_once realpath(__DIR__ . '/../includes/view/User_view.php'); require_once realpath(__DIR__ . '/../includes/controller/angeltypes_controller.php'); +require_once realpath(__DIR__ . '/../includes/controller/shifts_controller.php'); require_once realpath(__DIR__ . '/../includes/controller/shifttypes_controller.php'); require_once realpath(__DIR__ . '/../includes/controller/users_controller.php'); require_once realpath(__DIR__ . '/../includes/controller/user_angeltypes_controller.php'); @@ -88,6 +89,7 @@ $free_pages = array( 'users', 'ical', 'shifts_json_export', + 'shifts', 'atom' ); @@ -127,6 +129,8 @@ if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (i $content = user_password_recovery_controller(); } elseif ($p == "angeltypes") { list($title, $content) = angeltypes_controller(); + } elseif ($p == "shifts") { + list($title, $content) = shifts_controller(); } elseif ($p == "users") { list($title, $content) = users_controller(); } elseif ($p == "user_angeltypes") { |