Project

General

Profile

« Previous | Next » 

Revision 1913

Added by Dietmar over 11 years ago

! /admin/addons/ change to new Translate class

View differences:

details.php
90 90
						)
91 91
				);
92 92

  
93
$mLang = ModLanguage::getInstance();
94
$mLang->setLanguage(ADMIN_PATH.'/addons/languages/', LANGUAGE, DEFAULT_LANGUAGE);
93
//$mLang = ModLanguage::getInstance();
94
//$mLang->setLanguage(ADMIN_PATH.'/addons/languages/', LANGUAGE, DEFAULT_LANGUAGE);
95
$mLang = Translate::getinstance();
96
$mLang->enableAddon('admin\addons');
95 97

  
96 98
/*-- insert all needed vars from language files ----------------------------------------*/
97 99
$template->set_var($mLang->getLangArray());

Also available in: Unified diff