Revision 1625
Added by Dietmar over 12 years ago
sections.php | ||
---|---|---|
198 | 198 |
require_once(WB_PATH."/include/jscalendar/wb-setup.php"); |
199 | 199 |
|
200 | 200 |
// Setup template object, parse vars to it, then parse it |
201 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_sections.htt')); |
|
202 | 201 |
// Create new template object |
203 |
$tpl = new Template($ThemePath);
|
|
202 |
$tpl = new Template(dirname($admin->correct_theme_source('pages_sections.htt')));
|
|
204 | 203 |
// $template->debug = true; |
205 | 204 |
$tpl->set_file('page', 'pages_sections.htt'); |
206 | 205 |
$tpl->set_block('page', 'main_block', 'main'); |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files