X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Fdefault.php;h=b9600cc22e3b991f84d882ed2b519a8e1feef641;hb=0a284edde7580b2d127b1fc764067a785e88252c;hp=768dd122f955b890cea575219bcd30ad81cc52a6;hpb=04589ecd38d85df339a3fed320d2822520b686f2;p=friendica.git diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index 768dd122f9..b9600cc22e 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -10,6 +10,7 @@ use Friendica\Core\Config; use Friendica\Core\PConfig; use Friendica\Core\System; +use Friendica\Model\Profile; require_once 'view/theme/frio/php/frio_boot.php'; @@ -17,49 +18,53 @@ require_once 'view/theme/frio/php/frio_boot.php'; if (!isset($minimal)) { $minimal = false; } + +$basepath = $a->getURLPath() ? "/" . $a->getURLPath() . "/" : "/"; +$frio = "view/theme/frio"; +$view_mode_class = ($a->is_mobile || $a->is_tablet) ? 'mobile-view' : 'desktop-view'; +$is_singleuser = Config::get('system', 'singleuser'); +$is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; ?>
-