@@ 1461-1472 (lines=12) @@ | ||
1458 | $html .= '<p class="gapfill-preview">' . $gapfill_pre . ' <u>' . $gapfill_gap . '</u> ' . $gapfill_post . '</p>'; |
|
1459 | $html .= '</div>'; |
|
1460 | break; |
|
1461 | case 'multi-line': |
|
1462 | $html .= '<div class="question_multiline_fields ' . $question_class . '">'; |
|
1463 | // Guides for grading |
|
1464 | if( $question_counter ) { |
|
1465 | $field_id = 'question_' . $question_counter . '_add_question_right_answer_multiline'; |
|
1466 | } else { |
|
1467 | $field_id = 'add_question_right_answer_multiline'; |
|
1468 | } |
|
1469 | $html .= '<label>' . __( 'Guide/Teacher Notes for grading the answer' , 'woothemes-sensei' ) . '</label> '; |
|
1470 | $html .= '<textarea id="' . $field_id . '" name="add_question_right_answer_multiline" rows="4" cols="40" class="widefat">' . $right_answer . '</textarea>'; |
|
1471 | $html .= '</div>'; |
|
1472 | break; |
|
1473 | case 'single-line': |
|
1474 | $html .= '<div class="question_singleline_fields ' . $question_class . '">'; |
|
1475 | // Recommended Answer |
|
@@ 1473-1484 (lines=12) @@ | ||
1470 | $html .= '<textarea id="' . $field_id . '" name="add_question_right_answer_multiline" rows="4" cols="40" class="widefat">' . $right_answer . '</textarea>'; |
|
1471 | $html .= '</div>'; |
|
1472 | break; |
|
1473 | case 'single-line': |
|
1474 | $html .= '<div class="question_singleline_fields ' . $question_class . '">'; |
|
1475 | // Recommended Answer |
|
1476 | if( $question_counter ) { |
|
1477 | $field_id = 'question_' . $question_counter . '_add_question_right_answer_singleline'; |
|
1478 | } else { |
|
1479 | $field_id = 'add_question_right_answer_singleline'; |
|
1480 | } |
|
1481 | $html .= '<label>' . __( 'Recommended Answer' , 'woothemes-sensei' ) . '</label> '; |
|
1482 | $html .= '<input type="text" id="' . $field_id . '" name="add_question_right_answer_singleline" value="' . $right_answer . '" size="25" class="widefat" />'; |
|
1483 | $html .= '</div>'; |
|
1484 | break; |
|
1485 | case 'file-upload': |
|
1486 | $html .= '<div class="question_fileupload_fields ' . $question_class . '">'; |
|
1487 | if( $question_counter ) { |