1
1
Fork 0

add possibility to load custom page templates + none.php pagetemplate is part of core now

This commit is contained in:
rabuzarus 2016-07-11 10:33:39 +02:00
commit 15471f3835
15 changed files with 53 additions and 49 deletions

14
view/php/minimal.php Normal file
View file

@ -0,0 +1,14 @@
<!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>
<section class="minimal" style="margin:0px!important; padding:0px!important; float:none!important;display:block!important;"><?php if(x($page,'content')) echo $page['content']; ?>
<div id="page-footer"></div>
</section>
</body>
</html>