uncomment some old code which was used to transform pages into modals

This commit is contained in:
rabuzarus 2016-04-21 03:14:48 +02:00
parent e3cb0aa802
commit c4861a80b6
2 changed files with 7 additions and 4 deletions

View File

@ -14,9 +14,12 @@ require_once('view/theme/frio/php/frio_boot.php');
// This is a workaround, where we can't change the page the // This is a workaround, where we can't change the page the
// page mode in the template with javascript // page mode in the template with javascript
$page_type = get_page_type($a->argv[0]); $page_type = get_page_type($a->argv[0]);
if($page_type === "modal") {
$_GET["mode"] = "modal"; // This is uncommented because we don't need it anymore.
} // We try to to use links which resulting in $_GET["mode"] = "modal"
//if($page_type === "modal") {
// $_GET["mode"] = "modal";
//}
if((isset($_GET["mode"]) AND ($_GET["mode"] == "modal"))) { if((isset($_GET["mode"]) AND ($_GET["mode"] == "modal"))) {

View File

@ -10,7 +10,7 @@
<?php <?php
require_once('view/theme/frio/php/frio_boot.php'); require_once('view/theme/frio/php/frio_boot.php');
$minimal = is_modal(); // $minimal = is_modal();
?> ?>