function downloadLayoutTemplate($args) { import('pages.manager.SetupHandler'); SetupHandler::downloadLayoutTemplate($args); }
* * The mechanism for the sitemap is currently manual. Ideally, this will * be replaced by an automatic funciton that can do one of two things: * 1) Scan the web root and look at each file, determining if the file * has BAC managed containers * 2) Be able to securely and reliably identify Ajax calls from the * installation domain, and automatically generate content files * at an ajax request, if the file does not exist. */ ?> <?php //Handle a post here, returning data to the rest of the page in a $data array include_once '../src/util.php'; require 'SetupHandler.php'; $requestHandler = new SetupHandler(); $data = $requestHandler->handleRequest($_POST, $_GET); if (isset($data['redirectToLogin']) && $data['redirectToLogin'] == true) { header("Location: " . get_bac_uri("/admin/login.php")); die; } $displaymessage = ""; if (!isset($data['message'])) { $data['message'] = ""; } if ($data['message']) { $displaymessage = "block"; } else { $displaymessage = "none"; } $messageclass = 'alert-success';