aboutsummaryrefslogtreecommitdiffstats
path: root/view/php/doubleright.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-25 08:53:03 +0000
committerMario <mario@mariovavti.com>2023-05-25 08:53:03 +0000
commit4c2dc2bf16083bc59ff95327053cbbb9e8447caa (patch)
tree0ff5664b0c0592487fcb7763491a7a20d95f2aff /view/php/doubleright.php
parentaf5ae163f39c5cbb1f2cc07b62d654c1e0b71753 (diff)
parente6eb2a847637fe4cc2f9d3e0f5c137f9b56b419d (diff)
downloadvolse-hubzilla-4c2dc2bf16083bc59ff95327053cbbb9e8447caa.tar.gz
volse-hubzilla-4c2dc2bf16083bc59ff95327053cbbb9e8447caa.tar.bz2
volse-hubzilla-4c2dc2bf16083bc59ff95327053cbbb9e8447caa.zip
Merge branch 'dev' into 'dev'
double columns templates See merge request hubzilla/core!2035
Diffstat (limited to 'view/php/doubleright.php')
-rw-r--r--view/php/doubleright.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/view/php/doubleright.php b/view/php/doubleright.php
new file mode 100644
index 000000000..2a470109a
--- /dev/null
+++ b/view/php/doubleright.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * * Name: default
+ * * Description: Hubzilla 2-column layout with left adside wrapper based on default template by Mario Vavti
+ * * Version: 1
+ * * Author: zlax
+ * * Maintainer: zlax
+ * * ContentRegion: content, region_1
+ * * ContentRegion: right_aside, right_aside_wrapper
+ */
+?>
+<!DOCTYPE html >
+<html prefix="og: http://ogp.me/ns#" <?php if(x($page,'color_mode')) echo $page['color_mode'] ?>>
+<head>
+ <title><?php if(x($page,'title')) echo $page['title'] ?></title>
+ <script>var baseurl="<?php echo z_root() ?>";</script>
+ <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
+</head>
+<body <?php if($page['direction']) echo 'dir="rtl"' ?> >
+ <?php if(x($page,'banner')) echo $page['banner']; ?>
+ <header><?php if(x($page,'header')) echo $page['header']; ?></header>
+ <?php if(x($page,'nav')) echo $page['nav']; ?>
+ <main>
+ <div class="content">
+ <div class="columns">
+ <section id="region_1"><?php if(x($page,'content')) echo $page['content']; ?>
+ <div id="page-footer"></div>
+ <div id="pause"></div>
+ </section>
+ <aside id="region_2" class="d-none d-xl-block"><div class="aside_spacer_top_right"></div><div class="aside_spacer_right"><div id="right_aside_wrapper" class="aside_wrapper"><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></div></div></aside>
+ </div>
+ </div>
+ </main>
+ <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
+</body>
+</html>