Forgotten change about moving create_course language file to trad4all - refs #4467

1.10.x
Yannick Warnier 10 years ago
parent ab65166912
commit b3f0569cf0
  1. 10
      main/inc/lib/add_course.lib.inc.php
  2. 4
      main/install/install_db.inc.php
  3. 4
      main/install/update-db-1.6.x-1.8.0.inc.php
  4. 4
      main/install/update-db-1.8.0-1.8.2.inc.php
  5. 4
      main/install/update-db-1.8.2-1.8.3.inc.php
  6. 4
      main/install/update-db-1.8.3-1.8.4.inc.php
  7. 4
      main/install/update-db-1.8.4-1.8.5.inc.php
  8. 4
      main/install/update-db-1.8.5-1.8.6.inc.php
  9. 4
      main/install/update-db-1.8.6-1.8.6.1.inc.php
  10. 4
      main/install/update-db-1.8.6.1-1.8.6.2.inc.php
  11. 4
      main/install/update-db-1.8.6.2-1.8.7.inc.php
  12. 4
      main/install/update-db-1.8.7-1.8.8.inc.php
  13. 4
      main/install/update-db-1.8.8-1.9.0.inc.php
  14. 4
      main/install/update-db-1.9.0-1.10.0.inc.php

@ -471,15 +471,11 @@ class AddCourse
TABLE_MAIN_GRADEBOOK_CERTIFICATE
);
include api_get_path(
SYS_CODE_PATH
) . 'lang/english/create_course.inc.php';
$file_to_include = api_get_path(
SYS_CODE_PATH
) . 'lang/' . $language . '/create_course.inc.php';
include_once api_get_path(SYS_CODE_PATH) . 'lang/english/trad4all.inc.php';
$file_to_include = api_get_path(SYS_CODE_PATH) . 'lang/' . $language . '/trad4all.inc.php';
if (file_exists($file_to_include)) {
include $file_to_include;
include_once $file_to_include;
}
$visible_for_all = 1;

@ -88,10 +88,10 @@ $mysqlUserDb = $mysqlMainDb;
// This parameter is needed to run a command line install of Chamilo (needed for Phing)
if (!defined('CLI_INSTALLATION')) {
include api_get_path(SYS_LANG_PATH) . 'english/create_course.inc.php';
include_once api_get_path(SYS_LANG_PATH) . 'english/trad4all.inc.php';
if ($languageForm != 'english') {
include api_get_path(SYS_LANG_PATH) . $languageForm . '/create_course.inc.php';
include_once api_get_path(SYS_LANG_PATH) . $languageForm . '/trad4all.inc.php';
}
}

@ -71,11 +71,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/' . $languageForm . '/create_course.inc.php';
include_once '../lang/' . $languageForm . '/trad4all.inc.php';
}
//get the main queries list (m_q_list)

@ -64,11 +64,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
//languageForm has been escaped in index.php
include '../lang/' . $languageForm . '/create_course.inc.php';
include_once '../lang/' . $languageForm . '/trad4all.inc.php';
}
// Get the main queries list (m_q_list)

@ -64,11 +64,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/'.$languageForm.'/create_course.inc.php';
include_once '../lang/'.$languageForm.'/trad4all.inc.php';
}
// get the main queries list (m_q_list)

@ -64,11 +64,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/'.$languageForm.'/create_course.inc.php';
include_once '../lang/'.$languageForm.'/trad4all.inc.php';
}
//get the main queries list (m_q_list)

@ -67,11 +67,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/'.$languageForm.'/create_course.inc.php';
include_once '../lang/'.$languageForm.'/trad4all.inc.php';
}
//get the main queries list (m_q_list)

@ -68,11 +68,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/' . $languageForm . '/create_course.inc.php';
include_once '../lang/' . $languageForm . '/trad4all.inc.php';
}
// Get the main queries list (m_q_list)

@ -67,11 +67,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
//languageForm has been escaped in index.php
include '../lang/'.$languageForm.'/create_course.inc.php';
include_once '../lang/'.$languageForm.'/trad4all.inc.php';
}
//get the main queries list (m_q_list)

@ -67,11 +67,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/'.$languageForm.'/create_course.inc.php';
include_once '../lang/'.$languageForm.'/trad4all.inc.php';
}
// Get the main queries list (m_q_list)

@ -68,11 +68,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/' . $languageForm . '/create_course.inc.php';
include_once '../lang/' . $languageForm . '/trad4all.inc.php';
}
// Get the main queries list (m_q_list)

@ -67,11 +67,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/'.$languageForm.'/create_course.inc.php';
include_once '../lang/'.$languageForm.'/trad4all.inc.php';
}
// Get the main queries list (m_q_list)

@ -66,11 +66,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/'.$languageForm.'/create_course.inc.php';
include_once '../lang/'.$languageForm.'/trad4all.inc.php';
}
// Get the main queries list (m_q_list)

@ -57,11 +57,11 @@ if (defined('SYSTEM_INSTALLATION')) {
/**
* Update the databases "pre" migration
*/
include '../lang/english/create_course.inc.php';
include_once '../lang/english/trad4all.inc.php';
if ($languageForm != 'english') {
// languageForm has been escaped in index.php
include '../lang/' . $languageForm . '/create_course.inc.php';
include_once '../lang/' . $languageForm . '/trad4all.inc.php';
}
// Get the main queries list (m_q_list)

Loading…
Cancel
Save