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]);
18 // This is uncommented because we don't need it anymore.
19 // We try to to use links which resulting in $_GET["mode"] = "none"
20 //if($page_type === "none") {
21 // $_GET["mode"] = "none";
24 if((isset($_GET["mode"]) AND ($_GET["mode"] == "none"))) {
26 require "view/theme/frio/php/modes/none.php";
27 } elseif($page_type === "standard_page") {
28 require "view/theme/frio/php/modes/standard.php";
30 require "view/theme/frio/php/modes/default.php";