course-filter
4 years ago
dashboard
4 years ago
email
4 years ago
global
4 years ago
loop
4 years ago
profile
4 years ago
shortcode
4 years ago
single
4 years ago
template-part
4 years ago
widget
4 years ago
archive-course-init.php
5 years ago
archive-course.php
4 years ago
course-none.php
5 years ago
dashboard.php
4 years ago
feature_disabled.php
4 years ago
instructor-setting.php
4 years ago
login.php
4 years ago
permission-denied.php
4 years ago
public-profile-setting.php
4 years ago
single-assignment.php
4 years ago
single-course-enrolled-announcements.php
4 years ago
single-course-enrolled-overview.php
4 years ago
single-course-enrolled-questions.php
4 years ago
single-course-enrolled-subpage.php
4 years ago
single-course-enrolled.php
4 years ago
single-course-instructor.php
4 years ago
single-course.php
4 years ago
single-lesson.php
4 years ago
single-preview-lesson.php
4 years ago
single-quiz.php
4 years ago
student-public-profile.php
4 years ago
template.php
4 years ago
instructor-setting.php
34 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; |
| 4 | } |
| 5 | ?> |
| 6 | |
| 7 | <div class="tutor-option-field-row"> |
| 8 | <div class="tutor-option-field-label"> |
| 9 | <label for=""><?php _e( 'Instructor List Layout', 'tutor' ); ?></label> |
| 10 | </div> |
| 11 | <div class="tutor-option-field"> |
| 12 | <div class="instructor-layout-templates-fields"> |
| 13 | <?php |
| 14 | $url_base = tutor()->url . 'assets/images/instructor-layout/'; |
| 15 | |
| 16 | foreach ( $templates as $template ) { |
| 17 | $img = $url_base . $template . '.jpg'; |
| 18 | $selected_template = tutor_utils()->get_option( 'instructor_list_layout' ); |
| 19 | ?> |
| 20 | <label class="instructor-layout-template <?php echo $template === $selected_template ? 'selected-template' : ''; ?> "> |
| 21 | <img src="<?php echo esc_url( $img ); ?>" /> |
| 22 | <input type="radio" name="tutor_option[instructor_list_layout]" value="<?php echo $template; ?>" <?php checked( $template, $selected_template ); ?> style="display: none;" > |
| 23 | </label> |
| 24 | <?php |
| 25 | } |
| 26 | ?> |
| 27 | </div> |
| 28 | <p class="desc"> |
| 29 | <?php _e( 'Selected one will be used if layout is not defined as shortcode attribute.', 'tutor' ); ?> |
| 30 | </p> |
| 31 | </div> |
| 32 | </div> |
| 33 | |
| 34 |