Revision 2098
Added by darkviper almost 11 years ago
index.php | ||
---|---|---|
20 | 20 |
function admin_groups_index() |
21 | 21 |
{ |
22 | 22 |
$database = WbDatabase::getInstance(); |
23 |
$mLang = Translate::getInstance();
|
|
24 |
$mLang->enableAddon('admin\groups');
|
|
23 |
$oLang = Translate::getInstance();
|
|
24 |
$oLang->enableAddon('admin\groups');
|
|
25 | 25 |
|
26 | 26 |
$mod_path = dirname(str_replace('\\', '/', __FILE__)); |
27 | 27 |
$mod_name = basename($mod_path); |
Also available in: Unified diff
! activate class Translate for all addons in admin/ (except pages/)
! class.admin >> add translation of the current theme to Translate