Added todo message for now

skala
ywarnier 14 years ago
parent 8414ce9a3f
commit de133cf58e
  1. 2
      main/admin/sub_language_ajax.inc.php

@ -22,6 +22,8 @@ if (isset($new_language) && isset($language_variable) && isset($file_id)) {
SubLanguageManager::add_file_in_language_directory ($dokeos_path_folder);
//update variable language
//@todo add filter for double quotes, to avoid breaking the string
//could be something like preg_replace('/.*[^\\]".*/','\"',api_...) ?
$all_file_of_directory[$language_variable]="\"".api_convert_encoding($new_language,$charset,'UTF-8')."\";";
foreach ($all_file_of_directory as $key_value=>$value_info) {

Loading…
Cancel
Save