[svn r20748] FS#306 - Fixing direct use of the language variable $langQuestion. Now its value is processed and retrieved by the function get_lang().

skala
Ivan Tcholakov 16 years ago
parent 8217cd1cda
commit 5bb90e7b32
  1. 4
      main/exercice/answer_admin.inc.php
  2. 2
      main/exercice/hotspot_admin.inc.php
  3. 2
      main/newscorm/learnpath_functions.inc.php

@ -22,7 +22,7 @@
* This script allows to manage answers. It is included from the script admin.php
* @package dokeos.exercise
* @author Olivier Brouckaert
* @version $Id: answer_admin.inc.php 20451 2009-05-10 12:02:22Z ivantcholakov $
* @version $Id: answer_admin.inc.php 20748 2009-05-17 10:35:35Z ivantcholakov $
*/
@ -1360,7 +1360,7 @@ if($modifyAnswers)
?>
<h3>
<?php echo $langQuestion.": ".$questionName; ?>
<?php echo get_lang('Question').": ".$questionName; ?>
</h3>
<?php
if(!empty($msgErr))

@ -250,7 +250,7 @@ if($modifyAnswers)
?>
<h3>
<?php echo $langQuestion.": ".$questionName.' <img src="../img/info3.gif" title="'.strip_tags(get_lang('HotspotChoose')).'" alt="'.strip_tags(get_lang('HotspotChoose')).'" />'; ?>
<?php echo get_lang('Question').": ".$questionName.' <img src="../img/info3.gif" title="'.strip_tags(get_lang('HotspotChoose')).'" alt="'.strip_tags(get_lang('HotspotChoose')).'" />'; ?>
</h3>
<?php
if(!empty($msgErr))

@ -1578,7 +1578,7 @@ function export_exercise($item_id)
}
}
echo $s = "<tr bgcolor='#e6e6e6'><td valign='top' colspan='2'>".$langQuestion." ";
echo $s = "<tr bgcolor='#e6e6e6'><td valign='top' colspan='2'>".get_lang('Question')." ";
//Call the showQuestion() function from exercise.lib.php. This basically displays the question in a table
$test .= showQuestion($questionId, false, 'export', $i, $nbrQuestions);

Loading…
Cancel
Save