|
@@ 6854-6867 (lines=14) @@
|
| 6851 |
|
if (!empty($questionDescription)) { |
| 6852 |
|
$html .= Display::div($questionDescription, array('class' => 'question_description')); |
| 6853 |
|
} |
| 6854 |
|
} else { |
| 6855 |
|
$html .= '<div class="media">'; |
| 6856 |
|
$html .= '<div class="pull-left">'; |
| 6857 |
|
$html .= '<div class="media-object">'; |
| 6858 |
|
$html .= Display::div($current_item, array('class' => 'question_no_title')); |
| 6859 |
|
$html .= '</div>'; |
| 6860 |
|
$html .= '</div>'; |
| 6861 |
|
$html .= '<div class="media-body">'; |
| 6862 |
|
if (!empty($questionDescription)) { |
| 6863 |
|
$html .= Display::div($questionDescription, array('class' => 'question_description')); |
| 6864 |
|
} |
| 6865 |
|
$html .= '</div>'; |
| 6866 |
|
$html .= '</div>'; |
| 6867 |
|
} |
| 6868 |
|
} |
| 6869 |
|
|
| 6870 |
|
if (in_array($answerType, array(FREE_ANSWER, ORAL_EXPRESSION)) && $freeze) { |
|
@@ 7518-7531 (lines=14) @@
|
| 7515 |
|
$html .= TestCategory::getCategoryNamesForQuestion($objQuestionTmp->id); |
| 7516 |
|
$html .= '<div class="question_title">'.$current_item.'. '.$questionName.'</div>'; |
| 7517 |
|
$html .= $questionDescription; |
| 7518 |
|
} else { |
| 7519 |
|
$html .= '<div class="media">'; |
| 7520 |
|
$html .= '<div class="pull-left">'; |
| 7521 |
|
$html .= '<div class="media-object">'; |
| 7522 |
|
$html .= Display::div($current_item.'. ', array('class' => 'question_no_title')); |
| 7523 |
|
$html .= '</div>'; |
| 7524 |
|
$html .= '</div>'; |
| 7525 |
|
$html .= '<div class="media-body">'; |
| 7526 |
|
if (!empty($questionDescription)) { |
| 7527 |
|
$html .= Display::div($questionDescription, array('class' => 'question_description')); |
| 7528 |
|
} |
| 7529 |
|
$html .= '</div>'; |
| 7530 |
|
$html .= '</div>'; |
| 7531 |
|
} |
| 7532 |
|
//@todo I need to the get the feedback type |
| 7533 |
|
$html .= '<input type="hidden" name="hidden_hotspot_id" value="'.$questionId.'" />'; |
| 7534 |
|
$html .= '<table class="exercise_questions"> |