if(! local_user()) return;
+ if ($_GET["mode"] == "minimal")
+ return;
+
$activate = get_pconfig(local_user(),'jappixmini','activate');
$dontinsertchat = get_pconfig(local_user(), 'jappixmini','dontinsertchat');
if (!$activate or $dontinsertchat) return;
$duration = microtime(true)-$a->performance["start"];
- if (is_site_admin())
+ if (is_site_admin() AND ($_GET["mode"] != "minimal"))
$o = $o.'<div class="renderinfo">'.sprintf(t("Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"),
round($a->performance["database"], 3),
round($a->performance["network"], 3),