merge and BT#9619 plugin terminos conditions add tpl css

1.10.x
aragonc 11 years ago
commit 666289d240
  1. 2
      404.php
  2. 2
      custompages/language.inc.php
  3. 2
      custompages/language.php
  4. 2
      index.php
  5. 2
      main/admin/add_courses_to_usergroup.php
  6. 2
      main/admin/add_sessions_to_promotion.php
  7. 2
      main/admin/add_sessions_to_usergroup.php
  8. 2
      main/admin/add_students_to_session.php
  9. 2
      main/admin/add_teachers_to_session.php
  10. 2
      main/admin/add_users_to_group.php
  11. 2
      main/admin/add_users_to_session.php
  12. 2
      main/admin/add_users_to_usergroup.php
  13. 2
      main/admin/career_dashboard.php
  14. 2
      main/admin/class_import.php
  15. 2
      main/admin/class_user_import.php
  16. 2
      main/admin/configure_homepage.php
  17. 2
      main/admin/configure_inscription.php
  18. 2
      main/admin/configure_plugin.php
  19. 2
      main/admin/course_add.php
  20. 2
      main/admin/course_export.php
  21. 2
      main/admin/course_import.php
  22. 2
      main/admin/course_list.php
  23. 2
      main/admin/course_request_accepted.php
  24. 2
      main/admin/course_request_edit.php
  25. 2
      main/admin/course_request_rejected.php
  26. 2
      main/admin/course_request_review.php
  27. 2
      main/admin/course_user_import.php
  28. 2
      main/admin/course_user_import_by_email.php
  29. 2
      main/admin/filler.php
  30. 2
      main/admin/group_add.php
  31. 2
      main/admin/group_edit.php
  32. 2
      main/admin/group_list.php
  33. 2
      main/admin/inactive_user_list.php
  34. 2
      main/admin/index.php
  35. 1
      main/admin/ldap_import_students.php
  36. 1
      main/admin/ldap_import_students_to_session.php
  37. 1
      main/admin/ldap_users_list.php
  38. 2
      main/admin/legal_add.php
  39. 2
      main/admin/session_course_user_list.php
  40. 2
      main/admin/session_import.php
  41. 2
      main/admin/session_import_drh.php
  42. 2
      main/admin/session_list.php
  43. 2
      main/admin/session_user_import.php
  44. 2
      main/admin/skills_import.php
  45. 2
      main/admin/style_preview.php
  46. 2
      main/admin/system_status.php
  47. 2
      main/admin/user_add.php
  48. 2
      main/admin/user_edit.php
  49. 2
      main/admin/user_fields.php
  50. 2
      main/admin/user_fields_add.php
  51. 2
      main/admin/user_fields_options.php
  52. 2
      main/admin/user_import.php
  53. 2
      main/admin/user_information.php
  54. 2
      main/admin/user_list.php
  55. 4
      main/admin/user_move_stats.php
  56. 2
      main/admin/user_update_import.php
  57. 2
      main/admin/usergroup_import.php
  58. 2
      main/admin/usergroup_user_import.php
  59. 2
      main/announcements/announcements.php
  60. 4
      main/auth/courses.php
  61. 2
      main/auth/inscription.php
  62. 3
      main/auth/lostPassword.php
  63. 2
      main/auth/my_progress.php
  64. 5
      main/auth/profile.php
  65. 3
      main/auth/set_temp_password.php
  66. 3
      main/blog/blog.php
  67. 3
      main/blog/blog_admin.php
  68. 3
      main/calendar/agenda.php
  69. 3
      main/calendar/agenda_js.php
  70. 3
      main/calendar/agenda_list.php
  71. 2
      main/course_home/course_home.php
  72. 2
      main/course_info/delete_course.php
  73. 2
      main/course_info/infocours.php
  74. 2
      main/course_info/legal.php
  75. 4
      main/course_info/maintenance.php
  76. 6
      main/course_info/maintenance_coach.php
  77. 2
      main/course_info/start.php
  78. 2
      main/course_progress/index.php
  79. 2
      main/coursecopy/backup.php
  80. 2
      main/coursecopy/copy_course.php
  81. 6
      main/coursecopy/copy_course_session.php
  82. 2
      main/coursecopy/copy_course_session_selected.php
  83. 2
      main/coursecopy/create_backup.php
  84. 2
      main/coursecopy/import_backup.php
  85. 2
      main/coursecopy/recycle_course.php
  86. 2
      main/create_course/add_course.php
  87. 2
      main/cron/lang/langstats.class.php
  88. 15
      main/cron/lang/langstats.php
  89. 14
      main/cron/lang/langstats_file_builder.php
  90. 5
      main/cron/notification.php
  91. 2
      main/cron/user_import/resend_email_with_new_password.php
  92. 2
      main/dashboard/index.php
  93. 2
      main/document/document.php
  94. 2
      main/document/document_lite.php
  95. 4
      main/dropbox/dropbox_download.php
  96. 2
      main/dropbox/dropbox_init.inc.php
  97. 2
      main/forum/editpost.php
  98. 2
      main/forum/forumqualify.php
  99. 3
      main/forum/forumsearch.php
  100. 4
      main/forum/iframe_thread.php
  101. Some files were not shown because too many files have changed in this diff Show More

@ -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('courses', 'index', 'registration', 'admin','userInfo');
$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)];

@ -35,7 +35,7 @@ function custompages_get_lang($variable) {
return get_lang($variable, null, $_SESSION['user_language_choice']);
}
$language_file = array('courses', 'index', 'registration', 'admin', 'userInfo');
$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)];

@ -8,8 +8,6 @@
use \ChamiloSession as Session;
define('CHAMILO_HOMEPAGE', true);
$language_file = array('courses', 'index', '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();
$cidReset = true;

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

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

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

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

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

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

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

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

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

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

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

@ -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';

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

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

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

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

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

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

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

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

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

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

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

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

@ -6,7 +6,7 @@
* @package chamilo.admin
*/
// 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
$cidReset = true;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -9,7 +9,7 @@
* Validate the imported data.
*/
$language_file = array('admin', 'registration');
$language_file = array('admin');
$cidReset = true;
require '../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('tracking', 'exercice', 'admin', 'gradebook');
$cidReset = true;
require_once '../inc/global.inc.php';
$this_section = SECTION_PLATFORM_ADMIN;

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

@ -726,8 +726,8 @@ if (!empty($user_list)) {
echo $options;
echo '</select>';
echo '<br />';
echo '<button type="submit" class="save" onclick="view_stat(\''.$unique_id.'\', \''.$user_id.'\');"> '.get_lang('CompareStats').'</button>';
echo '<button type="submit" class="save" onclick="moveto(\''.$unique_id.'\', \''.$user_id.'\');"> '.get_lang('Move').'</button>';
echo '<button type="submit" class="btn save" onclick="view_stat(\''.$unique_id.'\', \''.$user_id.'\');"> '.get_lang('CompareStats').'</button>';
echo '<button type="submit" class="btn save" onclick="moveto(\''.$unique_id.'\', \''.$user_id.'\');"> '.get_lang('Move').'</button>';
echo '<div id ="reponse_'.$unique_id.'"></div>';
echo '</td>';
}

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

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

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

@ -15,7 +15,7 @@
// name of the language file that needs to be included
use \ChamiloSession as Session;
$language_file = array('group', 'survey', 'document');
$language_file = array('survey', 'document');
// use anonymous mode when accessing this course tool
$use_anonymous = true;

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

@ -8,7 +8,7 @@
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
if (!empty($_POST['language'])) {

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

@ -8,7 +8,7 @@
* Code
*/
// 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;
require_once '../inc/global.inc.php';

@ -8,9 +8,6 @@
*
* @package chamilo.auth
*/
// Language files that should be included.
$language_file = array('registration', 'userInfo');
$cidReset = true;
require_once '../inc/global.inc.php';
@ -192,7 +189,7 @@ if (is_profile_editable() && api_get_setting('openid_authentication') == 'true')
}
// 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') {
$form->freeze('phone');
}

@ -10,9 +10,6 @@
*/
use \ChamiloSession as Session;
// Language files that need to be included
$language_file = array('courses');
$cidReset = true;
require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES;

@ -5,9 +5,6 @@
* This file takes care of all blog navigation and displaying.
* @package chamilo.blogs
*/
// name of the language file that needs to be included
$language_file = "blog";
require_once '../inc/global.inc.php';
$blog_id = intval($_GET['blog_id']);

@ -7,9 +7,6 @@
* @package chamilo.blogs
*/
// name of the language file that needs to be included
$language_file = 'blog';
require_once '../inc/global.inc.php';
$current_course_tool = TOOL_BLOGS;

@ -7,9 +7,6 @@
use \ChamiloSession as Session;
// name of the language file that needs to be included
$language_file = array('group');
// use anonymous mode when accessing this course tool
$use_anonymous = true;
require_once '../inc/global.inc.php';

@ -7,9 +7,6 @@
use \ChamiloSession as Session;
// name of the language file that needs to be included
$language_file = array('group');
// use anonymous mode when accessing this course tool
$use_anonymous = true;

@ -4,9 +4,6 @@
* @package chamilo.calendar
*/
// name of the language file that needs to be included
$language_file = array('group');
require_once '../inc/global.inc.php';
require_once 'agenda.inc.php';

@ -30,8 +30,6 @@
use \ChamiloSession as Session;
// Name of the language file that needs to be included.
$language_file = array('courses');
$use_anonymous = true;
// Inlcuding the global initialization file.

@ -13,7 +13,7 @@
use \ChamiloSession as Session;
// Language files that need to be included
$language_file = array('admin', 'course_info');
$language_file = array('admin');
require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES;

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

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

@ -9,7 +9,7 @@
*/
// Language files that need to be included
$language_file = array('admin','create_course', 'course_info', 'coursebackup');
$language_file = array('admin');
require_once '../inc/global.inc.php';
$current_course_tool = TOOL_COURSE_MAINTENANCE;
$this_section = SECTION_COURSES;
@ -23,7 +23,7 @@ echo Display::page_header($nameTools);
?>
<div class="sectiontitle"><?php Display::display_icon('save_import.gif', get_lang('backup')); ?>&nbsp;&nbsp;<a href="../coursecopy/backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('backup'); ?></a></div>
<div class="sectiontitle"><?php Display::display_icon('save_import.gif', get_lang('Backup')); ?>&nbsp;&nbsp;<a href="../coursecopy/backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('Backup'); ?></a></div>
<div class="sectioncomment">
<ul>
<li><a href="../coursecopy/create_backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('CreateBackup'); ?></a><br/>

@ -10,7 +10,7 @@
* Code
*/
// Language files that need to be included
$language_file = array('admin', 'create_course', 'course_info', 'coursebackup');
$language_file = array('admin');
require_once '../inc/global.inc.php';
@ -31,8 +31,8 @@ Display :: display_header($nameTools);
echo Display::page_subheader(
Display::return_icon(
'save_import.gif', get_lang('backup')
) . '&nbsp;&nbsp;' . get_lang('backup')
'save_import.gif', get_lang('Backup')
) . '&nbsp;&nbsp;' . get_lang('Backup')
);
$url = api_get_path(

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

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

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

@ -7,7 +7,7 @@
* Code
*/
// Language files that need to be included
$language_file = array('exercice', 'coursebackup', 'admin');
$language_file = array('exercice', 'admin');
// Setting the global file that gets the general configuration, the databases, the languages, ...
require_once '../inc/global.inc.php';

@ -10,7 +10,7 @@
*/
// Language files that need to be included
$language_file = array('coursebackup', 'admin');
$language_file = array('admin');
$cidReset = true;
require_once '../inc/global.inc.php';
@ -117,7 +117,7 @@ function display_form()
$html .= '<select id="destination" name="SessionCoursesListDestination[]" style="width:380px;" ></select></div></td>';
$html .= '</tr></table>';
$html .= '<h3>'.get_lang('TypeOfCopy').'</h3>';
$html .= '<h4>'.get_lang('TypeOfCopy').'</h4>';
$html .= '<label class="radio"><input type="radio" id="copy_option_1" name="copy_option" value="full_copy" checked="checked"/>';
$html .= get_lang('FullCopy').'</label><br/>';
$html .= '<label class="radio"><input type="radio" id="copy_option_2" name="copy_option" value="select_items" disabled="disabled"/>';
@ -125,7 +125,7 @@ function display_form()
$html .= '<label class="checkbox"><input type="checkbox" id="copy_base_content_id" name="copy_only_session_items" />'.get_lang('CopyOnlySessionItems').'</label><br /><br/>';
$html .= '<button class="save" type="submit" onclick="javascript:if(!confirm('."'".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES))."'".')) return false;">'.get_lang('CopyCourse').'</button>';
$html .= '<button class="btn btn-success" type="submit" onclick="javascript:if(!confirm('."'".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES))."'".')) return false;"><i class="fa fa-files-o"></i> '.get_lang('CopyCourse').'</button>';
// Add Security token
$html .= '<input type="hidden" value="' . Security::get_token() . '" name="sec_token">';

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

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

@ -8,7 +8,7 @@
*/
// Language files that need to be included
$language_file = array('exercice', 'coursebackup', 'admin');
$language_file = array('exercice', 'admin');
// Including the global initialization file
require '../inc/global.inc.php';

@ -10,7 +10,7 @@
* Code
*/
// Language files that need to be included
$language_file = array ('exercice', 'admin', 'course_info', 'coursebackup');
$language_file = array ('exercice', 'admin');
// Including the global initialization file
require_once '../inc/global.inc.php';

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

@ -165,7 +165,7 @@ class langstats
{
$path = api_get_path(SYS_LANG_PATH) . 'english/';
$vars = array();
$priority = array('trad4all', 'notification', 'accessibility');
$priority = array('trad4all');
foreach ($priority as $file) {
$list = SubLanguageManager::get_all_language_variable_in_file(
$path . $file . '.inc.php',

@ -13,15 +13,14 @@
*/
die();
$language_file = array(
'gradebook', 'registration', 'admin', 'group',
'gradebook', 'admin',
'help', 'reservation', 'hotspot',
'blog', 'scormdocument', 'coursebackup',
'index', 'install', 'shibboleth',
'learnpath', 'course_info', 'survey',
'courses', 'md_document', 'tracking', 'create_course',
'trad4all', 'document', 'userInfo', 'dropbox',
'videoconf', 'exercice', 'wiki',
'work', 'forum'
'scormdocument',
'install', 'shibboleth',
'learnpath', 'survey',
'tracking',
'trad4all', 'document',
'exercice', 'wiki',
);
require_once '../../inc/global.inc.php';
require_once 'langstats.class.php';

@ -14,34 +14,20 @@
*/
$language_file = array(
'admin',
'blog',
'course_info',
'coursebackup',
'courses',
'create_course',
'document',
'dropbox',
'exercice',
'forum',
'gradebook',
'group',
'help',
'hotspot',
'index',
'install',
'learnpath',
'md_document',
'registration',
'reservation',
'scormdocument',
'shibboleth',
'survey',
'tracking',
'trad4all',
'userInfo',
'videoconf',
'wiki',
'work',
);
require_once '../../inc/global.inc.php';
require_once 'langstats.class.php';

@ -7,8 +7,9 @@
/**
* Initialization
*/
if (PHP_SAPI!='cli') { die('Run this script through the command line or comment this line in the code'); }
$language_file = array('userInfo');
if (PHP_SAPI!='cli') {
die('Run this script through the command line or comment this line in the code');
}
require_once '../inc/global.inc.php';
/**

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

@ -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', 'admin', 'gradebook');
$cidReset = true;
// including files

@ -29,7 +29,7 @@
use \ChamiloSession as Session;
// 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';
$current_course_tool = TOOL_DOCUMENT;
$this_section = SECTION_COURSES;

@ -12,7 +12,7 @@ exit;
// 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';
$this_section = SECTION_COURSES;

@ -6,10 +6,6 @@
/**
* Code
*/
// We cannot use dropbox_init.inc.php because this one already outputs data.
$language_file = 'dropbox';
// including the basic Chamilo initialisation file
require_once '../inc/global.inc.php';

@ -121,7 +121,7 @@ Version 1.4 (Yannick Warnier)
use \ChamiloSession as Session;
$language_file = array('dropbox', 'document');
$language_file = array('document');
// including the basic Chamilo initialisation file
require_once '../inc/global.inc.php';

@ -23,7 +23,7 @@
*/
// Language files that need to be included.
$language_file = array('forum', 'group', 'gradebook');
$language_file = array('gradebook');
// Including the global initialization file.
require_once '../inc/global.inc.php';

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

@ -24,9 +24,6 @@
use \ChamiloSession as Session;
// Language files that need to be included.
$language_file = array ('forum', 'group');
// Including the global initialiation file.
require_once '../inc/global.inc.php';

@ -20,10 +20,6 @@
*
* @package chamilo.forum
*/
// Name of the language file that needs to be included
$language_file = 'forum';
require_once '../inc/global.inc.php';
/* ACCESS RIGHTS */

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

Loading…
Cancel
Save