<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\App::get_baseurl() ?>";</script>
- <script>var frio="<?php echo "view/theme/frio"; ?>";</script>
- <?php $baseurl = Friendica\App::get_baseurl(); ?>
+ <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>
<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']
));};
?>
<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">