Revision 1529
Added by Dietmar almost 13 years ago
sections.php | ||
---|---|---|
197 | 197 |
$jscal_use_time = true; // whether to use a clock, too |
198 | 198 |
require_once(WB_PATH."/include/jscalendar/wb-setup.php"); |
199 | 199 |
|
200 |
// Setup template object |
|
201 |
$tpl = new Template(THEME_PATH.'/templates'); |
|
200 |
// Setup template object, parse vars to it, then parse it |
|
201 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_sections.htt')); |
|
202 |
// Create new template object |
|
203 |
$tpl = new Template($ThemePath); |
|
204 |
// $template->debug = true; |
|
202 | 205 |
$tpl->set_file('page', 'pages_sections.htt'); |
203 | 206 |
$tpl->set_block('page', 'main_block', 'main'); |
204 | 207 |
$tpl->set_block('main_block', 'module_block', 'module_list'); |
Also available in: Unified diff
add new backend theme handling (Tks to Stefek)