]> git.mxchange.org Git - friendica.git/commitdiff
uncomment some old code which was used to transform pages into modals
authorrabuzarus <>
Thu, 21 Apr 2016 01:14:48 +0000 (03:14 +0200)
committerrabuzarus <>
Thu, 21 Apr 2016 01:14:48 +0000 (03:14 +0200)
default.php
php/modes/default.php

index 0362be916cddf9fd973e918e265de5875c25af6f..2251c44c70b6fb98316a670afee223259ff0f6c5 100644 (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
 // 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"))) {
 
index 73874d6611c0eff3e30178bd56c67b2528ceb386..8b0178ca747dd959bbdf68611325bfda9366b694 100644 (file)
@@ -10,7 +10,7 @@
 <?php 
        require_once('view/theme/frio/php/frio_boot.php');
 
-       $minimal = is_modal();
+//     $minimal = is_modal();
 
 ?>