@@ 6907-6920 (lines=14) @@ | ||
6904 | if (!empty($questionDescription)) { |
|
6905 | $html .= Display::div($questionDescription, array('class' => 'question_description')); |
|
6906 | } |
|
6907 | } else { |
|
6908 | $html .= '<div class="media">'; |
|
6909 | $html .= '<div class="pull-left">'; |
|
6910 | $html .= '<div class="media-object">'; |
|
6911 | $html .= Display::div($current_item, array('class' => 'question_no_title')); |
|
6912 | $html .= '</div>'; |
|
6913 | $html .= '</div>'; |
|
6914 | $html .= '<div class="media-body">'; |
|
6915 | if (!empty($questionDescription)) { |
|
6916 | $html .= Display::div($questionDescription, array('class' => 'question_description')); |
|
6917 | } |
|
6918 | $html .= '</div>'; |
|
6919 | $html .= '</div>'; |
|
6920 | } |
|
6921 | } |
|
6922 | ||
6923 | if (in_array($answerType, array(FREE_ANSWER, ORAL_EXPRESSION)) && $freeze) { |
|
@@ 7569-7582 (lines=14) @@ | ||
7566 | $html .= TestCategory::getCategoryNamesForQuestion($objQuestionTmp->id); |
|
7567 | $html .= '<div class="question_title">'.$current_item.'. '.$questionName.'</div>'; |
|
7568 | $html .= $questionDescription; |
|
7569 | } else { |
|
7570 | $html .= '<div class="media">'; |
|
7571 | $html .= '<div class="pull-left">'; |
|
7572 | $html .= '<div class="media-object">'; |
|
7573 | $html .= Display::div($current_item.'. ', array('class' => 'question_no_title')); |
|
7574 | $html .= '</div>'; |
|
7575 | $html .= '</div>'; |
|
7576 | $html .= '<div class="media-body">'; |
|
7577 | if (!empty($questionDescription)) { |
|
7578 | $html .= Display::div($questionDescription, array('class' => 'question_description')); |
|
7579 | } |
|
7580 | $html .= '</div>'; |
|
7581 | $html .= '</div>'; |
|
7582 | } |
|
7583 | //@todo I need to the get the feedback type |
|
7584 | $html .= '<input type="hidden" name="hidden_hotspot_id" value="'.$questionId.'" />'; |
|
7585 | $html .= '<table class="exercise_questions"> |