]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/standard.php
Merge pull request #5438 from MrPetovan/task/5410-remove-dbm-class
[friendica.git] / view / theme / frio / php / standard.php
index d52cd8d44209e16204052aa9c7e50528fd1274a6..64c4544cd877b1c7df4337fe394c94e54f95247e 100644 (file)
        <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 Friendica\Core\System::baseUrl() ?>";</script>
-       <script>var frio="<?php echo "view/theme/frio"; ?>";</script>
+       <script type="text/javascript">var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>
+       <script type="text/javascript">var frio="<?php echo "view/theme/frio"; ?>";</script>
        <?php $baseurl = Friendica\Core\System::baseUrl(); ?>
        <?php $frio = "view/theme/frio"; ?>
        <?php if(x($page,'htmlhead')) echo $page['htmlhead']; ?>
 </head>
-<body id=\"top\">";
+<body id="top">
 <?php if($_SERVER['REQUEST_URI'] == "/"){header('Location: /login');} ?>
 <a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
 <?php
        if(x($page,'nav')) {
-       echo    str_replace("~config.sitename~",get_config('config','sitename'),
-                       str_replace("~system.banner~",get_config('system','banner'),
+       echo    str_replace("~config.sitename~",Friendica\Core\Config::get('config','sitename'),
+                       str_replace("~system.banner~",Friendica\Core\Config::get('system','banner'),
                        $page['nav']
        ));};
 ?>
@@ -106,7 +106,7 @@ $("nav").bind('nav-update', function(e,data)
 <script src="<?=$frio?>/frameworks/justifiedGallery/jquery.justifiedGallery.min.js"></script>
 
 <!-- Modal  -->
-<div id="modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="plan-info" aria-hidden="true">
+<div id="modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-full-screen">
                <div class="modal-content">
                        <div id="modal-header" class="modal-header">