Removed -lang- prefix in get_lang() calls

skala
Yannick Warnier 13 years ago
parent c0b288c4a1
commit 2b565cdf9a
  1. 4
      main/exercice/exercise.class.php
  2. 10
      main/exercice/multiple_answer_combination.class.php
  3. 4
      main/user/subscribe_user.php

@ -874,7 +874,7 @@ class Exercise {
}
$form->addElement ('html','<div class="HideFCKEditor" id="HiddenFCKexerciseDescription" >');
$form->add_html_editor('exerciseDescription', get_lang('langExerciseDescription'), false, false, $editor_config);
$form->add_html_editor('exerciseDescription', get_lang('ExerciseDescription'), false, false, $editor_config);
$form->addElement ('html','</div>');
$form->addElement('advanced_settings','<a href="javascript://" onclick=" return advanced_parameters()"><span id="img_plus_and_minus"><div style="vertical-align:top;" >
@ -3615,4 +3615,4 @@ class Exercise {
return $html;
}
}
endif;
endif;

@ -88,13 +88,13 @@ class MultipleAnswerCombination extends Question {
$defaults['weighting['.$i.']'] = float_format($answer -> weighting[$i], 1);
$defaults['correct['.$i.']'] = $answer -> correct[$i];
} else {
$defaults['answer[1]'] = get_lang('langDefaultMultipleAnswer2');
$defaults['comment[1]'] = get_lang('langDefaultMultipleComment2');
$defaults['answer[1]'] = get_lang('DefaultMultipleAnswer2');
$defaults['comment[1]'] = get_lang('DefaultMultipleComment2');
$defaults['correct[1]'] = true;
$defaults['weighting[1]'] = 10;
$defaults['answer[2]'] = get_lang('langDefaultMultipleAnswer1');
$defaults['comment[2]'] = get_lang('langDefaultMultipleComment1');
$defaults['answer[2]'] = get_lang('DefaultMultipleAnswer1');
$defaults['comment[2]'] = get_lang('DefaultMultipleComment1');
$defaults['correct[2]'] = false;
}
$renderer = & $form->defaultRenderer();
@ -226,4 +226,4 @@ class MultipleAnswerCombination extends Question {
$header .= '</tr>';
return $header;
}
}
}

@ -95,7 +95,7 @@ if (isset ($_REQUEST['register'])) {
for ($j=0; $j<$counter;$j++) {
if ($user_id_temp[$j]==$_GET['user_id']) {
if ($result_simple_sub) {
Display::display_confirmation_message($_SESSION['session_user_name'][$j].' '.get_lang('langAddedToCourse'));
Display::display_confirmation_message($_SESSION['session_user_name'][$j].' '.get_lang('AddedToCourse'));
} else {
Display::display_error_message($_SESSION['session_user_name'][$j].' '.get_lang('NotAddedToCourse'));
@ -156,7 +156,7 @@ if (isset ($_POST['action'])) {
if (!empty($list_register_user)) {
if ($is_suscribe_counter==1) {
$register_user_message=$temp_unique_user.' '.get_lang('langAddedToCourse');
$register_user_message=$temp_unique_user.' '.get_lang('AddedToCourse');
Display::display_confirmation_message($register_user_message,false);
} else {
$register_user_message='<br />'.get_lang('UsersRegistered').'<br/><br />'.$list_register_user;

Loading…
Cancel
Save