* @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 $_REQUEST['pagename'] ?> ">
- <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
+ <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 = $a->get_baseurl(); ?>
+ <?php $baseurl = Friendica\App::get_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');} ?>
"; include('includes/photo_side.php'); echo"
</aside>
- <div id=\"NavAside\" class=\"navmenu navmenu-default navmenu-fixed-left offcanvas hidden-lg hidden-md\">
- <div class=\"nav-container\">
- <div class=\"list-group\">
- "; if(x($page,'aside')) echo $page['aside']; echo"
- "; if(x($page,'right_aside')) echo $page['right_aside']; echo"
- "; include('includes/photo_side.php'); echo"
- </div>
- </div>
- </div><!--/.sidebar-offcanvas-->
-
<div class=\"col-lg-8 col-md-8 col-sm-12 col-xs-12\" id=\"content\">
<section class=\"sectiontop\">
<div class=\"panel "; echo $a->argv[0]; echo "-content-wrapper\">
</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>