Revision 1625
Added by Dietmar over 12 years ago
index.php | ||
---|---|---|
22 | 22 |
$ftan = $admin->getFTAN(); |
23 | 23 |
|
24 | 24 |
// Setup template object, parse vars to it, then parse it |
25 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('groups.htt')); |
|
26 | 25 |
// Create new template object |
27 |
$template = new Template($ThemePath);
|
|
26 |
$template = new Template(dirname($admin->correct_theme_source('groups.htt')));
|
|
28 | 27 |
// $template->debug = true; |
29 | 28 |
$template->set_file('page', 'groups.htt'); |
30 | 29 |
$template->set_block('page', 'main_block', 'main'); |
... | ... | |
96 | 95 |
$template->pparse('output', 'page'); |
97 | 96 |
|
98 | 97 |
// Setup template object, parse vars to it, then parse it |
99 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('groups_form.htt')); |
|
100 | 98 |
// Create new template object |
101 |
$template = new Template($ThemePath);
|
|
99 |
$template = new Template(dirname($admin->correct_theme_source('groups_form.htt')));
|
|
102 | 100 |
// $template->debug = true; |
103 | 101 |
$template->set_file('page', 'groups_form.htt'); |
104 | 102 |
$template->set_block('page', 'main_block', 'main'); |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files