Minor: Survey: Update language variables for selective display questions - refs BT#17113

pull/3285/head
Yannick Warnier 5 years ago
parent 090d4d5a1c
commit 2217fe68b8
  1. 2
      main/survey/survey.php
  2. 3
      main/survey/survey_question.php

@ -200,7 +200,7 @@ if ($survey_data['survey_type'] == 0) {
$urlQuestion.'&type=comment&survey_id='.$survey_id
);
echo Display::url(
Display::return_icon('mcua.png', get_lang('SurveyMultipleAnswerWithOther'), null, ICON_SIZE_BIG),
Display::return_icon('mcua.png', get_lang('SurveyMultipleChoiceWithOther'), null, ICON_SIZE_BIG),
$urlQuestion.'&type=multiplechoiceother&survey_id='.$survey_id
);
if ($survey_data['one_question_per_page'] == 0) {

@ -180,7 +180,8 @@ class survey_question
$allowParent = true;
break;
case 'multiplechoiceother':
$toolName = get_lang('SurveyMultipleAnswerWithOther');
$toolName = get_lang('SurveyQuestionMultipleChoiceWithOther');
$questionComment = get_lang('SurveyQuestionMultipleChoiceWithOtherComment');
$allowParent = true;
break;
case 'pagebreak':

Loading…
Cancel
Save