* @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>
- <script>var frio="<?php echo "view/theme/frio"; ?>";</script>
- <?php $baseurl = App::get_baseurl(); ?>
+ <meta request="<?php echo htmlspecialchars($_REQUEST['pagename']) ?>">
+ <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\">";
<?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']
));};
?>
</div>
";
?>
-
</div><!--row-->
</div><!-- container -->
})
})
}
-
+
$('textarea').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl')
$('input').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl')
</script>
<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">
</div>
</div>
</div>
-
-
</footer>
</body>