X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=default.php;h=0faa7d97bb6e7867ec673195a62af807c612ee7a;hb=64884ed9183cb836b9de01ef967b671ea3a3acd5;hp=0362be916cddf9fd973e918e265de5875c25af6f;hpb=65d37a8c2093ae6da95ac2a8b56bd854ab1e7b8b;p=friendica.git diff --git a/default.php b/default.php index 0362be916c..0faa7d97bb 100644 --- a/default.php +++ b/default.php @@ -14,13 +14,16 @@ 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"; -} -if((isset($_GET["mode"]) AND ($_GET["mode"] == "modal"))) { +// This is uncommented because we don't need it anymore. +// We try to to use links which resulting in $_GET["mode"] = "none" +//if($page_type === "none") { +// $_GET["mode"] = "none"; +//} + +if((isset($_GET["mode"]) AND ($_GET["mode"] == "none"))) { - require "view/theme/frio/php/modes/modal.php"; + require "view/theme/frio/php/modes/none.php"; } elseif($page_type === "standard_page") { require "view/theme/frio/php/modes/standard.php"; } else {