Rev 1036 | Rev 1050 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1036 | Rev 1041 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | // Note: Currently we do not use process_file() like in oidplus.min.js.php to fix relative paths |
29 | // Note: Currently we do not use process_file() like in oidplus.min.js.php to fix relative paths |
30 | // since this script currently has no relvate resources that need to be loaded |
30 | // since this script currently has no relvate resources that need to be loaded |
31 | $files[] = __DIR__ . '/../vendor/emn178/js-sha3/src/sha3.js'; // https://github.com/emn178/js-sha3 |
31 | $files[] = __DIR__ . '/../vendor/emn178/js-sha3/src/sha3.js'; // https://github.com/emn178/js-sha3 |
32 | $files[] = __DIR__ . '/../vendor/components/jquery/jquery.js'; |
32 | $files[] = __DIR__ . '/../vendor/components/jquery/jquery.js'; |
33 | 33 | ||
34 | $files[] = 'var DEFAULT_LANGUAGE = '.json_encode(OIDplus::DEFAULT_LANGUAGE).';'; |
34 | $files[] = 'var DEFAULT_LANGUAGE = '.json_encode(OIDplus::getDefaultLang()).';'; |
35 | 35 | ||
36 | OIDplus::registerAllPlugins('language', 'OIDplusLanguagePlugin', null); |
36 | OIDplus::registerAllPlugins('language', 'OIDplusLanguagePlugin', null); |
37 | $translation_array = OIDplus::getTranslationArray(); |
37 | $translation_array = OIDplus::getTranslationArray(); |
38 | $files[] = 'var language_messages = '.json_encode($translation_array).';'; |
38 | $files[] = 'var language_messages = '.json_encode($translation_array).';'; |
39 | 39 |