]> 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 491fa9d5b0df87c69b97170b39532db65259ccdc..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 htmlspecialchars($_REQUEST['pagename']) ?> ">
-       <script>var baseurl="<?php echo App::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 = App::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');} ?>
@@ -54,7 +50,6 @@
                                        </div>
                                                ";
 ?>
-               
                        </div><!--row-->
                </div><!-- container -->
 
@@ -80,7 +75,7 @@
                        })
                })
        }
-       
+
        $('textarea').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl')
        $('input').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl')
 </script>
@@ -126,7 +121,5 @@ $("nav").bind('nav-update', function(e,data)
                </div>
        </div>
 </div>
-
-
 </footer>
 </body>