X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Fdefault.php;h=ce7fd4d777ef39539aee13839b1041a79348fcac;hb=838c0f96de57717e21e985cd2f92a130f568052d;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..ce7fd4d777 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,56 @@ 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"; ?>
-