diff options
-rwxr-xr-x | boot.php | 2 | ||||
-rw-r--r-- | view/pdl/mod_network.pdl | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -1872,6 +1872,7 @@ function construct_page(&$a) { if($comanche) { foreach($a->layout as $k => $v) { + logger('layout: ' . $k . ' ' . strlen($v)); if((strpos($k,'region_') === 0) && strlen($v)) { if(strpos($v,'$region_') !== false) { $v = preg_replace_callback('/\$region_([a-zA-Z0-9]+)/ism','comanche_replace_region',$v); @@ -1887,6 +1888,7 @@ function construct_page(&$a) { } $a->page[substr($k,7)] = $v; + } } } diff --git a/view/pdl/mod_network.pdl b/view/pdl/mod_network.pdl index e3d469842..168ca6acb 100644 --- a/view/pdl/mod_network.pdl +++ b/view/pdl/mod_network.pdl @@ -1,3 +1,4 @@ +[region=nav]$nav[/region] [region=aside] [widget=collections][/widget] [widget=archive][/widget] @@ -6,3 +7,4 @@ [widget=filer][/widget] [widget=notes][/widget] [/region] +[region=section]$content[/region]
\ No newline at end of file |