PluginProbe
Tutor LMS – eLearning and online course solution / 1.9.4
Tutor LMS – eLearning and online course solution v1.9.4
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 3.9.15 3.9.14 3.9.13 3.9.12 3.9.11 trunk 1.0.0 1.0.0-alpha 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 All 191 releases
tutor / templates / instructor-setting.php
instructor-setting.php
33 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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