X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Fstandard.php;h=bed948b9fd1021c4b58d393f18f0c469945d28bc;hb=8536b313a1eb1c3e11f9ba5317fdcef33118bcb8;hp=491fa9d5b0df87c69b97170b39532db65259ccdc;hpb=8b7d5d0efc3e28b2f7a5407f6583c8232739aa71;p=friendica.git diff --git a/view/theme/frio/php/standard.php b/view/theme/frio/php/standard.php index 491fa9d5b0..bed948b9fd 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') @@ -103,7 +98,6 @@ $("nav").bind('nav-update', function(e,data) }); - @@ -111,11 +105,11 @@ $("nav").bind('nav-update', function(e,data) -