aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-20 16:28:17 -0800
committerfriendica <info@friendica.com>2013-11-20 16:28:17 -0800
commiteb3d8e2cd7e2bd51035918b4106d1c29b6605505 (patch)
tree812acf5cbf36a4924c6ce8ae3881069d33a1366b
parent5315c88621719c93235f4d2d8a93eed29d7ae851 (diff)
downloadvolse-hubzilla-eb3d8e2cd7e2bd51035918b4106d1c29b6605505.tar.gz
volse-hubzilla-eb3d8e2cd7e2bd51035918b4106d1c29b6605505.tar.bz2
volse-hubzilla-eb3d8e2cd7e2bd51035918b4106d1c29b6605505.zip
provide a page template "none" which lets a webpage take over the entire page. Everything. The application is essentially bypassed. You'll need doctype and html and head and body tags in your content as none of them are supplied. There are no page regions. Nada. We should probably restrict this to those who have code exec in their account_roles but other folks won't be able to do very much useful with it anyway as their HTML is filtered.
-rw-r--r--view/php/none.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/php/none.php b/view/php/none.php
new file mode 100644
index 000000000..51d0e83dc
--- /dev/null
+++ b/view/php/none.php
@@ -0,0 +1 @@
+<?php if(x($page,'content')) echo $page['content']; ?>