Revision 1529
Added by Dietmar almost 13 years ago
settings.php | ||
---|---|---|
90 | 90 |
} |
91 | 91 |
|
92 | 92 |
// Setup template object, parse vars to it, then parse it |
93 |
$template = new Template(THEME_PATH.'/templates'); |
|
93 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_settings.htt')); |
|
94 |
// Create new template object |
|
95 |
$template = new Template($ThemePath); |
|
96 |
// $template->debug = true; |
|
94 | 97 |
$template->set_file('page', 'pages_settings.htt'); |
95 | 98 |
$template->set_block('page', 'main_block', 'main'); |
96 | 99 |
$template->set_var('FTAN', $admin->getFTAN()); |
Also available in: Unified diff
add new backend theme handling (Tks to Stefek)