aboutsummaryrefslogtreecommitdiffstats
path: root/view/php
diff options
context:
space:
mode:
Diffstat (limited to 'view/php')
-rw-r--r--view/php/default.php2
-rw-r--r--view/php/theme_init.php7
-rw-r--r--view/php/zen.php11
3 files changed, 15 insertions, 5 deletions
diff --git a/view/php/default.php b/view/php/default.php
index 01cd8a0d4..4c8311ef0 100644
--- a/view/php/default.php
+++ b/view/php/default.php
@@ -14,7 +14,7 @@
<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>
+ <aside id="region_3" class="hidden-sm hidden-xs"><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></aside>
</main>
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
</body>
diff --git a/view/php/theme_init.php b/view/php/theme_init.php
index 8168eb2c0..c1aeb4ab7 100644
--- a/view/php/theme_init.php
+++ b/view/php/theme_init.php
@@ -14,6 +14,7 @@ head_add_css('library/justifiedGallery/justifiedGallery.css');
head_add_js('jquery.js');
//head_add_js('jquery-migrate-1.1.1.js');
head_add_js('library/justifiedGallery/jquery.justifiedGallery.js');
+head_add_js('library/sprintf.js/dist/sprintf.min.js');
//head_add_js('jquery-compat.js');
head_add_js('spin.js');
@@ -41,18 +42,16 @@ head_add_js('library/jRange/jquery.range.js');
//head_add_js('docready.js');
head_add_js('library/colorbox/jquery.colorbox-min.js');
-
head_add_js('library/jquery.AreYouSure/jquery.are-you-sure.js');
head_add_js('library/tableofcontents/jquery.toc.js');
/**
* Those who require this feature will know what to do with it.
* Those who don't, won't.
* Eventually this functionality needs to be provided by a module
- * such that permissions can be enforced. At the moment it's
- * more of a proof of concept; but sufficient for our immediate needs.
+ * such that permissions can be enforced. At the moment it's
+ * more of a proof of concept; but sufficient for our immediate needs.
*/
$channel = get_app()->get_channel();
if($channel && file_exists($channel['channel_address'] . '.js'))
head_add_js('/' . $channel['channel_address'] . '.js');
-
diff --git a/view/php/zen.php b/view/php/zen.php
new file mode 100644
index 000000000..5b89e9c32
--- /dev/null
+++ b/view/php/zen.php
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title><?php if(x($page,'title')) echo $page['title'] ?></title>
+ <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
+ <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
+</head>
+<body>
+ <?php if(x($page,'content')) echo $page['content']; ?>
+</body>
+</html>