aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-21 18:03:22 -0700
committerfriendica <info@friendica.com>2012-07-21 18:03:22 -0700
commitc1fe66bec5fb2fe3ce3be2985036c0c8b006d7fd (patch)
tree33287e3bece27bd1316cb6e87e2d2cd8723875c1 /mod
parentf8107be85bf5482c6fc46b9cd4f46ae899ad4771 (diff)
downloadvolse-hubzilla-c1fe66bec5fb2fe3ce3be2985036c0c8b006d7fd.tar.gz
volse-hubzilla-c1fe66bec5fb2fe3ce3be2985036c0c8b006d7fd.tar.bz2
volse-hubzilla-c1fe66bec5fb2fe3ce3be2985036c0c8b006d7fd.zip
breakup css into page layout css, and provide module specific layout css - which should dramatically reduce the size of theme files and reduce load times
Diffstat (limited to 'mod')
-rw-r--r--mod/zregister.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/mod/zregister.php b/mod/zregister.php
index e55c9f5ba..2b8b0ebff 100644
--- a/mod/zregister.php
+++ b/mod/zregister.php
@@ -1,7 +1,12 @@
<?php
-if(! function_exists('register_post')) {
-function register_post(&$a) {
+
+function zregister_init(&$a) {
+ $a->page['layout'] = 'full';
+}
+
+
+function zregister_post(&$a) {
global $lang;
@@ -155,7 +160,7 @@ function register_post(&$a) {
}
return;
-}}
+}