Przeglądaj źródła

[svn r18093] fix the mix of language variables between agenda and resourcelinker

Juan Carlos Raña 16 lat temu
rodzic
commit
3d47563df3

+ 2 - 2
main/calendar/agenda.php

@@ -1,4 +1,4 @@
-<?php //$Id: agenda.php 18016 2009-01-26 22:00:07Z juliomontoya $
+<?php //$Id: agenda.php 18093 2009-01-30 20:23:45Z herodoto $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -27,7 +27,7 @@
 ==============================================================================
 */
 // name of the language file that needs to be included
-$language_file = array('agenda','resourcelinker','group');
+$language_file = array('agenda','group');
 
 // use anonymous mode when accessing this course tool
 $use_anonymous = true;

+ 4 - 4
main/resourcelinker/resourcelinker.inc.php

@@ -1,4 +1,4 @@
-<?php // $Id: resourcelinker.inc.php 18048 2009-01-28 17:08:23Z herodoto $
+<?php // $Id: resourcelinker.inc.php 18093 2009-01-30 20:23:45Z herodoto $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -40,10 +40,10 @@
 */
 
 // name of the language file that needs to be included 
-$language_file = "resourcelinker";
+//$language_file = "resourcelinker";// TODO: Repeated deleting and moving the rest of this lang file to trad4all
 
-include(api_get_path(SYS_CODE_PATH).'lang/english/resourcelinker.inc.php');
-include(api_get_path(SYS_CODE_PATH).'lang/'.$_course['language'].'/resourcelinker.inc.php');
+//include(api_get_path(SYS_CODE_PATH).'lang/english/resourcelinker.inc.php'); // TODO: Repeated deleting and moving the rest of this lang file to trad4all
+//include(api_get_path(SYS_CODE_PATH).'lang/'.$_course['language'].'/resourcelinker.inc.php'); // TODO: Repeated deleting and moving the rest of this lang file to trad4all
 include_once(api_get_path(LIBRARY_PATH).'fileDisplay.lib.php');
 include('../exercice/hotpotatoes.lib.php');
 

+ 1 - 1
main/resourcelinker/resourcelinker.php

@@ -39,7 +39,7 @@
 ==============================================================================
 */
 // name of the language file that needs to be included 
-$language_file = 'resourcelinker';
+//$language_file = 'resourcelinker';// TODO: Repeated deleting and moving the rest of this lang file to trad4all
 include ('../inc/global.inc.php');
 $this_section=SECTION_COURSES;