<?php /** * Open ended * * @package Tutor\Templates * @subpackage Single\Quiz\Parts * @author Themeum <support@themeum.com> * @link https://themeum.com * @version 1.0.0 */ ?> <div class="quiz-question-ans-choice-area tutor-mt-40 question-type-<?php echo esc_attr( $question_type ); ?> <?php echo $answer_required ? 'quiz-answer-required' : ''; ?>"> <div class="quiz-question-ans-choice"> <textarea class="tutor-form-control question_type_<?php echo esc_attr( $question_type ); ?>" name="attempt[<?php echo esc_attr( $is_started_quiz->attempt_id ); ?>][quiz_question][<?php echo esc_attr( $question->question_id ); ?>]"></textarea> </div> <?php if ( 'open_ended' === $question_type ) { $get_option_meta = tutor_utils()->get_quiz_option( $quiz_id ); if ( isset( $get_option_meta['open_ended_answer_characters_limit'] ) ) { if ( '' != $get_option_meta['open_ended_answer_characters_limit'] ) { $characters_limit = $get_option_meta['open_ended_answer_characters_limit']; $markup = '<p class="answer_limit_desc">' . __( 'Character Remaining: ', 'tutor' ) . '<span class="characters_remaining">' . $characters_limit . '</span> </p>'; echo wp_kses( $markup, array( 'p' => array( 'class' => true ), 'span' => array( 'class' => true ), ) ); } } } ?> </div>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
choice-box.php | File | 4.8 KB | 0644 |
|
fill-in-the-blank.php | File | 1.41 KB | 0644 |
|
image-answer.php | File | 1.23 KB | 0644 |
|
image-matching.php | File | 2.3 KB | 0644 |
|
matching.php | File | 2.97 KB | 0644 |
|
meta.php | File | 4.04 KB | 0644 |
|
open-ended.php | File | 1.3 KB | 0644 |
|
ordering.php | File | 2.55 KB | 0644 |
|
question.php | File | 7.96 KB | 0644 |
|
short-answer.php | File | 1.32 KB | 0644 |
|