1
0
Fork 0
friendica_2020-09-1_sharedH.../view/default.php
Fabio Comuni 81e7535914 Add javascript var "baseurl"
Add field_richtext template
2011-06-30 16:42:27 +02:00

19 lines
675 B
PHP

<!DOCTYPE html >
<html>
<head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
</head>
<body>
<header><?php if(x($page,'header')) echo $page['header']; ?></header>
<nav><div id="top-margin"></div><?php if(x($page,'nav')) echo $page['nav']; ?></nav>
<aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
<section><?php if(x($page,'content')) echo $page['content']; ?>
<div id="page-footer"></div>
</section>
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
</body>
</html>