Move group and forum language file to trad4all - refs #4467

1.10.x
Yannick Warnier 10 years ago
parent 926c095e65
commit 8265d4bec4
  1. 2
      main/announcements/announcements.php
  2. 3
      main/calendar/agenda.php
  3. 3
      main/calendar/agenda_js.php
  4. 3
      main/calendar/agenda_list.php
  5. 4
      main/cron/lang/langstats.php
  6. 2
      main/cron/lang/langstats_file_builder.php
  7. 2
      main/forum/editpost.php
  8. 2
      main/forum/forumqualify.php
  9. 3
      main/forum/forumsearch.php
  10. 4
      main/forum/iframe_thread.php
  11. 2
      main/forum/index.php
  12. 2
      main/forum/newthread.php
  13. 2
      main/forum/reply.php
  14. 3
      main/forum/viewforum.php
  15. 3
      main/forum/viewforumcategory.php
  16. 2
      main/forum/viewpost.php
  17. 3
      main/forum/viewthread.php
  18. 2
      main/group/group.php
  19. 3
      main/group/group_category.php
  20. 4
      main/group/group_creation.php
  21. 3
      main/group/group_edit.php
  22. 2
      main/group/group_overview.php
  23. 3
      main/group/group_space.php
  24. 2
      main/group/import.php
  25. 3
      main/group/member_settings.php
  26. 4
      main/group/settings.php
  27. 3
      main/group/tutor_settings.php
  28. 2
      main/social/group_topics.php
  29. 2
      news_list.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,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';

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

@ -19,9 +19,7 @@ $language_file = array(
'document',
'dropbox',
'exercice',
'forum',
'gradebook',
'group',
'help',
'hotspot',
'install',

@ -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 */

@ -23,8 +23,6 @@
*/
use \ChamiloSession as Session;
// Name of the language file that needs to be included.
$language_file = array('forum');
// Including the global initialization file.
require_once '../inc/global.inc.php';

@ -26,7 +26,7 @@
use \ChamiloSession as Session;
// Language file that need to be included.
$language_file = array('forum', 'document', 'gradebook');
$language_file = array('document', 'gradebook');
// Including the global initialization file.
require_once '../inc/global.inc.php';

@ -19,7 +19,7 @@
*/
// Language files that need to be included.
$language_file = array('forum', 'document');
$language_file = array('document');
// Including the global initialization file.
require_once '../inc/global.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 initialization file.
require_once '../inc/global.inc.php';
$current_course_tool = TOOL_FORUM;

@ -22,9 +22,6 @@
* @package chamilo.forum
*/
// Language file that needs to be included.
$language_file = 'forum';
// Including the global initialization file.
require_once '../inc/global.inc.php';

@ -3,8 +3,6 @@
/**
* @package chamilo.forum
*/
// Language file that needs to be included.
$language_file = 'forum';
// Including the global initialization file.
require_once '../inc/global.inc.php';

@ -6,9 +6,6 @@
* @package chamilo.forum
*/
// Language file that needs to be included.
$language_file = array ('forum', 'group');
// Including the global initialization file.
require_once '../inc/global.inc.php';
$current_course_tool = TOOL_FORUM;

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

@ -5,9 +5,6 @@
* @package chamilo.group
*/
// Name of the language file that needs to be included
$language_file = 'group';
require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES;
$current_course_tool = TOOL_GROUP;

@ -4,10 +4,6 @@
/**
* @package chamilo.group
*/
// Name of the language file that needs to be included
$language_file = 'group';
require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES;
$current_course_tool = TOOL_GROUP;

@ -13,9 +13,6 @@
/* INIT SECTION */
// Name of the language file that needs to be included
$language_file = 'group';
require '../inc/global.inc.php';
$this_section = SECTION_COURSES;
$current_course_tool = TOOL_GROUP;

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

@ -9,9 +9,6 @@
* @todo Display error message if no group ID specified
*/
// Name of the language file that needs to be included
$language_file = 'group';
require_once '../inc/global.inc.php';
$current_course_tool = TOOL_GROUP;

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

@ -13,9 +13,6 @@
/* INIT SECTION */
// Name of the language file that needs to be included
$language_file = 'group';
require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES;
$current_course_tool = TOOL_GROUP;

@ -10,10 +10,6 @@
* @package chamilo.group
* @todo course admin functionality to create groups based on who is in which course (or class).
*/
// Name of the language file that needs to be included
$language_file = 'group';
require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES;
$current_course_tool = TOOL_GROUP;

@ -11,9 +11,6 @@
* @todo course admin functionality to create groups based on who is in which course (or class).
*/
// Name of the language file that needs to be included
$language_file = 'group';
require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES;
$current_course_tool = TOOL_GROUP;

@ -6,7 +6,7 @@
* @author Julio Montoya <gugli100@gmail.com>
*/
$language_file = array('userInfo', 'forum');
$language_file = array('userInfo');
$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', 'group');
$language_file = array ('admin');
// including necessary files
require_once 'main/inc/global.inc.php';

Loading…
Cancel
Save