aboutsummaryrefslogtreecommitdiffstats
path: root/view/php/choklet.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-02 15:47:01 -0800
committerfriendica <info@friendica.com>2014-03-02 15:47:01 -0800
commite931af830701fdacc64e2cc014aa0057dc91e093 (patch)
tree65cc83d4219df007046fef9b6793d366db19bd0e /view/php/choklet.php
parenteb2b2f504c7cd36dd5ab473153202315e6a717fe (diff)
downloadvolse-hubzilla-e931af830701fdacc64e2cc014aa0057dc91e093.tar.gz
volse-hubzilla-e931af830701fdacc64e2cc014aa0057dc91e093.tar.bz2
volse-hubzilla-e931af830701fdacc64e2cc014aa0057dc91e093.zip
first cut at choklet template
Diffstat (limited to 'view/php/choklet.php')
-rw-r--r--view/php/choklet.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/view/php/choklet.php b/view/php/choklet.php
new file mode 100644
index 000000000..31b0b124c
--- /dev/null
+++ b/view/php/choklet.php
@@ -0,0 +1,23 @@
+<!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>
+ <div id="blog-margin">
+ <?php if(x($page,'nav')) echo $page['nav']; ?>
+ <div id="blog-banner"><?php if(x($page,'banner')) echo $page['banner']; ?></div>
+ <aside id="region_1"><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
+ <section id="region_2"><?php if(x($page,'content')) echo $page['content']; ?>
+ <div id="page-footer"></div>
+ <div id="pause"></div>
+ </section>
+ <aside id="region_3"><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></aside>
+ <div class="clear"></div>
+ <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
+ </div>
+</body>
+</html>
+