|
|
|
|
|
|
|
|
'templateContent'=>'maincontent.html' |
|
|
'templateContent'=>'maincontent.html' |
|
|
)); |
|
|
)); |
|
|
self::folder2(); |
|
|
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; |
|
|
break; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
'unpublish'=>'hidden' |
|
|
'unpublish'=>'hidden' |
|
|
), |
|
|
), |
|
|
'keyfiles'=>array( |
|
|
'keyfiles'=>array( |
|
|
|
|
|
'logo'=>array( |
|
|
|
|
|
'until'=>$f3->get("CONTENT"), |
|
|
|
|
|
'type'=>'pic' |
|
|
|
|
|
), |
|
|
'banner'=>array( |
|
|
'banner'=>array( |
|
|
'until'=>$f3->get("CONTENT"), |
|
|
'until'=>$f3->get("CONTENT"), |
|
|
'type'=>'pic' |
|
|
'type'=>'pic' |
|
|
|
|
|
|
|
|
//$banner = new \Modules\CachedImage($folder->extras['banner']); |
|
|
//$banner = new \Modules\CachedImage($folder->extras['banner']); |
|
|
$f3->set('banner',$folder->extras['banner']);//$banner->get_src(2000)); |
|
|
$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'] |
|
|
if ($folder->extras['background'] |
|
|
&& !$folder->config['supressBackground']) { |
|
|
&& !$folder->config['supressBackground']) { |
|
|
//$background = new \Modules\CachedImage($folder->extras['background']); |
|
|
//$background = new \Modules\CachedImage($folder->extras['background']); |