diff options
Diffstat (limited to 'view/php')
-rw-r--r-- | view/php/default.php | 18 | ||||
-rw-r--r-- | view/php/full.php | 14 | ||||
-rw-r--r-- | view/php/minimal.php | 14 |
3 files changed, 46 insertions, 0 deletions
diff --git a/view/php/default.php b/view/php/default.php new file mode 100644 index 000000000..61f5f6863 --- /dev/null +++ b/view/php/default.php @@ -0,0 +1,18 @@ +<!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>
+ <?php if(x($page,'nav')) echo $page['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> + <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
+ <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
+</body>
+</html>
+
diff --git a/view/php/full.php b/view/php/full.php new file mode 100644 index 000000000..c4d62d5cd --- /dev/null +++ b/view/php/full.php @@ -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><?php if(x($page,'content')) echo $page['content']; ?>
+ <div id="page-footer"></div>
+ </section> +</body>
+</html>
+
diff --git a/view/php/minimal.php b/view/php/minimal.php new file mode 100644 index 000000000..a8c693985 --- /dev/null +++ b/view/php/minimal.php @@ -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 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>
+
|