|
@@ 6924-6937 (lines=14) @@
|
| 6921 |
|
if (!empty($questionDescription)) { |
| 6922 |
|
$html .= Display::div($questionDescription, array('class' => 'question_description')); |
| 6923 |
|
} |
| 6924 |
|
} else { |
| 6925 |
|
$html .= '<div class="media">'; |
| 6926 |
|
$html .= '<div class="pull-left">'; |
| 6927 |
|
$html .= '<div class="media-object">'; |
| 6928 |
|
$html .= Display::div($current_item, array('class' => 'question_no_title')); |
| 6929 |
|
$html .= '</div>'; |
| 6930 |
|
$html .= '</div>'; |
| 6931 |
|
$html .= '<div class="media-body">'; |
| 6932 |
|
if (!empty($questionDescription)) { |
| 6933 |
|
$html .= Display::div($questionDescription, array('class' => 'question_description')); |
| 6934 |
|
} |
| 6935 |
|
$html .= '</div>'; |
| 6936 |
|
$html .= '</div>'; |
| 6937 |
|
} |
| 6938 |
|
} |
| 6939 |
|
|
| 6940 |
|
if (in_array($answerType, array(FREE_ANSWER, ORAL_EXPRESSION)) && $freeze) { |
|
@@ 7586-7599 (lines=14) @@
|
| 7583 |
|
$html .= TestCategory::getCategoryNamesForQuestion($objQuestionTmp->id); |
| 7584 |
|
$html .= '<div class="question_title">'.$current_item.'. '.$questionName.'</div>'; |
| 7585 |
|
$html .= $questionDescription; |
| 7586 |
|
} else { |
| 7587 |
|
$html .= '<div class="media">'; |
| 7588 |
|
$html .= '<div class="pull-left">'; |
| 7589 |
|
$html .= '<div class="media-object">'; |
| 7590 |
|
$html .= Display::div($current_item.'. ', array('class' => 'question_no_title')); |
| 7591 |
|
$html .= '</div>'; |
| 7592 |
|
$html .= '</div>'; |
| 7593 |
|
$html .= '<div class="media-body">'; |
| 7594 |
|
if (!empty($questionDescription)) { |
| 7595 |
|
$html .= Display::div($questionDescription, array('class' => 'question_description')); |
| 7596 |
|
} |
| 7597 |
|
$html .= '</div>'; |
| 7598 |
|
$html .= '</div>'; |
| 7599 |
|
} |
| 7600 |
|
//@todo I need to the get the feedback type |
| 7601 |
|
$html .= '<input type="hidden" name="hidden_hotspot_id" value="'.$questionId.'" />'; |
| 7602 |
|
$html .= '<table class="exercise_questions"> |