Move registration and create_course language files to trad4all - refs #4467

1.10.x
Yannick Warnier 10 years ago
parent cd83504a44
commit 5ff099376f
  1. 2
      custompages/language.inc.php
  2. 2
      custompages/language.php
  3. 2
      main/admin/add_courses_to_usergroup.php
  4. 2
      main/admin/add_sessions_to_promotion.php
  5. 2
      main/admin/add_sessions_to_usergroup.php
  6. 2
      main/admin/add_students_to_session.php
  7. 2
      main/admin/add_teachers_to_session.php
  8. 2
      main/admin/add_users_to_group.php
  9. 2
      main/admin/add_users_to_session.php
  10. 2
      main/admin/add_users_to_usergroup.php
  11. 2
      main/admin/class_import.php
  12. 2
      main/admin/class_user_import.php
  13. 2
      main/admin/configure_inscription.php
  14. 2
      main/admin/configure_plugin.php
  15. 2
      main/admin/course_add.php
  16. 2
      main/admin/course_export.php
  17. 2
      main/admin/course_import.php
  18. 2
      main/admin/course_request_accepted.php
  19. 2
      main/admin/course_request_edit.php
  20. 2
      main/admin/course_request_rejected.php
  21. 2
      main/admin/course_request_review.php
  22. 2
      main/admin/course_user_import.php
  23. 2
      main/admin/course_user_import_by_email.php
  24. 2
      main/admin/filler.php
  25. 2
      main/admin/group_add.php
  26. 2
      main/admin/group_list.php
  27. 2
      main/admin/inactive_user_list.php
  28. 1
      main/admin/ldap_import_students.php
  29. 1
      main/admin/ldap_import_students_to_session.php
  30. 1
      main/admin/ldap_users_list.php
  31. 2
      main/admin/legal_add.php
  32. 2
      main/admin/session_course_user_list.php
  33. 2
      main/admin/session_import.php
  34. 2
      main/admin/session_import_drh.php
  35. 2
      main/admin/session_user_import.php
  36. 2
      main/admin/skills_import.php
  37. 2
      main/admin/style_preview.php
  38. 2
      main/admin/system_status.php
  39. 2
      main/admin/user_add.php
  40. 2
      main/admin/user_edit.php
  41. 2
      main/admin/user_fields.php
  42. 2
      main/admin/user_fields_add.php
  43. 2
      main/admin/user_fields_options.php
  44. 2
      main/admin/user_import.php
  45. 2
      main/admin/user_information.php
  46. 2
      main/admin/user_list.php
  47. 2
      main/admin/user_update_import.php
  48. 2
      main/admin/usergroup_import.php
  49. 2
      main/admin/usergroup_user_import.php
  50. 4
      main/auth/courses.php
  51. 2
      main/auth/inscription.php
  52. 3
      main/auth/lostPassword.php
  53. 2
      main/auth/my_progress.php
  54. 5
      main/auth/profile.php
  55. 2
      main/course_info/infocours.php
  56. 2
      main/course_info/legal.php
  57. 2
      main/course_info/maintenance.php
  58. 2
      main/course_info/maintenance_coach.php
  59. 2
      main/course_info/start.php
  60. 2
      main/create_course/add_course.php
  61. 4
      main/cron/lang/langstats.php
  62. 2
      main/cron/lang/langstats_file_builder.php
  63. 2
      main/cron/user_import/resend_email_with_new_password.php
  64. 2
      main/document/document.php
  65. 2
      main/document/document_lite.php
  66. 2
      main/group/import.php
  67. 2
      main/inc/ajax/extra_field.ajax.php
  68. 2
      main/inc/ajax/user_manager.ajax.php
  69. 2
      main/inc/course_document.inc.php
  70. 2
      main/inc/email_editor.php
  71. 3
      main/messages/inbox.php
  72. 3
      main/messages/outbox.php
  73. 1
      main/messages/view_message.php
  74. 2
      main/mySpace/access_details.php
  75. 2
      main/mySpace/admin.php
  76. 2
      main/mySpace/admin_view.php
  77. 2
      main/mySpace/coaches.php
  78. 2
      main/mySpace/course.php
  79. 2
      main/mySpace/current_courses.php
  80. 2
      main/mySpace/index.php
  81. 2
      main/mySpace/progression.php
  82. 2
      main/mySpace/reussite.php
  83. 2
      main/mySpace/session.php
  84. 2
      main/mySpace/student.php
  85. 2
      main/mySpace/teachers.php
  86. 2
      main/mySpace/user_add.php
  87. 2
      main/mySpace/user_import.php
  88. 2
      main/mySpace/users.php
  89. 3
      main/social/message_for_group_form.inc.php
  90. 2
      main/social/profile_friends_and_groups.inc.php
  91. 2
      main/social/search.php
  92. 2
      main/survey/fillsurvey.php
  93. 2
      main/timeline/index.php
  94. 2
      main/timeline/view.php
  95. 2
      main/tracking/course_session_report.php
  96. 2
      main/tracking/exams.php
  97. 2
      main/tracking/lp_results_by_user.php
  98. 2
      main/tracking/question_course_report.php
  99. 2
      main/user/add_users_to_session.php
  100. 2
      main/user/class.php
  101. Some files were not shown because too many files have changed in this diff Show More

@ -59,7 +59,7 @@ $chamilo_langs = array(null => 'english', 'en' => 'english', 'fr' => 'french', '
$available_langs = array('en','fr'); $available_langs = array('en','fr');
// Which language files will we need ? // Which language files will we need ?
$language_file = array('registration', 'admin'); $language_file = array('admin');
// Let's find out which language to serve to this particular browser // Let's find out which language to serve to this particular browser
$lang_match = $chamilo_langs[get_preferred_language($available_langs)]; $lang_match = $chamilo_langs[get_preferred_language($available_langs)];

@ -35,7 +35,7 @@ function custompages_get_lang($variable) {
return get_lang($variable, null, $_SESSION['user_language_choice']); return get_lang($variable, null, $_SESSION['user_language_choice']);
} }
$language_file = array('registration', 'admin'); $language_file = array('admin');
$available_langs = array('en', 'fr', 'es'); $available_langs = array('en', 'fr', 'es');
$chamilo_langs = array(null => 'english', 'en' => 'english', 'fr' => 'french', 'nl' => 'dutch', 'de' => 'german', 'es' => 'spanish'); $chamilo_langs = array(null => 'english', 'en' => 'english', 'fr' => 'french', 'nl' => 'dutch', 'de' => 'german', 'es' => 'spanish');
$lang_match = $chamilo_langs[get_preferred_language($available_langs)]; $lang_match = $chamilo_langs[get_preferred_language($available_langs)];

@ -5,7 +5,7 @@
*/ */
// Name of the language file that needs to be included. // Name of the language file that needs to be included.
$language_file = array('admin', 'registration'); $language_file = array('admin');
// Resetting the course id. // Resetting the course id.
$cidReset = true; $cidReset = true;

@ -5,7 +5,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin','registration'); $language_file = array('admin');
// resetting the course id // resetting the course id
$cidReset = true; $cidReset = true;

@ -5,7 +5,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file=array('admin','registration'); $language_file=array('admin');
// resetting the course id // resetting the course id
$cidReset=true; $cidReset=true;

@ -5,7 +5,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin','registration'); $language_file = array('admin');
// resetting the course id // resetting the course id
$cidReset = true; $cidReset = true;

@ -5,7 +5,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin','registration'); $language_file = array('admin');
// resetting the course id // resetting the course id
$cidReset = true; $cidReset = true;

@ -5,7 +5,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin', 'registration'); $language_file = array('admin');
// resetting the course id // resetting the course id
$cidReset = true; $cidReset = true;

@ -6,7 +6,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin','registration'); $language_file = array('admin');
// resetting the course id // resetting the course id
$cidReset = true; $cidReset = true;

@ -5,7 +5,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin','registration'); $language_file = array('admin');
// resetting the course id // resetting the course id
$cidReset = true; $cidReset = true;

@ -47,7 +47,7 @@ function save_data($classes) {
} }
// Language files that should be included. // Language files that should be included.
$language_file = array ('admin', 'registration'); $language_file = array ('admin');
// Resetting the course id. // Resetting the course id.
$cidReset = true; $cidReset = true;

@ -131,7 +131,7 @@ function parse_csv_data($file) {
return $courses; return $courses;
} }
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -6,7 +6,7 @@
* @package chamilo.admin * @package chamilo.admin
*/ */
$language_file = array('registration', 'admin'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -8,7 +8,7 @@
use \ChamiloSession as Session; use \ChamiloSession as Session;
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('registration', 'admin'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -6,7 +6,7 @@
*/ */
// Language files that need to be included. // Language files that need to be included.
$language_file = array('admin', 'create_course'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -7,7 +7,7 @@
/** /**
* Code * Code
*/ */
$language_file = array ('admin', 'registration','create_course', 'document'); $language_file = array ('admin', 'document');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -155,7 +155,7 @@ function parse_csv_data($file)
return $courses; return $courses;
} }
$language_file = array('admin', 'registration','create_course', 'document'); $language_file = array('admin', 'document');
$cidReset = true; $cidReset = true;

@ -12,7 +12,7 @@
*/ */
// Language files that need to be included. // Language files that need to be included.
$language_file = array('admin', 'create_course'); $language_file = array('admin');
$cidReset = true; $cidReset = true;

@ -8,7 +8,7 @@
*/ */
// Language files that need to be included. // Language files that need to be included.
$language_file = array('admin', 'create_course'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -12,7 +12,7 @@
*/ */
// Language files that need to be included. // Language files that need to be included.
$language_file = array('admin', 'create_course'); $language_file = array('admin');
$cidReset = true; $cidReset = true;

@ -11,7 +11,7 @@
*/ */
// Language files that need to be included. // Language files that need to be included.
$language_file = array('admin', 'create_course'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -134,7 +134,7 @@ function parse_csv_data($file)
} }
// Language files that should be included, // Language files that should be included,
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
include '../inc/global.inc.php'; include '../inc/global.inc.php';

@ -139,7 +139,7 @@ function parse_csv_data($file)
} }
// Language files that should be included, // Language files that should be included,
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
include '../inc/global.inc.php'; include '../inc/global.inc.php';

@ -6,7 +6,7 @@
* @package chamilo.admin * @package chamilo.admin
*/ */
// name of the language file that needs to be included <br /> // name of the language file that needs to be included <br />
$language_file = array('admin','tracking','create_course'); $language_file = array('admin','tracking');
// resetting the course id // resetting the course id
$cidReset = true; $cidReset = true;

@ -5,7 +5,7 @@
*/ */
// Language files that should be included // Language files that should be included
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;

@ -7,7 +7,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('registration', 'admin'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -10,7 +10,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ('registration','admin'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -10,7 +10,6 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file[]='admin'; $language_file[]='admin';
$language_file[]='registration';
// resetting the course id // resetting the course id
$cidReset=true; $cidReset=true;
require_once('../inc/global.inc.php'); require_once('../inc/global.inc.php');

@ -10,7 +10,6 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file[]='admin'; $language_file[]='admin';
$language_file[]='registration';
// resetting the course id // resetting the course id
$cidReset=true; $cidReset=true;
require_once('../inc/global.inc.php'); require_once('../inc/global.inc.php');

@ -8,7 +8,6 @@
* Init * Init
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file[] = 'registration';
$language_file[] = 'admin'; $language_file[] = 'admin';
$cidReset = true; $cidReset = true;
require('../inc/global.inc.php'); require('../inc/global.inc.php');

@ -7,7 +7,7 @@
/** /**
* Code * Code
*/ */
$language_file = array('admin','registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
$this_section = SECTION_PLATFORM_ADMIN; $this_section = SECTION_PLATFORM_ADMIN;

@ -4,7 +4,7 @@
/** /**
* @package chamilo.admin * @package chamilo.admin
*/ */
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -5,7 +5,7 @@
* @package chamilo.admin * @package chamilo.admin
*/ */
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -5,7 +5,7 @@
* @package chamilo.admin * @package chamilo.admin
*/ */
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -5,7 +5,7 @@
* @package chamilo.admin * @package chamilo.admin
*/ */
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -8,7 +8,7 @@
/** /**
* Validate the imported data. * Validate the imported data.
*/ */
$language_file = array ('admin', 'registration'); $language_file = array ('admin');
$cidReset = true; $cidReset = true;
require '../inc/global.inc.php'; require '../inc/global.inc.php';

@ -10,7 +10,7 @@
// @deprecated This page is not used // @deprecated This page is not used
exit; exit;
$language_file = array('create_course', 'admin'); $language_file = array('admin');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -6,7 +6,7 @@
*/ */
// Language files that should be included // Language files that should be included
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -5,7 +5,7 @@
*/ */
// Language files that should be included // Language files that should be included
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
// Including necessary libraries. // Including necessary libraries.
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -5,7 +5,7 @@
*/ */
// Language files that should be included // Language files that should be included
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -4,7 +4,7 @@
* @package chamilo.admin * @package chamilo.admin
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
// including necessary libraries // including necessary libraries

@ -4,7 +4,7 @@
* @package chamilo.admin * @package chamilo.admin
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin','registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
// including necessary libraries // including necessary libraries

@ -4,7 +4,7 @@
* @package chamilo.admin * @package chamilo.admin
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin', 'registration'); $language_file = array('admin');
// resetting the course information // resetting the course information
$cidReset = true; $cidReset = true;

@ -9,7 +9,7 @@
* Validate the imported data. * Validate the imported data.
*/ */
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require '../inc/global.inc.php'; require '../inc/global.inc.php';

@ -7,7 +7,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('registration', 'tracking', 'exercice', 'admin', 'gradebook'); $language_file = array('tracking', 'exercice', 'admin', 'gradebook');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
$this_section = SECTION_PLATFORM_ADMIN; $this_section = SECTION_PLATFORM_ADMIN;

@ -7,7 +7,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('registration','admin'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -9,7 +9,7 @@
* Validate the imported data. * Validate the imported data.
*/ */
$language_file = array ('admin', 'registration'); $language_file = array ('admin');
$cidReset = true; $cidReset = true;
require '../inc/global.inc.php'; require '../inc/global.inc.php';

@ -72,7 +72,7 @@ function save_data($classes)
} }
// Language files that should be included. // Language files that should be included.
$language_file = array('admin', 'registration'); $language_file = array('admin');
// Resetting the course id. // Resetting the course id.
$cidReset = true; $cidReset = true;

@ -122,7 +122,7 @@ function parse_csv_data($file) {
return $courses; return $courses;
} }
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -7,10 +7,6 @@
* @author Christian Fasanando <christian1827@gmail.com> - Beeznest * @author Christian Fasanando <christian1827@gmail.com> - Beeznest
* @package chamilo.auth * @package chamilo.auth
*/ */
// Names of the language file that needs to be included.
$language_file = array ('registration');
// Delete the globals['_cid'], we don't need it here. // Delete the globals['_cid'], we don't need it here.
$cidReset = true; // Flag forcing the 'current course' reset $cidReset = true; // Flag forcing the 'current course' reset

@ -8,7 +8,7 @@
use \ChamiloSession as Session; use \ChamiloSession as Session;
$language_file = array('registration', 'admin'); $language_file = array('admin');
//quick hack to adapt the registration form result to the selected registration language //quick hack to adapt the registration form result to the selected registration language
if (!empty($_POST['language'])) { if (!empty($_POST['language'])) {

@ -17,9 +17,6 @@
/** /**
* Code * Code
*/ */
// name of the language file that needs to be included
$language_file = array('registration');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
// Custom pages // Custom pages

@ -8,7 +8,7 @@
* Code * Code
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('registration', 'tracking', 'exercice', 'admin', 'learnpath'); $language_file = array('tracking', 'exercice', 'admin', 'learnpath');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -8,9 +8,6 @@
* *
* @package chamilo.auth * @package chamilo.auth
*/ */
// Language files that should be included.
$language_file = array('registration');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
@ -192,7 +189,7 @@ if (is_profile_editable() && api_get_setting('openid_authentication') == 'true')
} }
// PHONE // PHONE
$form->addElement('text', 'phone', get_lang('phone'), array('size' => 20)); $form->addElement('text', 'phone', get_lang('Phone'), array('size' => 20));
if (api_get_setting('profile', 'phone') !== 'true') { if (api_get_setting('profile', 'phone') !== 'true') {
$form->freeze('phone'); $form->freeze('phone');
} }

@ -15,7 +15,7 @@
*/ */
// Language files that need to be included // Language files that need to be included
$language_file = array('create_course', 'admin', 'gradebook', 'document'); $language_file = array('admin', 'gradebook', 'document');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
$current_course_tool = TOOL_COURSE_SETTING; $current_course_tool = TOOL_COURSE_SETTING;
$this_section = SECTION_COURSES; $this_section = SECTION_COURSES;

@ -4,7 +4,7 @@
use \ChamiloSession as Session; use \ChamiloSession as Session;
// Language files that need to be included // Language files that need to be included
$language_file = array('create_course', 'admin'); $language_file = array('admin');
$cidReset = true; $cidReset = true;

@ -9,7 +9,7 @@
*/ */
// Language files that need to be included // Language files that need to be included
$language_file = array('admin','create_course'); $language_file = array('admin');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
$current_course_tool = TOOL_COURSE_MAINTENANCE; $current_course_tool = TOOL_COURSE_MAINTENANCE;
$this_section = SECTION_COURSES; $this_section = SECTION_COURSES;

@ -10,7 +10,7 @@
* Code * Code
*/ */
// Language files that need to be included // Language files that need to be included
$language_file = array('admin', 'create_course'); $language_file = array('admin');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -3,7 +3,7 @@
use \ChamiloSession as Session; use \ChamiloSession as Session;
$language_file = array('create_course', 'registration', 'admin', 'exercice'); $language_file = array('admin', 'exercice');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -14,7 +14,7 @@
use \ChamiloSession as Session; use \ChamiloSession as Session;
// Name of the language file that needs to be included. // Name of the language file that needs to be included.
$language_file = array('create_course', 'registration', 'admin', 'exercice'); $language_file = array('admin', 'exercice');
// Flag forcing the "current course" reset. // Flag forcing the "current course" reset.
$cidReset = true; $cidReset = true;

@ -13,12 +13,12 @@
*/ */
die(); die();
$language_file = array( $language_file = array(
'gradebook', 'registration', 'admin', 'gradebook', 'admin',
'help', 'reservation', 'hotspot', 'help', 'reservation', 'hotspot',
'scormdocument', 'scormdocument',
'install', 'shibboleth', 'install', 'shibboleth',
'learnpath', 'survey', 'learnpath', 'survey',
'tracking', 'create_course', 'tracking',
'trad4all', 'document', 'trad4all', 'document',
'exercice', 'wiki', 'exercice', 'wiki',
); );

@ -14,7 +14,6 @@
*/ */
$language_file = array( $language_file = array(
'admin', 'admin',
'create_course',
'document', 'document',
'exercice', 'exercice',
'gradebook', 'gradebook',
@ -22,7 +21,6 @@ $language_file = array(
'hotspot', 'hotspot',
'install', 'install',
'learnpath', 'learnpath',
'registration',
'reservation', 'reservation',
'scormdocument', 'scormdocument',
'shibboleth', 'shibboleth',

@ -20,7 +20,7 @@
die(); die();
//change filename depending on file containing mails list, with one e-mail per line. //change filename depending on file containing mails list, with one e-mail per line.
$list = file('input.txt'); $list = file('input.txt');
$language_file = array('admin', 'registration'); $language_file = array('admin');
require_once '../../inc/global.inc.php'; require_once '../../inc/global.inc.php';
$users = Database::get_main_table(TABLE_MAIN_USER); $users = Database::get_main_table(TABLE_MAIN_USER);
/** /**

@ -29,7 +29,7 @@
use \ChamiloSession as Session; use \ChamiloSession as Session;
// Language files that need to be included // Language files that need to be included
$language_file = array('document', 'gradebook', 'create_course'); $language_file = array('document', 'gradebook');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
$current_course_tool = TOOL_DOCUMENT; $current_course_tool = TOOL_DOCUMENT;
$this_section = SECTION_COURSES; $this_section = SECTION_COURSES;

@ -12,7 +12,7 @@ exit;
// Language files that need to be included // Language files that need to be included
$language_file = array('document', 'gradebook', 'create_course'); $language_file = array('document', 'gradebook');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES; $this_section = SECTION_COURSES;

@ -2,7 +2,7 @@
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
// Name of the language file that needs to be included // Name of the language file that needs to be included
$language_file = array('admin', 'registration'); $language_file = array('admin');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES; $this_section = SECTION_COURSES;

@ -1,7 +1,7 @@
<?php <?php
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
$language_file = array('admin', 'registration'); $language_file = array('admin');
require_once '../global.inc.php'; require_once '../global.inc.php';
$action = $_GET['a']; $action = $_GET['a'];

@ -3,7 +3,7 @@
/** /**
* Responses to AJAX calls * Responses to AJAX calls
*/ */
$language_file = array('admin', 'registration'; $language_file = array('admin');
require_once '../global.inc.php'; require_once '../global.inc.php';
$action = $_GET['a']; $action = $_GET['a'];

@ -3,7 +3,7 @@
/* INIT SECTION */ /* INIT SECTION */
$language_file = array('create_course', 'document'); $language_file = array('document');
require 'global.inc.php'; require 'global.inc.php';
/* Libraries */ /* Libraries */

@ -13,7 +13,7 @@
use \ChamiloSession as Session; use \ChamiloSession as Session;
$language_file = array('admin', 'registration'); $language_file = array('admin');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -3,9 +3,6 @@
/** /**
* @package chamilo.messages * @package chamilo.messages
*/ */
// name of the language file that needs to be included
$language_file = array('registration');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -3,9 +3,6 @@
/** /**
* @package chamilo.messages * @package chamilo.messages
*/ */
// name of the language file that needs to be included
$language_file = array('registration');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -3,7 +3,6 @@
/** /**
* @package chamilo.messages * @package chamilo.messages
*/ */
$language_file = array('registration');
$cidReset= true; $cidReset= true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
api_block_anonymous_users(); api_block_anonymous_users();

@ -16,7 +16,7 @@
* Code * Code
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ('registration', 'tracking'); $language_file = array('tracking');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -10,7 +10,7 @@
ob_start(); ob_start();
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('registration', 'trad4all', 'tracking'); $language_file = array('trad4all', 'tracking');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -1,7 +1,7 @@
<?php <?php
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
$language_file = array('registration', 'tracking', 'admin', 'exercice'); $language_file = array('tracking', 'admin', 'exercice');
$cidReset = true; $cidReset = true;

@ -10,7 +10,7 @@
ob_start(); ob_start();
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ('registration', 'tracking', 'admin'); $language_file = array('tracking', 'admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -10,7 +10,7 @@
ob_start(); ob_start();
$nameTools = 'Cours'; $nameTools = 'Cours';
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin', 'registration', 'tracking'); $language_file = array('admin', 'tracking');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -7,7 +7,7 @@
/** /**
* Code * Code
*/ */
$language_file = array ('registration', 'tracking', 'exercice','admin'); $language_file = array ('tracking', 'exercice','admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
$this_section = SECTION_TRACKING; $this_section = SECTION_TRACKING;

@ -6,7 +6,7 @@
* @package chamilo.reporting * @package chamilo.reporting
*/ */
$language_file = array('registration', 'tracking', 'admin', 'exercice', 'gradebook'); $language_file = array('tracking', 'admin', 'exercice', 'gradebook');
// resetting the course id // resetting the course id
$cidReset = true; $cidReset = true;

@ -10,7 +10,7 @@
*/ */
// TODO: This file seems to be unfinished and unused. // TODO: This file seems to be unfinished and unused.
$language_file = array ('registration', 'tracking'); $language_file = array('tracking');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -11,7 +11,7 @@
$nameTools = 'Reussite'; $nameTools = 'Reussite';
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ('registration', 'trad4all', 'tracking'); $language_file = array ('trad4all', 'tracking');
$cidReset = true; $cidReset = true;
require '../inc/global.inc.php'; require '../inc/global.inc.php';

@ -6,7 +6,7 @@
*/ */
ob_start(); ob_start();
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('registration', 'trad4all', 'tracking', 'admin'); $language_file = array('trad4all', 'tracking', 'admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
require_once api_get_path(LIBRARY_PATH).'export.lib.inc.php'; require_once api_get_path(LIBRARY_PATH).'export.lib.inc.php';

@ -6,7 +6,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ('registration', 'tracking', 'admin'); $language_file = array ('tracking', 'admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -8,7 +8,7 @@
* Code * Code
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ('registration', 'tracking', 'admin'); $language_file = array ('tracking', 'admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -8,7 +8,7 @@
* Code * Code
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin', 'registration'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
exit; //@deprecated file seems to be unused exit; //@deprecated file seems to be unused

@ -9,7 +9,7 @@
/** /**
* Main script * Main script
*/ */
$language_file = array ('admin', 'registration', 'trad4all', 'tracking'); $language_file = array ('admin', 'trad4all', 'tracking');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -8,7 +8,7 @@
* Code * Code
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ('registration', 'tracking', 'admin'); $language_file = array ('tracking', 'admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -5,8 +5,7 @@
* Form for group message * Form for group message
* @package chamilo.social * @package chamilo.social
*/ */
$language_file = array('admin');
$language_file = array('registration', 'admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -8,7 +8,7 @@
/** /**
* Initialization * Initialization
*/ */
$language_file = array('registration', 'admin'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -6,7 +6,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('registration', 'admin'); $language_file = array('admin');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -470,7 +470,7 @@ if ($survey_data['form_fields'] != '' && $survey_data['anonymous'] == 0 && is_ar
if ($list['phone'] == 1) { if ($list['phone'] == 1) {
// PHONE // PHONE
$form->addElement('text', 'phone', get_lang('phone'), array('size' => 20)); $form->addElement('text', 'phone', get_lang('Phone'), array('size' => 20));
if (api_get_setting('profile', 'phone') !== 'true') { if (api_get_setting('profile', 'phone') !== 'true') {
$form->freeze('phone'); $form->freeze('phone');
} }

@ -8,7 +8,7 @@
* Init * Init
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ('registration','admin'); $language_file = array('admin');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
require_once api_get_path(LIBRARY_PATH).'timeline.lib.php'; require_once api_get_path(LIBRARY_PATH).'timeline.lib.php';

@ -6,7 +6,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ('registration','admin'); $language_file = array ('admin');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
require_once api_get_path(LIBRARY_PATH).'timeline.lib.php'; require_once api_get_path(LIBRARY_PATH).'timeline.lib.php';

@ -6,7 +6,7 @@
* @package chamilo.tracking * @package chamilo.tracking
*/ */
$language_file = array ('registration', 'index', 'tracking', 'exercice','survey'); $language_file = array ('tracking', 'exercice','survey');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
require_once api_get_path(LIBRARY_PATH).'pear/Spreadsheet_Excel_Writer/Writer.php'; require_once api_get_path(LIBRARY_PATH).'pear/Spreadsheet_Excel_Writer/Writer.php';

@ -8,7 +8,7 @@
* Code * Code
*/ */
$language_file = array('registration', 'tracking', 'exercice','survey'); $language_file = array('tracking', 'exercice','survey');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
require_once api_get_path(LIBRARY_PATH).'pear/Spreadsheet_Excel_Writer/Writer.php'; require_once api_get_path(LIBRARY_PATH).'pear/Spreadsheet_Excel_Writer/Writer.php';

@ -11,7 +11,7 @@
* Code * Code
*/ */
$language_file = array ('registration', 'tracking', 'exercice','survey'); $language_file = array ('tracking', 'exercice','survey');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'; require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php';

@ -6,7 +6,7 @@
* @package chamilo.tracking * @package chamilo.tracking
*/ */
$language_file = array('registration', 'tracking', 'exercice','survey'); $language_file = array('tracking', 'exercice', 'survey');
$cidReset = true; $cidReset = true;
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

@ -5,7 +5,7 @@
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('admin','registration'); $language_file = array('admin');
// resetting the course id // resetting the course id
$cidReset = true; $cidReset = true;

@ -7,7 +7,7 @@
* INIT SECTION * INIT SECTION
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array('registration','admin'); $language_file = array('admin');
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES; $this_section = SECTION_COURSES;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save