4 * @file view/theme/frio/default.php
6 * @brief load site template in dependence of the mode
7 * You will find the site templates under:
8 * {{?themepath}}/php/modes/
10 require_once('view/theme/frio/php/frio_boot.php');
13 // Check if page is defined as model and set it as modal
14 // This is a workaround, where we can't change the page the
15 // page mode in the template with javascript
16 $page_type = get_page_type($a->argv[0]);
17 if($page_type === "modal") {
18 $_GET["mode"] = "modal";
21 if((isset($_GET["mode"]) AND ($_GET["mode"] == "modal"))) {
23 require "view/theme/frio/php/modes/modal.php";
24 } elseif($page_type === "standard_page") {
25 require "view/theme/frio/php/modes/standard.php";
27 require "view/theme/frio/php/modes/default.php";