]> git.mxchange.org Git - friendica.git/blobdiff - view/php/minimal.php
Merge pull request #10095 from annando/parseurl-photos
[friendica.git] / view / php / minimal.php
index 9831ca5e55fbc53a730d959fb78f75e1b5673393..76e14ebe582974a74f6524fcf00dab8aaeff8eb6 100644 (file)
@@ -1,13 +1,15 @@
 <!DOCTYPE html >
 <html>
 <head>
-  <title><?php if(x($page,'title')) echo $page['title'] ?></title>
-  <script>var baseurl="<?php echo Friendica\App::get_baseurl() ?>";</script>
-  <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
+  <title><?php if(!empty($page['title'])) echo $page['title'] ?></title>
+  <script>var baseurl="<?php echo Friendica\DI::baseUrl() ?>";</script>
+  <?php if(!empty($page['htmlhead'])) echo $page['htmlhead'] ?>
 </head>
-<body>
-       <section class="minimal" style="margin:0px!important; padding:0px!important; float:none!important;display:block!important;"><?php if(x($page,'content')) echo $page['content']; ?>
-               <div id="page-footer"></div>
+<body class="minimal">
+       <section><?php if(!empty($page['content'])) echo $page['content']; ?>
+               <div id="page-footer">
+                       <?php echo $page['footer'] ?? ''; ?>
+               </div>
        </section>
 </body>
 </html>