Project

General

Profile

« Previous | Next » 

Revision 1625

Added by Dietmar over 12 years ago

! update correct_theme_source and fixed the call in all files

View differences:

index.php
24 24
unset($_GET);
25 25

  
26 26
// Setup template object, parse vars to it, then parse it
27
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('users.htt'));
28 27
// Create new template object
29
$template = new Template($ThemePath);
28
$template = new Template(dirname($admin->correct_theme_source('users.htt')));
30 29
// $template->debug = true;
31 30

  
32 31
$template->set_file('page', 'users.htt');
......
118 117
$template->pparse('output', 'page');
119 118

  
120 119
// Setup template object, parse vars to it, then parse it
121
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('users_form.htt'));
122 120
// Create new template object
123
$template = new Template($ThemePath);
121
$template = new Template(dirname($admin->correct_theme_source('users_form.htt')));
124 122
// $template->debug = true;
125 123
$template->set_file('page', 'users_form.htt');
126 124
$template->set_block('page', 'main_block', 'main');

Also available in: Unified diff