X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Fdefault.php;h=b9600cc22e3b991f84d882ed2b519a8e1feef641;hb=cf9a65cded8e8f270aedbb3ba46d5fe2fe351b4c;hp=768dd122f955b890cea575219bcd30ad81cc52a6;hpb=190a765731827a2f52a58ff830470a176aabaf4d;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"; ?>
-