Revision 2091
Added by darkviper almost 11 years ago
index.php | ||
---|---|---|
23 | 23 |
function build_page( &$admin, &$database ) |
24 | 24 |
{ |
25 | 25 |
// global $HEADING, $TEXT; |
26 |
$mLang = Translate::getinstance();
|
|
26 |
$mLang = Translate::getInstance();
|
|
27 | 27 |
$oReg = WbAdaptor::getInstance(); |
28 | 28 |
include_once(WB_PATH.'/framework/functions-utf8.php'); |
29 | 29 |
// Setup template object, parse vars to it, then parse it |
... | ... | |
32 | 32 |
$template = new Template(dirname($admin->correct_theme_source('preferences.htt'))); |
33 | 33 |
$template->set_file( 'page', 'preferences.htt' ); |
34 | 34 |
$template->set_block( 'page', 'main_block', 'main' ); |
35 |
$mLang = Translate::getinstance();
|
|
35 |
$mLang = Translate::getInstance();
|
|
36 | 36 |
// $mLang->enableAddon('admin\preferences'); |
37 | 37 |
$template->set_var($mLang->getLangArray()); |
38 | 38 |
|
Also available in: Unified diff
! several Files: corrected case sensitivity of ::getInstance()