Переглянути джерело

Move survey, gradebook, wiki, learnpath, tracking, document, exercice, help and admin language files to trad4all - refs #4467

Yannick Warnier 10 роки тому
батько
коміт
d575fa47a3
100 змінених файлів з 0 додано та 274 видалено
  1. 0 2
      404.php
  2. 0 2
      certificates/index.php
  3. 0 3
      custompages/language.inc.php
  4. 0 1
      custompages/language.php
  5. 0 3
      main/admin/access_url_add_courses_to_url.php
  6. 0 3
      main/admin/access_url_add_usergroup_to_url.php
  7. 0 3
      main/admin/access_url_add_users_to_url.php
  8. 0 3
      main/admin/access_url_check_user_session.php
  9. 0 2
      main/admin/access_url_edit.php
  10. 0 4
      main/admin/access_url_edit_course_category_to_url.php
  11. 0 4
      main/admin/access_url_edit_courses_to_url.php
  12. 0 4
      main/admin/access_url_edit_usergroup_to_url.php
  13. 0 3
      main/admin/access_url_edit_users_to_url.php
  14. 0 2
      main/admin/access_urls.php
  15. 0 4
      main/admin/add_courses_to_session.php
  16. 0 4
      main/admin/add_courses_to_usergroup.php
  17. 0 3
      main/admin/add_many_session_to_category.php
  18. 0 4
      main/admin/add_sessions_to_promotion.php
  19. 0 4
      main/admin/add_sessions_to_usergroup.php
  20. 0 4
      main/admin/add_students_to_session.php
  21. 0 4
      main/admin/add_teachers_to_session.php
  22. 0 4
      main/admin/add_users_to_group.php
  23. 0 4
      main/admin/add_users_to_session.php
  24. 0 4
      main/admin/add_users_to_usergroup.php
  25. 0 3
      main/admin/archive_cleanup.php
  26. 0 4
      main/admin/calendar.php
  27. 0 3
      main/admin/career_dashboard.php
  28. 0 4
      main/admin/careers.php
  29. 0 3
      main/admin/class_add.php
  30. 0 3
      main/admin/class_edit.php
  31. 0 3
      main/admin/class_import.php
  32. 0 4
      main/admin/class_information.php
  33. 0 2
      main/admin/class_list.php
  34. 0 1
      main/admin/class_user_import.php
  35. 0 2
      main/admin/cli.php
  36. 0 3
      main/admin/configure_extensions.php
  37. 0 1
      main/admin/configure_homepage.php
  38. 0 2
      main/admin/configure_inscription.php
  39. 0 2
      main/admin/configure_plugin.php
  40. 0 4
      main/admin/course_add.php
  41. 0 3
      main/admin/course_category.php
  42. 0 2
      main/admin/course_create_content.php
  43. 0 2
      main/admin/course_edit.php
  44. 0 1
      main/admin/course_export.php
  45. 0 2
      main/admin/course_import.php
  46. 0 3
      main/admin/course_information.php
  47. 0 2
      main/admin/course_intro_pdf_import.php
  48. 0 3
      main/admin/course_list.php
  49. 0 3
      main/admin/course_request_accepted.php
  50. 0 3
      main/admin/course_request_edit.php
  51. 0 3
      main/admin/course_request_rejected.php
  52. 0 3
      main/admin/course_request_review.php
  53. 0 2
      main/admin/course_user_import.php
  54. 0 2
      main/admin/course_user_import_by_email.php
  55. 0 3
      main/admin/dashboard_add_courses_to_user.php
  56. 0 3
      main/admin/dashboard_add_sessions_to_user.php
  57. 0 3
      main/admin/dashboard_add_users_to_user.php
  58. 0 3
      main/admin/event_controller.php
  59. 0 2
      main/admin/event_type.php
  60. 0 3
      main/admin/export_certificates.php
  61. 0 3
      main/admin/extra_field_options.php
  62. 0 3
      main/admin/extra_field_workflow.php
  63. 0 3
      main/admin/extra_fields.php
  64. 0 2
      main/admin/filler.php
  65. 0 3
      main/admin/grade_models.php
  66. 0 3
      main/admin/group_add.php
  67. 0 3
      main/admin/group_edit.php
  68. 0 2
      main/admin/group_list.php
  69. 0 3
      main/admin/inactive_user_list.php
  70. 0 3
      main/admin/index.php
  71. 0 2
      main/admin/languages.php
  72. 0 2
      main/admin/ldap_import_students.php
  73. 0 2
      main/admin/ldap_import_students_to_session.php
  74. 0 2
      main/admin/ldap_synchro.php
  75. 0 2
      main/admin/ldap_users_list.php
  76. 0 2
      main/admin/ldap_users_synchro.php
  77. 0 1
      main/admin/legal_add.php
  78. 0 2
      main/admin/legal_list.php
  79. 0 3
      main/admin/promotions.php
  80. 0 3
      main/admin/resume_session.php
  81. 0 3
      main/admin/session_add.php
  82. 0 3
      main/admin/session_category_add.php
  83. 0 3
      main/admin/session_category_edit.php
  84. 0 2
      main/admin/session_category_list.php
  85. 0 2
      main/admin/session_course_edit.php
  86. 0 4
      main/admin/session_course_list.php
  87. 0 3
      main/admin/session_course_user.php
  88. 0 1
      main/admin/session_course_user_list.php
  89. 0 3
      main/admin/session_edit.php
  90. 0 2
      main/admin/session_export.php
  91. 0 2
      main/admin/session_import.php
  92. 0 2
      main/admin/session_import_drh.php
  93. 0 1
      main/admin/session_list.php
  94. 0 1
      main/admin/session_user_edit.php
  95. 0 1
      main/admin/session_user_import.php
  96. 0 10
      main/admin/settings.php
  97. 0 2
      main/admin/skill_badge_create.php
  98. 0 3
      main/admin/skills.php
  99. 0 3
      main/admin/skills_gradebook.php
  100. 0 1
      main/admin/skills_import.php

+ 0 - 2
404.php

@@ -2,8 +2,6 @@
 // HTTP404 page with neat styling
 // 2011, Jean-Karim Bockstael <jeankarim@cblue.be>
 // ErrorDocument 404 /404/
-
-$language_file = array('document');
 require_once '../main/inc/global.inc.php';
 
 $msg = get_lang('FileNotFound');

+ 0 - 2
certificates/index.php

@@ -9,8 +9,6 @@
  * Initialization
  */
 
-$language_file= array('admin', 'gradebook', 'document');
-
 require_once '../main/inc/global.inc.php';
 require_once api_get_path(LIBRARY_PATH).'certificate.lib.php';
 

+ 0 - 3
custompages/language.inc.php

@@ -58,9 +58,6 @@ $chamilo_langs = array(null => 'english', 'en' => 'english', 'fr' => 'french', '
 // Which of these can we actually pick from ?
 $available_langs = array('en','fr');
 
-// Which language files will we need ?
-$language_file = array('admin');
-
 // Let's find out which language to serve to this particular browser
 $lang_match = $chamilo_langs[get_preferred_language($available_langs)];
 

+ 0 - 1
custompages/language.php

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

+ 0 - 3
main/admin/access_url_add_courses_to_url.php

@@ -7,9 +7,6 @@
 *	@package chamilo.admin
 *	@author Julio Montoya <gugli100@gmail.com>
 */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 

+ 0 - 3
main/admin/access_url_add_usergroup_to_url.php

@@ -7,9 +7,6 @@
 *	@package chamilo.admin
 *	@author Julio Montoya <gugli100@gmail.com>
 */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 3
main/admin/access_url_add_users_to_url.php

@@ -7,9 +7,6 @@
 *	@package chamilo.admin
 *	@author Julio Montoya <gugli100@gmail.com>
 */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 3
main/admin/access_url_check_user_session.php

@@ -5,9 +5,6 @@
 *	@package chamilo.admin
 */
 /*		INIT SECTION */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 

+ 0 - 2
main/admin/access_url_edit.php

@@ -4,8 +4,6 @@
 *	@package chamilo.admin
 *	@author Julio Montoya <gugli100@gmail.com>
 */
-
-$language_file = 'admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 4
main/admin/access_url_edit_course_category_to_url.php

@@ -4,10 +4,6 @@
 *	@package chamilo.admin
 *	@author Julio Montoya <gugli100@gmail.com>
 */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
-
 // resetting the course id
 $cidReset = true;
 

+ 0 - 4
main/admin/access_url_edit_courses_to_url.php

@@ -4,10 +4,6 @@
  *	@package chamilo.admin
  *	@author Julio Montoya <gugli100@gmail.com>
  */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
-
 // resetting the course id
 $cidReset = true;
 

+ 0 - 4
main/admin/access_url_edit_usergroup_to_url.php

@@ -4,10 +4,6 @@
 *	@package chamilo.admin
 *	@author Julio Montoya <gugli100@gmail.com>
 */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
-
 // resetting the course id
 $cidReset = true;
 

+ 0 - 3
main/admin/access_url_edit_users_to_url.php

@@ -4,9 +4,6 @@
  * 	@package chamilo.admin
  * 	@author Julio Montoya <gugli100@gmail.com>
  */
-// name of the language file that needs to be included
-$language_file = 'admin';
-
 // resetting the course id
 $cidReset = true;
 

+ 0 - 2
main/admin/access_urls.php

@@ -6,8 +6,6 @@
  * @author Julio Montoya <gugli100@gmail.com>
  * @author Yannick Warnier <yannick.warnier@beeznest.com>
  */
-// name of the language file that needs to be included
-$language_file = 'admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 4
main/admin/add_courses_to_session.php

@@ -5,10 +5,6 @@
  * @package chamilo.admin
  * @todo use formvalidator
  */
-
-// name of the language file that needs to be included.
-$language_file = 'admin';
-
 // resetting the course id.
 $cidReset = true;
 

+ 0 - 4
main/admin/add_courses_to_usergroup.php

@@ -3,10 +3,6 @@
 /**
 *   @package chamilo.admin
 */
-
-// Name of the language file that needs to be included.
-$language_file = array('admin');
-
 // Resetting the course id.
 $cidReset = true;
 

+ 0 - 3
main/admin/add_many_session_to_category.php

@@ -4,9 +4,6 @@
 *	@package chamilo.admin
 * 	@todo use formvalidator
 */
-
-// name of the language file that needs to be included
-$language_file='admin';
 // resetting the course id
 $cidReset = true;
 

+ 0 - 4
main/admin/add_sessions_to_promotion.php

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

+ 0 - 4
main/admin/add_sessions_to_usergroup.php

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

+ 0 - 4
main/admin/add_students_to_session.php

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

+ 0 - 4
main/admin/add_teachers_to_session.php

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

+ 0 - 4
main/admin/add_users_to_group.php

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

+ 0 - 4
main/admin/add_users_to_session.php

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

+ 0 - 4
main/admin/add_users_to_usergroup.php

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

+ 0 - 3
main/admin/archive_cleanup.php

@@ -3,9 +3,6 @@
 /**
  *   @package chamilo.admin
  */
-
-$language_file = array('admin');
-
 // resetting the course id
 $cidReset = true;
 

+ 0 - 4
main/admin/calendar.php

@@ -5,10 +5,6 @@
 *	@author Carlos Vargas
 *	This file is the calendar/agenda.php
 */
-
-// name of the language file that needs to be included
-$language_file[] = 'admin';
-
 // resetting the course id
 $cidReset=true;
 // including some necessary files

+ 0 - 3
main/admin/career_dashboard.php

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

+ 0 - 4
main/admin/careers.php

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

+ 0 - 3
main/admin/class_add.php

@@ -6,9 +6,6 @@
 /**
  * Code
  */
-// Language files that should be included.
-$language_file = 'admin';
-
 // Resetting the course id.
 $cidReset = true;
 

+ 0 - 3
main/admin/class_edit.php

@@ -6,9 +6,6 @@
 /**
  * Code
  */
-// Language files that should be included.
-$language_file = 'admin';
-
 // Resetting the course id.
 $cidReset = true;
 

+ 0 - 3
main/admin/class_import.php

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

+ 0 - 4
main/admin/class_information.php

@@ -7,10 +7,6 @@
  * Code
 *	@author	 Bart Mollet
 */
-
-// Language files that should be included.
-$language_file = 'admin';
-
 $cidReset = true;
 
 require_once '../inc/global.inc.php';

+ 0 - 2
main/admin/class_list.php

@@ -6,8 +6,6 @@
 /**
  * Code
  */
-$language_file = 'admin';
-
 $cidReset = true;
 require '../inc/global.inc.php';
 

+ 0 - 1
main/admin/class_user_import.php

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

+ 0 - 2
main/admin/cli.php

@@ -9,8 +9,6 @@
 /**
  * Init section 
  */
-// name of the language file that needs to be included
-$language_file = 'admin';
 // we are in the admin area so we do not need a course id
 $cidReset = true;
 // include global script

+ 0 - 3
main/admin/configure_extensions.php

@@ -4,9 +4,6 @@
  * Edition of extensions configuration
  * @package chamilo.admin
  */
-
-// name of the language file that needs to be included
-$language_file='admin';
 $cidReset=true;
 require_once '../inc/global.inc.php';
 $this_section=SECTION_PLATFORM_ADMIN;

+ 0 - 1
main/admin/configure_homepage.php

@@ -48,7 +48,6 @@ function home_tabs($file_logged_in)
 	}
 }
 
-$language_file = array('admin');
 $cidReset = true;
 require_once '../inc/global.inc.php';
 

+ 0 - 2
main/admin/configure_inscription.php

@@ -5,8 +5,6 @@
  *	This script displays a form for registering new users.
  *	@package	 chamilo.admin
  */
-
-$language_file = array('admin');
 $cidReset = true;
 require_once '../inc/global.inc.php';
 

+ 0 - 2
main/admin/configure_plugin.php

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

+ 0 - 4
main/admin/course_add.php

@@ -4,10 +4,6 @@
 /**
  *	@package chamilo.admin
  */
-
-// Language files that need to be included.
-$language_file = array('admin');
-
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 3
main/admin/course_category.php

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

+ 0 - 2
main/admin/course_create_content.php

@@ -6,8 +6,6 @@
  * @author Bart Mollet <bart.mollet@hogent.be>
  * @package chamilo.admin
  */
-// name of the language file that needs to be included
-$language_file = 'admin';
 include ('../inc/global.inc.php');
 $this_section=SECTION_PLATFORM_ADMIN;
 

+ 0 - 2
main/admin/course_edit.php

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

+ 0 - 1
main/admin/course_export.php

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

+ 0 - 2
main/admin/course_import.php

@@ -155,8 +155,6 @@ function parse_csv_data($file)
     return $courses;
 }
 
-$language_file = array('admin', 'document');
-
 $cidReset = true;
 
 require '../inc/global.inc.php';

+ 0 - 3
main/admin/course_information.php

@@ -5,9 +5,6 @@
  * @author Bart Mollet
  * @package chamilo.admin
  */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 2
main/admin/course_intro_pdf_import.php

@@ -5,8 +5,6 @@
  * uploaded in each course
  * @package chamilo.admin
  */
-
-$language_file = array('admin', 'document');
 $cidReset = true;
 require '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 3
main/admin/course_list.php

@@ -6,9 +6,6 @@
  * and names
  * @package chamilo.admin
  */
-
-// Language files that need to be included.
-$language_file = array('admin');
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 3
main/admin/course_request_accepted.php

@@ -11,9 +11,6 @@
  * @author Ivan Tcholakov <ivantcholakov@gmail.com> (technical adaptation for Chamilo 1.8.8), 2010
  */
 
-// Language files that need to be included.
-$language_file = array('admin');
-
 $cidReset = true;
 
 require '../inc/global.inc.php';

+ 0 - 3
main/admin/course_request_edit.php

@@ -7,9 +7,6 @@
  * @author Ivan Tcholakov <ivantcholakov@gmail.com>, 2010
  */
 
-// Language files that need to be included.
-$language_file = array('admin');
-
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 3
main/admin/course_request_rejected.php

@@ -11,9 +11,6 @@
  * @author Ivan Tcholakov <ivantcholakov@gmail.com> (technical adaptation for Chamilo 1.8.8), 2010
  */
 
-// Language files that need to be included.
-$language_file = array('admin');
-
 $cidReset = true;
 
 require '../inc/global.inc.php';

+ 0 - 3
main/admin/course_request_review.php

@@ -10,9 +10,6 @@
  * @author Ivan Tcholakov <ivantcholakov@gmail.com> (technical adaptation for Chamilo 1.8.8), 2010
  */
 
-// Language files that need to be included.
-$language_file = array('admin');
-
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 2
main/admin/course_user_import.php

@@ -133,8 +133,6 @@ function parse_csv_data($file)
     return $courses;
 }
 
-// Language files that should be included,
-$language_file = array('admin');
 $cidReset = true;
 
 include '../inc/global.inc.php';

+ 0 - 2
main/admin/course_user_import_by_email.php

@@ -138,8 +138,6 @@ function parse_csv_data($file)
     return $courses;
 }
 
-// Language files that should be included,
-$language_file = array('admin');
 $cidReset = true;
 
 include '../inc/global.inc.php';

+ 0 - 3
main/admin/dashboard_add_courses_to_user.php

@@ -5,9 +5,6 @@
 *	Interface for assigning courses to Human Resources Manager
 *	@package chamilo.admin
 */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
 // resetting the course id
 $cidReset = true;
 

+ 0 - 3
main/admin/dashboard_add_sessions_to_user.php

@@ -5,9 +5,6 @@
  *	Interface for assigning sessions to Human Resources Manager
  *	@package chamilo.admin
  */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
 // resetting the course id
 $cidReset = true;
 

+ 0 - 3
main/admin/dashboard_add_users_to_user.php

@@ -5,9 +5,6 @@
 *	Interface for assigning users to Human Resources Manager
 *	@package chamilo.admin
 */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
 // resetting the course id
 $cidReset = true;
 

+ 0 - 3
main/admin/event_controller.php

@@ -4,9 +4,6 @@
  * Global events controller class
  * @package chamilo.admin
  */
-
-// name of the language file that needs to be included
-$language_file = array('admin');
 $cidReset = true;
 
 require_once '../inc/global.inc.php';

+ 0 - 2
main/admin/event_type.php

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

+ 0 - 3
main/admin/export_certificates.php

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

+ 0 - 3
main/admin/extra_field_options.php

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

+ 0 - 3
main/admin/extra_field_workflow.php

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

+ 0 - 3
main/admin/extra_fields.php

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

+ 0 - 2
main/admin/filler.php

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

+ 0 - 3
main/admin/grade_models.php

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

+ 0 - 3
main/admin/group_add.php

@@ -4,9 +4,6 @@
 *	@package chamilo.admin
 */
 
-// Language files that should be included
-$language_file = array('admin');
-
 $cidReset = true;
 
 // Including necessary libraries.

+ 0 - 3
main/admin/group_edit.php

@@ -2,10 +2,7 @@
 /* For licensing terms, see /license.txt */
 /**
 *	@package chamilo.admin
-
 */
-// Language files that should be included
-$language_file = array('admin');
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 2
main/admin/group_list.php

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

+ 0 - 3
main/admin/inactive_user_list.php

@@ -8,9 +8,6 @@
 *	@package chamilo.admin
 *	script pour effacer les user inactif depuis x temps
 */
-
-// name of the language file that needs to be included
-$language_file = array('admin');
 $cidReset = true;
 require_once '../inc/global.inc.php';
 

+ 0 - 3
main/admin/index.php

@@ -5,9 +5,6 @@
  * @package chamilo.admin
  */
 
-// Language files that need to be included.
-$language_file = array('admin', 'tracking');
-
 // Resetting the course id.
 $cidReset = true;
 

+ 0 - 2
main/admin/languages.php

@@ -16,8 +16,6 @@
 /**
  * 	   INIT SECTION
  */
-// name of the language file that needs to be included
-$language_file = 'admin';
 
 // we are in the admin area so we do not need a course id
 $cidReset = true;

+ 0 - 2
main/admin/ldap_import_students.php

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

+ 0 - 2
main/admin/ldap_import_students_to_session.php

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

+ 0 - 2
main/admin/ldap_synchro.php

@@ -7,8 +7,6 @@
  * Code
  */
 exit(); //not yet functional, needs to be revised
-// name of the language file that needs to be included
-$language_file='admin';
 
 $cidReset=true;
 

+ 0 - 2
main/admin/ldap_users_list.php

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

+ 0 - 2
main/admin/ldap_users_synchro.php

@@ -7,8 +7,6 @@
  * Code
  */
 exit(); //not yet functional, needs to be revised
-// name of the language file that needs to be included
-$language_file='admin';
 
 $cidReset=true;
 

+ 0 - 1
main/admin/legal_add.php

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

+ 0 - 2
main/admin/legal_list.php

@@ -7,8 +7,6 @@
 /**
  * Code
  */
-
-$language_file = 'admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 $this_section = SECTION_PLATFORM_ADMIN;

+ 0 - 3
main/admin/promotions.php

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

+ 0 - 3
main/admin/resume_session.php

@@ -4,9 +4,6 @@
 *	@author Bart Mollet, Julio Montoya lot of fixes
 *	@package chamilo.admin
 */
-
-// name of the language file that needs to be included
-$language_file = 'admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 

+ 0 - 3
main/admin/session_add.php

@@ -5,9 +5,6 @@
 *	@package chamilo.admin
 */
 
-// name of the language file that needs to be included
-$language_file='admin';
-
 $cidReset=true;
 
 // including the global Chamilo file

+ 0 - 3
main/admin/session_category_add.php

@@ -5,9 +5,6 @@
 * 	@todo use formvalidator for the form
 */
 
-// name of the language file that needs to be included
-$language_file='admin';
-
 $cidReset=true;
 
 // including the global Dokeos file

+ 0 - 3
main/admin/session_category_edit.php

@@ -4,9 +4,6 @@
  * Edition script for sessions categories
  * @package chamilo.admin
  */
-
-// name of the language file that needs to be included
-$language_file ='admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 

+ 0 - 2
main/admin/session_category_list.php

@@ -7,8 +7,6 @@
 /**
  * Code
  */
-
-$language_file = 'admin';
 $cidReset = true;
 
 require_once '../inc/global.inc.php';

+ 0 - 2
main/admin/session_course_edit.php

@@ -4,8 +4,6 @@
  * Implements the edition of course-session settings
  * @package chamilo.admin
  */
-// name of the language file that needs to be included
-$language_file = 'admin';
 $cidReset = true;
 
 require_once '../inc/global.inc.php';

+ 0 - 4
main/admin/session_course_list.php

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

+ 0 - 3
main/admin/session_course_user.php

@@ -4,9 +4,6 @@
  *	@package chamilo.admin
  */
 
-// name of the language file that needs to be included
-$language_file='admin';
-
 // resetting the course id
 $cidReset = true;
 

+ 0 - 1
main/admin/session_course_user_list.php

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

+ 0 - 3
main/admin/session_edit.php

@@ -4,9 +4,6 @@
  * Sessions edition script
  * @package chamilo.admin
  */
-
-// name of the language file that needs to be included
-$language_file ='admin';
 $cidReset = true;
 require_once '../inc/global.inc.php';
 

+ 0 - 2
main/admin/session_export.php

@@ -2,8 +2,6 @@
 /**
 *	@package chamilo.admin
 */
-// name of the language file that needs to be included
-$language_file = 'admin';
 
 $cidReset = true;
 

+ 0 - 2
main/admin/session_import.php

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

+ 0 - 2
main/admin/session_import_drh.php

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

+ 0 - 1
main/admin/session_list.php

@@ -4,7 +4,6 @@
  * List sessions in an efficient and usable way
  * @package chamilo.admin
  */
-$language_file = array('admin');
 $cidReset = true;
 
 require_once '../inc/global.inc.php';

+ 0 - 1
main/admin/session_user_edit.php

@@ -1,7 +1,6 @@
 <?php
 /* For licensing terms, see /license.txt */
 
-$language_file = 'admin';
 $cidReset = true;
 
 // including the global Chamilo file

+ 0 - 1
main/admin/session_user_import.php

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

+ 0 - 10
main/admin/settings.php

@@ -10,16 +10,6 @@
  * @package chamilo.admin
  */
 
-// Language files that need to be included.
-if (isset($_GET['category']) && $_GET['category'] == 'Templates') {
-    $language_file = array('admin', 'document');
-} else if(isset($_GET['category']) && $_GET['category'] == 'Gradebook') {
-    $language_file = array('admin', 'gradebook');
-} else {
-    $language_file = array('admin', 'document');
-}
-$language_file[] = 'tracking';
-
 // Resetting the course id.
 $cidReset = true;
 

+ 0 - 2
main/admin/skill_badge_create.php

@@ -7,8 +7,6 @@
  */
 use \ChamiloSession as Session;
 
-$language_file = array('document');
-
 $cidReset = true;
 
 require_once '../inc/global.inc.php';

+ 0 - 3
main/admin/skills.php

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

+ 0 - 3
main/admin/skills_gradebook.php

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

+ 0 - 1
main/admin/skills_import.php

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

Деякі файли не було показано, через те що забагато файлів було змінено