From c4861a80b64e948b31833d74aea2215f54bf9a5b Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 21 Apr 2016 03:14:48 +0200 Subject: [PATCH] uncomment some old code which was used to transform pages into modals --- default.php | 9 ++++++--- php/modes/default.php | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/default.php b/default.php index 0362be916c..2251c44c70 100644 --- a/default.php +++ b/default.php @@ -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 // page mode in the template with javascript $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"))) { diff --git a/php/modes/default.php b/php/modes/default.php index 73874d6611..8b0178ca74 100644 --- a/php/modes/default.php +++ b/php/modes/default.php @@ -10,7 +10,7 @@