edit-lesson.php
3 years ago
edit_quiz.php
4 years ago
login.php
4 years ago
question_answer_form.php
4 years ago
question_answer_list.php
4 years ago
question_form.php
3 years ago
review.php
4 years ago
topic-form.php
4 years ago
topic-form.php
48 lines
| 1 | <div id="<?php echo $data['wrapper_id']; ?>" class="tutor-modal tutor-modal-scrollable<?php echo is_admin() ? ' tutor-admin-design-init' : ''; ?> <?php echo $data['wrapper_class']; ?>"> |
| 2 | <div class="tutor-modal-overlay"></div> |
| 3 | <div class="tutor-modal-window"> |
| 4 | <div class="tutor-modal-content"> |
| 5 | <div class="tutor-modal-header"> |
| 6 | <div class="tutor-modal-title"> |
| 7 | <?php echo $data['modal_title']; ?> |
| 8 | </div> |
| 9 | |
| 10 | <button class="tutor-iconic-btn tutor-modal-close" data-tutor-modal-close> |
| 11 | <span class="tutor-icon-times" area-hidden="true"></span> |
| 12 | </button> |
| 13 | </div> |
| 14 | |
| 15 | <div class="tutor-modal-body"> |
| 16 | <div class="tutor-mb-32"> |
| 17 | <label class="tutor-form-label"><?php _e('Topic Name', 'tutor'); ?></label> |
| 18 | <input type="text" name="topic_title" class="tutor-form-control" value="<?php echo !empty($data['title']) ? $data['title'] : ''; ?>"/> |
| 19 | <div class="tutor-form-feedback"> |
| 20 | <i class="tutor-icon-circle-info-o tutor-form-feedback-icon"></i> |
| 21 | <div><?php _e('Topic titles are displayed publicly wherever required. Each topic may contain one or more lessons, quiz and assignments.', 'tutor'); ?></div> |
| 22 | </div> |
| 23 | </div> |
| 24 | |
| 25 | <div> |
| 26 | <label class="tutor-form-label"><?php _e('Topic Summary', 'tutor'); ?></label> |
| 27 | <textarea name="topic_summery" class="tutor-form-control tutor-mb-12"><?php echo !empty($data['summary']) ? $data['summary'] : ''; ?></textarea> |
| 28 | <input type="hidden" name="topic_course_id" value="<?php echo $data['course_id']; ?>"> |
| 29 | <input type="hidden" name="topic_id" value="<?php echo $data['topic_id']; ?>"> |
| 30 | <div class="tutor-form-feedback"> |
| 31 | <i class="tutor-icon-circle-info-o tutor-form-feedback-icon"></i> |
| 32 | <div><?php _e('Add a summary of short text to prepare students for the activities for the topic. The text is shown on the course page beside the tooltip beside the topic name.', 'tutor'); ?></div> |
| 33 | </div> |
| 34 | </div> |
| 35 | </div> |
| 36 | |
| 37 | <div class="tutor-modal-footer"> |
| 38 | <button class="tutor-btn tutor-btn-outline-primary" data-tutor-modal-close> |
| 39 | <?php _e('Cancel', 'tutor'); ?> |
| 40 | </button> |
| 41 | |
| 42 | <button type="button" class="tutor-btn tutor-btn-primary <?php echo !empty($data['button_class']) ? $data['button_class'] : ''; ?>" id="<?php echo !empty($data['button_id']) ? $data['button_id'] : ''; ?>"> |
| 43 | <?php echo $data['button_text']; ?> |
| 44 | </button> |
| 45 | </div> |
| 46 | </div> |
| 47 | </div> |
| 48 | </div> |