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