| @@ 108-115 (lines=8) @@ | ||
| 105 | // on the right side are called answers |
|
| 106 | $num_suggestions = 0; |
|
| 107 | if (in_array($answerType, [MATCHING, DRAGGABLE, MATCHING_DRAGGABLE])) { |
|
| 108 | if ($answerType == DRAGGABLE) { |
|
| 109 | $s .= '<div class="col-md-12 ui-widget ui-helper-clearfix"> |
|
| 110 | <div class="clearfix"> |
|
| 111 | <ul class="exercise-draggable-answer ui-helper-reset ui-helper-clearfix list-inline">'; |
|
| 112 | } else { |
|
| 113 | $s .= '<div id="drag' . $questionId . '_question" class="drag_question"> |
|
| 114 | <table class="data_table">'; |
|
| 115 | } |
|
| 116 | ||
| 117 | // Iterate through answers |
|
| 118 | $x = 1; |
|
| @@ 7036-7042 (lines=7) @@ | ||
| 7033 | $num_suggestions = 0; |
|
| 7034 | ||
| 7035 | if ($answerType == MATCHING || $answerType == DRAGGABLE) { |
|
| 7036 | if ($answerType == DRAGGABLE) { |
|
| 7037 | $s .= '<div class="ui-widget ui-helper-clearfix"> |
|
| 7038 | <ul class="drag_question ui-helper-reset ui-helper-clearfix">'; |
|
| 7039 | } else { |
|
| 7040 | $s .= '<div id="drag'.$questionId.'_question" class="drag_question">'; |
|
| 7041 | $s .= '<table class="data_table">'; |
|
| 7042 | } |
|
| 7043 | ||
| 7044 | $j = 1; //iterate through answers |
|
| 7045 | $letter = 'A'; //mark letters for each answer |
|