]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/minimal.php
Security: Use htmlspecialchars() for user input in Arguments class
[friendica.git] / view / theme / frio / php / minimal.php
index 1ab45bd39bacec99eb23683de69706ea2ff8272f..2ab0a62e40925f39193655dd1bc2305efde4feb0 100644 (file)
@@ -1,30 +1,35 @@
-<!DOCTYPE html >\r
-<html>\r
-<head>\r
-       <title><?php if(!empty($page['title'])) echo $page['title'] ?></title>\r
-       <script>var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>\r
-       <?php if(!empty($page['htmlhead'])) echo $page['htmlhead'] ?>\r
-</head>\r
-<body class="minimal">\r
-       <section><?php if(!empty($page['content'])) echo $page['content']; ?>\r
-               <div id="page-footer"></div>\r
-       </section>\r
-       <!-- Modal  -->\r
-       <div id="modal" class="modal fade" tabindex="-1" role="dialog">\r
-               <div class="modal-dialog modal-full-screen">\r
-                       <div class="modal-content">\r
-                               <div id="modal-header" class="modal-header">\r
-                                       <button id="modal-cloase" type="button" class="close" data-dismiss="modal">\r
-                                               &times;\r
-                                       </button>\r
-                                       <h4 id="modal-title" class="modal-title"></h4>\r
-                               </div>\r
-                               <div id="modal-body" class="modal-body">\r
-                                       <!-- /# content goes here -->\r
-                               </div>\r
-                       </div>\r
-               </div>\r
-       </div>\r
-</body>\r
-</html>\r
-\r
+<!DOCTYPE html >
+<html>
+<head>
+       <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 class="minimal">
+       <section>
+               <div  class="generic-page-wrapper">
+                       <?php if(!empty($page['content'])) echo $page['content']; ?>
+               </div>
+               <div id="page-footer">
+                       <?php echo $page['footer'] ?? ''; ?>
+               </div>
+       </section>
+       <!-- Modal  -->
+       <div id="modal" class="modal fade" tabindex="-1" role="dialog">
+               <div class="modal-dialog modal-full-screen">
+                       <div class="modal-content">
+                               <div id="modal-header" class="modal-header">
+                                       <button id="modal-cloase" type="button" class="close" data-dismiss="modal">
+                                               &times;
+                                       </button>
+                                       <h4 id="modal-title" class="modal-title"></h4>
+                               </div>
+                               <div id="modal-body" class="modal-body">
+                                       <!-- /# content goes here -->
+                               </div>
+                       </div>
+               </div>
+       </div>
+</body>
+</html>
+