X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Fstandard.php;h=71b5028a453b209549f4b1a74847611a8778542d;hb=458981f75cff2427976c9abc787eadf8e9e6267f;hp=491fa9d5b0df87c69b97170b39532db65259ccdc;hpb=ca734f168caaa3a9fb66fd7ada6ecc26e1299ae6;p=friendica.git diff --git a/view/theme/frio/php/standard.php b/view/theme/frio/php/standard.php index 491fa9d5b0..71b5028a45 100644 --- a/view/theme/frio/php/standard.php +++ b/view/theme/frio/php/standard.php @@ -4,29 +4,25 @@ * @brief The default site template */ ?> - - - <?php if(x($page,'title')) echo $page['title'] ?> + <?php if(!empty($page['title'])) echo $page['title'] ?> - - - - + + + + - - - + -"; + Skip to main content @@ -37,8 +33,8 @@ - "; if(x($page,'aside')) echo $page['aside']; echo" - "; if(x($page,'right_aside')) echo $page['right_aside']; echo" + "; if(!empty($page['aside'])) echo $page['aside']; echo" + "; if(!empty($page['right_aside'])) echo $page['right_aside']; echo" "; include('includes/photo_side.php'); echo" @@ -46,7 +42,7 @@
argv[0]; echo "-content-wrapper\">
"; - if(x($page,'content')) echo $page['content']; echo" + if(!empty($page['content'])) echo $page['content']; echo"
@@ -54,7 +50,6 @@ "; ?> - @@ -80,7 +75,7 @@ }) }) } - + $('textarea').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl') $('input').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl') @@ -111,7 +106,7 @@ $("nav").bind('nav-update', function(e,data) -