|
|
@@ -22,6 +22,17 @@ class Page { |
|
|
|
'templateContent'=>'maincontent.html' |
|
|
|
)); |
|
|
|
self::folder2(); |
|
|
|
$footer = new \Modules\FilesInFolders( |
|
|
|
$f3->get('CONTENT')."footer/", |
|
|
|
array('content'=>array( |
|
|
|
'secondary'=>'secondary', |
|
|
|
'zzz'=>'hidden', |
|
|
|
'unpublish'=>'hidden' |
|
|
|
)) |
|
|
|
); |
|
|
|
$footer->prepare_files(); |
|
|
|
$footer->fill_content(); |
|
|
|
$f3->set('footer_content', implode("\n", $footer->content['default'])); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
@@ -63,6 +74,10 @@ class Page { |
|
|
|
'unpublish'=>'hidden' |
|
|
|
), |
|
|
|
'keyfiles'=>array( |
|
|
|
'logo'=>array( |
|
|
|
'until'=>$f3->get("CONTENT"), |
|
|
|
'type'=>'pic' |
|
|
|
), |
|
|
|
'banner'=>array( |
|
|
|
'until'=>$f3->get("CONTENT"), |
|
|
|
'type'=>'pic' |
|
|
@@ -105,6 +120,9 @@ class Page { |
|
|
|
//$banner = new \Modules\CachedImage($folder->extras['banner']); |
|
|
|
$f3->set('banner',$folder->extras['banner']);//$banner->get_src(2000)); |
|
|
|
} |
|
|
|
if (isset($folder->extras['logo'])) { |
|
|
|
$f3->set('logo', $folder->extras['logo']); |
|
|
|
} |
|
|
|
if ($folder->extras['background'] |
|
|
|
&& !$folder->config['supressBackground']) { |
|
|
|
//$background = new \Modules\CachedImage($folder->extras['background']); |