[svn r17988] Avoid false translation of UploadADocument by loading first the exercise language file, then overwriting with work (see FS#3530)

skala
Yannick Warnier 16 years ago
parent 43b5d19542
commit 738e9516e8
  1. 4
      main/work/work.php

@ -27,7 +27,7 @@
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University - ability for course admins to specify wether uploaded documents are visible or invisible by default. * @author Patrick Cool <patrick.cool@UGent.be>, Ghent University - ability for course admins to specify wether uploaded documents are visible or invisible by default.
* @author Roan Embrechts, code refactoring and virtual course support * @author Roan Embrechts, code refactoring and virtual course support
* @author Frederic Vauthier, directories management * @author Frederic Vauthier, directories management
* @version $Id: work.php 17970 2009-01-23 19:38:23Z cvargas1 $ * @version $Id: work.php 17988 2009-01-25 05:36:04Z yannoo $
* *
* @todo refactor more code into functions, use quickforms, coding standards, ... * @todo refactor more code into functions, use quickforms, coding standards, ...
*/ */
@ -85,10 +85,10 @@
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = array ( $language_file = array (
'exercice',
'work', 'work',
'document', 'document',
'admin', 'admin',
'exercice'
); );
require("../inc/global.inc.php"); require("../inc/global.inc.php");
// @todo why is this needed? // @todo why is this needed?

Loading…
Cancel
Save