Revision 1625
Added by Luisehahne over 13 years ago
| details.php | ||
|---|---|---|
| 45 | 45 |
$admin = new admin('Addons', 'templates_view');
|
| 46 | 46 |
|
| 47 | 47 |
// Setup template object, parse vars to it, then parse it |
| 48 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('templates_details.htt'));
|
|
| 49 | 48 |
// Create new template object |
| 50 |
$template = new Template($ThemePath);
|
|
| 49 |
$template = new Template(dirname($admin->correct_theme_source('templates_details.htt')));
|
|
| 51 | 50 |
// $template->debug = true; |
| 52 | 51 |
$template->set_file('page', 'templates_details.htt');
|
| 53 | 52 |
$template->set_block('page', 'main_block', 'main');
|
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files