Move index language file to trad4all - refs #4467

1.10.x
Yannick Warnier 10 years ago
parent f47af4ae78
commit 652c6ecf19
  1. 2
      404.php
  2. 2
      custompages/language.inc.php
  3. 2
      custompages/language.php
  4. 2
      index.php
  5. 2
      main/admin/career_dashboard.php
  6. 2
      main/admin/configure_homepage.php
  7. 2
      main/admin/user_information.php
  8. 2
      main/auth/lostPassword.php
  9. 2
      main/cron/lang/langstats.php
  10. 1
      main/cron/lang/langstats_file_builder.php
  11. 2
      main/dashboard/index.php
  12. 2
      main/inc/email_editor.php
  13. 2
      main/metadata/update_indexabletext.php
  14. 2
      main/mySpace/access_details.php
  15. 2
      main/mySpace/admin.php
  16. 2
      main/mySpace/admin_view.php
  17. 2
      main/mySpace/coaches.php
  18. 2
      main/mySpace/course.php
  19. 2
      main/mySpace/current_courses.php
  20. 2
      main/mySpace/index.php
  21. 2
      main/mySpace/progression.php
  22. 2
      main/mySpace/reussite.php
  23. 2
      main/mySpace/session.php
  24. 2
      main/mySpace/student.php
  25. 2
      main/mySpace/teachers.php
  26. 2
      main/mySpace/user_import.php
  27. 2
      main/mySpace/users.php
  28. 2
      main/session/index.php
  29. 2
      main/social/profile.php
  30. 2
      main/tracking/exams.php
  31. 2
      main/tracking/lp_results_by_user.php
  32. 2
      main/tracking/question_course_report.php
  33. 2
      news_list.php
  34. 2
      plugin/ticket/src/download.php
  35. 2
      user.php
  36. 2
      user_portal.php
  37. 3
      webchatdeny.php
  38. 2
      whoisonline.php
  39. 2
      whoisonlinesession.php

@ -3,7 +3,7 @@
// 2011, Jean-Karim Bockstael <jeankarim@cblue.be>
// ErrorDocument 404 /404/
$language_file = array('document', 'index');
$language_file = array('document');
require_once '../main/inc/global.inc.php';
$msg = get_lang('FileNotFound');

@ -59,7 +59,7 @@ $chamilo_langs = array(null => 'english', 'en' => 'english', 'fr' => 'french', '
$available_langs = array('en','fr');
// Which language files will we need ?
$language_file = array('index', 'registration', 'admin','userInfo');
$language_file = array('registration', 'admin','userInfo');
// Let's find out which language to serve to this particular browser
$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']);
}
$language_file = array('index', 'registration', 'admin', 'userInfo');
$language_file = array('registration', 'admin', 'userInfo');
$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)];

@ -8,7 +8,7 @@
use \ChamiloSession as Session;
define('CHAMILO_HOMEPAGE', true);
$language_file = array('index', 'userInfo');
$language_file = array('userInfo');
/* Flag forcing the 'current course' reset, as we're not inside a course anymore. */
// Maybe we should change this into an api function? an example: CourseManager::unset();

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

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

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

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

@ -16,7 +16,7 @@ $language_file = array(
'gradebook', 'registration', 'admin', 'group',
'help', 'reservation', 'hotspot',
'scormdocument',
'index', 'install', 'shibboleth',
'install', 'shibboleth',
'learnpath', 'course_info', 'survey',
'tracking', 'create_course',
'trad4all', 'document', 'userInfo', 'dropbox',

@ -24,7 +24,6 @@ $language_file = array(
'group',
'help',
'hotspot',
'index',
'install',
'learnpath',
'registration',

@ -6,7 +6,7 @@
* @package chamilo.dashboard
*/
// name of the language file that needs to be included
$language_file = array('index', 'tracking', 'userInfo', 'admin', 'gradebook');
$language_file = array('tracking', 'userInfo', 'admin', 'gradebook');
$cidReset = true;
// including files

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

@ -17,8 +17,6 @@ define('TPLEN', strlen(EID_TYPE) + 1);
require('md_' . strtolower(EID_TYPE) . '.php');
// name of the language file that needs to be included
$language_file = 'md_' . strtolower(EID_TYPE);
include('../inc/global.inc.php');
$this_section=SECTION_COURSES;

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -12,7 +12,7 @@
use \ChamiloSession as Session;
// Language files that should be included.
$language_file = array('learnpath', 'index', 'tracking', 'exercice', 'admin');
$language_file = array('learnpath', 'tracking', 'exercice', 'admin');
$cidReset = true;
require_once '../inc/global.inc.php';

@ -7,7 +7,7 @@
* @package chamilo.social
*/
$language_file = array('userInfo', 'index');
$language_file = array('userInfo');
$cidReset = true;
require_once '../inc/global.inc.php';
// Include OpenGraph NOT AVAILABLE

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

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

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

@ -2,7 +2,7 @@
/* For licensing terms, see /license.txt */
// name of the language file that needs to be included
$language_file = array ('admin', 'index', 'group');
$language_file = array ('admin', 'group');
// including necessary files
require_once 'main/inc/global.inc.php';

@ -9,7 +9,7 @@ require_once '../config.php';
$plugin = TicketPlugin::create();
api_block_anonymous_users();
$language_file = array('index', 'admin');
$language_file = array('admin');
$user_id = api_get_user_id();
if (!isset($_GET['file']) || !isset($_GET['title']) || !isset($_GET['ticket_id'])) {
api_not_allowed();

@ -16,7 +16,7 @@
* Variables definitions and inclusions
*/
// name of the language file that needs to be included
$language_file = array('index', 'registration', 'userInfo');
$language_file = array('registration', 'userInfo');
$cidReset = true;
require_once 'main/inc/global.inc.php';

@ -16,7 +16,7 @@
*/
use \ChamiloSession as Session;
$language_file = array('index', 'admin', 'userInfo');
$language_file = array('admin', 'userInfo');
/* Flag forcing the 'current course' reset, as we're not inside a course anymore */
$cidReset = true;

@ -9,9 +9,6 @@
* Deletes the web-chat request form the user table
*/
// name of the language file that needs to be included
$language_file = 'index';
// including necessary files
include_once './main/inc/global.inc.php';

@ -6,7 +6,7 @@
*/
// language files that should be included
$language_file = array('index', 'registration', 'userInfo');
$language_file = array('registration', 'userInfo');
if (!isset($_GET['cidReq'])) {
$cidReset = true;

@ -8,7 +8,7 @@
* Initialization
*/
// name of the language file that needs to be included
$language_file = array ('index', 'tracking');
$language_file = array ('tracking');
include_once './main/inc/global.inc.php';
api_block_anonymous_users();

Loading…
Cancel
Save