X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Fdefault.php;h=ce7fd4d777ef39539aee13839b1041a79348fcac;hb=838c0f96de57717e21e985cd2f92a130f568052d;hp=24c722e8e3f51347215e696f11c091d82c79b12b;hpb=d02f9408110406e9fa617fc12c81525b9aafd5c1;p=friendica.git diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index 24c722e8e3..ce7fd4d777 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -36,7 +36,7 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; // if the page is an standard page (so we don't have it twice for modals) // /// @todo Think about to move js stuff in the footer - if (!$minimal && x($page, 'htmlhead')) { + if (!$minimal && !empty($page['htmlhead'])) { echo $page['htmlhead']; } @@ -67,7 +67,7 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; "> Skip to main content
- +
'; - if (x($page, 'aside')) { + if (!empty($page['aside'])) { echo $page['aside']; } - if (x($page, 'right_aside')) { + if (!empty($page['right_aside'])) { echo $page['right_aside']; } @@ -113,7 +113,7 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
'; - if (x($page, 'content')) { + if (!empty($page['content'])) { echo $page['content']; } echo ' @@ -124,7 +124,7 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; } else { echo '
'; - if (x($page, 'content')) { + if (!empty($page['content'])) { echo $page['content']; } echo '