Revision 1913
Added by Dietmar over 11 years ago
details.php | ||
---|---|---|
110 | 110 |
) |
111 | 111 |
); |
112 | 112 |
|
113 |
$mLang = ModLanguage::getInstance(); |
|
114 |
$mLang->setLanguage(ADMIN_PATH.'/addons/languages/', LANGUAGE, DEFAULT_LANGUAGE); |
|
113 |
//$mLang = ModLanguage::getInstance(); |
|
114 |
//$mLang->setLanguage(ADMIN_PATH.'/addons/languages/', LANGUAGE, DEFAULT_LANGUAGE); |
|
115 |
$mLang = Translate::getinstance(); |
|
116 |
$mLang->enableAddon('admin\addons'); |
|
115 | 117 |
|
116 | 118 |
/*-- insert all needed vars from language files ----------------------------------------*/ |
117 | 119 |
$template->set_var($mLang->getLangArray()); |
Also available in: Unified diff
! /admin/addons/ change to new Translate class