|
|
|
@ -366,7 +366,7 @@ $langpath = api_get_path(SYS_LANG_PATH); |
|
|
|
|
if (api_get_self() == api_get_path(REL_PATH).'main/admin/sub_language.php' || api_get_self() == api_get_path(REL_PATH).'main/admin/sub_language_ajax.inc.php') { |
|
|
|
|
require_once '../admin/sub_language.class.php'; |
|
|
|
|
// getting the arrays of files i.e notification, trad4all, etc |
|
|
|
|
$language_files_to_load = SubLanguageManager::get_all_data_of_dokeos_folder(api_get_path(SYS_LANG_PATH).'english', true); |
|
|
|
|
$language_files_to_load = SubLanguageManager:: get_lang_folder_files_list(api_get_path(SYS_LANG_PATH).'english', true); |
|
|
|
|
//getting parent info |
|
|
|
|
$parent_language = SubLanguageManager::get_all_information_of_language(intval($_REQUEST['id'])); |
|
|
|
|
//getting sub language info |
|
|
|
|