]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/standard.php
App::get_baseurl is now replaced with System::baseUrl
[friendica.git] / view / theme / frio / php / standard.php
index 93007bca5e7104eb751d444712266860d10c3543..d52cd8d44209e16204052aa9c7e50528fd1274a6 100644 (file)
@@ -4,21 +4,17 @@
  * @brief The default site template
  */
 ?>
-
 <!DOCTYPE html >
-
 <html>
 <head>
        <title><?php if(x($page,'title')) echo $page['title'] ?></title>
        <meta name="viewport" content="initial-scale=1.0">
-       <meta request="<?php echo $_REQUEST['pagename'] ?> ">
-       <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
+       <meta request="<?php echo htmlspecialchars($_REQUEST['pagename']) ?>">
+       <script>var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>
        <script>var frio="<?php echo "view/theme/frio"; ?>";</script>
-       <?php $baseurl = $a->get_baseurl(); ?>
+       <?php $baseurl = Friendica\Core\System::baseUrl(); ?>
        <?php $frio = "view/theme/frio"; ?>
        <?php if(x($page,'htmlhead')) echo $page['htmlhead']; ?>
-       
-
 </head>
 <body id=\"top\">";
 <?php if($_SERVER['REQUEST_URI'] == "/"){header('Location: /login');} ?>
                                                "; include('includes/photo_side.php'); echo"
                                        </aside>
 
-                                       <div id=\"NavAside\" class=\"navmenu navmenu-default navmenu-fixed-left offcanvas hidden-lg hidden-md\">
-                                               <div class=\"nav-container\">
-                                                       <div class=\"list-group\">
-                                                               "; if(x($page,'aside')) echo $page['aside']; echo"
-                                                               "; if(x($page,'right_aside')) echo $page['right_aside']; echo"
-                                                               "; include('includes/photo_side.php'); echo"
-                                                       </div>
-                                               </div>
-                                       </div><!--/.sidebar-offcanvas-->
-
                                        <div class=\"col-lg-8 col-md-8 col-sm-12 col-xs-12\" id=\"content\">
                                                <section class=\"sectiontop\">
                                                                <div class=\"panel "; echo $a->argv[0]; echo "-content-wrapper\">
@@ -64,7 +50,6 @@
                                        </div>
                                                ";
 ?>
-               
                        </div><!--row-->
                </div><!-- container -->
 
@@ -90,7 +75,7 @@
                        })
                })
        }
-       
+
        $('textarea').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl')
        $('input').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl')
 </script>
@@ -136,7 +121,5 @@ $("nav").bind('nav-update', function(e,data)
                </div>
        </div>
 </div>
-
-
 </footer>
 </body>