* @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 $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');} ?>
</div>
";
?>
-
</div><!--row-->
</div><!-- container -->
})
})
}
-
+
$('textarea').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl')
$('input').enterKey(function() {$(this).closest('form').submit(); }, 'ctrl')
</script>
</div>
</div>
</div>
-
-
</footer>
</body>