| @@ 115-122 (lines=8) @@ | ||
| 112 | $num_suggestions = 0; |
|
| 113 | ||
| 114 | if (in_array($answerType, [MATCHING, DRAGGABLE, MATCHING_DRAGGABLE])) { |
|
| 115 | if ($answerType == DRAGGABLE) { |
|
| 116 | $s .= '<div class="col-md-12 ui-widget ui-helper-clearfix"> |
|
| 117 | <div class="clearfix"> |
|
| 118 | <ul class="exercise-draggable-answer ui-helper-reset ui-helper-clearfix">'; |
|
| 119 | } else { |
|
| 120 | $s .= '<div id="drag'.$questionId.'_question" class="drag_question"> |
|
| 121 | <table class="data_table">'; |
|
| 122 | } |
|
| 123 | ||
| 124 | // Iterate through answers |
|
| 125 | $x = 1; |
|
| @@ 6963-6969 (lines=7) @@ | ||
| 6960 | $num_suggestions = 0; |
|
| 6961 | ||
| 6962 | if ($answerType == MATCHING || $answerType == DRAGGABLE) { |
|
| 6963 | if ($answerType == DRAGGABLE) { |
|
| 6964 | $s .= '<div class="ui-widget ui-helper-clearfix"> |
|
| 6965 | <ul class="drag_question ui-helper-reset ui-helper-clearfix">'; |
|
| 6966 | } else { |
|
| 6967 | $s .= '<div id="drag'.$questionId.'_question" class="drag_question">'; |
|
| 6968 | $s .= '<table class="data_table">'; |
|
| 6969 | } |
|
| 6970 | ||
| 6971 | $j = 1; //iterate through answers |
|
| 6972 | $letter = 'A'; //mark letters for each answer |
|