瀏覽代碼

[svn r21708] minor - logic changes - changed variable language - (partial FS#4371)

Isaac Flores 15 年之前
父節點
當前提交
ed2aa0725a
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      main/exercice/exercice.php
  2. 2 2
      main/exercice/question_create.php

+ 2 - 2
main/exercice/exercice.php

@@ -1,5 +1,5 @@
 <?php
-// $Id: exercice.php 21366 2009-06-11 06:51:37Z pcool $
+// $Id: exercice.php 21708 2009-07-01 20:43:00Z iflorespaz $
 
 /*
 ==============================================================================
@@ -796,7 +796,7 @@ if ($_configuration['tracking_enabled']) {
 if (($is_allowedToEdit) and ($origin != 'learnpath')) {
 	if ($_GET['show'] != 'result') {
 		echo '<a href="exercise_admin.php?' . api_get_cidreq() . '">' . Display :: return_icon('new_test.gif', get_lang('NewEx')) . get_lang('NewEx') . '</a>';
-		echo '<a href="question_create.php?' . api_get_cidreq() . '">' . Display :: return_icon('question_add.gif', get_lang('AddQuestion')) . get_lang('AddQuestion') . '</a>';
+		echo '<a href="question_create.php?' . api_get_cidreq() . '">' . Display :: return_icon('question_add.gif', get_lang('AddQuestionToExercise')) . get_lang('AddQuestionToExercise') . '</a>';
 		echo '<a href="hotpotatoes.php">' . Display :: return_icon('jqz.gif', get_lang('ImportHotPotatoesQuiz')) . get_lang('ImportHotPotatoesQuiz') . '</a>';
 		echo '<a href="' . api_add_url_param($_SERVER['REQUEST_URI'], 'show=result') . '">' . Display :: return_icon('show_test_results.gif', get_lang('Results')) . get_lang('Results') . '</a>';
 	}

+ 2 - 2
main/exercice/question_create.php

@@ -46,14 +46,14 @@ api_protect_course_script(true);
 $interbreadcrumb[]=array("url" => "exercice.php","name" => get_lang('Exercices'));
 
 // Tool name
-$nameTools=get_lang('AddQuestion');
+$nameTools=get_lang('AddQuestionToExercise');
 
 
 
 // The form
 $form = new FormValidator('add_question','post');
 // form title
-$form->addElement('header','',get_lang('AddQuestion'));
+$form->addElement('header','',get_lang('AddQuestionToExercise'));
 
 // the question types (normal form element)
 /*