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

skala
Isaac Flores 16 years ago
parent 90d6513dec
commit ed2aa0725a
  1. 4
      main/exercice/exercice.php
  2. 4
      main/exercice/question_create.php

@ -1,5 +1,5 @@
<?php <?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 (($is_allowedToEdit) and ($origin != 'learnpath')) {
if ($_GET['show'] != 'result') { 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="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="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>'; 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>';
} }

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

Loading…
Cancel
Save