diff options
author | friendica <info@friendica.com> | 2013-12-13 01:13:35 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-13 01:13:35 -0800 |
commit | 64b16f1e1ac303b476ffac891c99f6404bc04f53 (patch) | |
tree | 0fbd0016b51840a50e994673445b9f12da1a29cf /boot.php | |
parent | 65c0b84313ed3c08e4512968e0030631c55bcbb4 (diff) | |
download | volse-hubzilla-64b16f1e1ac303b476ffac891c99f6404bc04f53.tar.gz volse-hubzilla-64b16f1e1ac303b476ffac891c99f6404bc04f53.tar.bz2 volse-hubzilla-64b16f1e1ac303b476ffac891c99f6404bc04f53.zip |
add construct_page hook
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1871,6 +1871,10 @@ function construct_page(&$a) { // layout completely with a new layout definition, or replace/remove existing content. if($comanche) { + $arr = array('module' => $a->module, 'layout' => $a->layout); + call_hooks('construct_page',$arr); + $a->layout = $arr['layout']; + foreach($a->layout as $k => $v) { if((strpos($k,'region_') === 0) && strlen($v)) { if(strpos($v,'$region_') !== false) { |