common
3 years ago
basic.php
3 years ago
buddypress.php
3 years ago
color_picker.php
3 years ago
design.php
3 years ago
google_classroom.php
3 years ago
gradebook.php
3 years ago
import_export.php
3 years ago
notifications.php
3 years ago
status.php
3 years ago
tab.php
3 years ago
tutor_pages.php
3 years ago
zoom.php
4 years ago
basic.php
28 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Settings option view |
| 4 | * |
| 5 | * @package Tutor\Views |
| 6 | * @subpackage Tutor\Settings |
| 7 | * @author Themeum <support@themeum.com> |
| 8 | * @link https://themeum.com |
| 9 | * @since 2.0.0 |
| 10 | */ |
| 11 | |
| 12 | //phpcs:ignore -- contain safe data |
| 13 | echo $this->view_template( 'common/reset-button-template.php', $section ); ?> |
| 14 | |
| 15 | <?php |
| 16 | foreach ( $section['blocks'] as $blocks ) : |
| 17 | if ( empty( $blocks['label'] ) ) : |
| 18 | ?> |
| 19 | <div class="tutor-option-single-item tutor-mb-32"> |
| 20 | <?php echo $this->blocks( $blocks ); //phpcs:ignore ?> |
| 21 | </div> |
| 22 | <?php else : ?> |
| 23 | <?php |
| 24 | echo $this->blocks( $blocks ); //phpcs:ignore |
| 25 | ?> |
| 26 | <?php endif; ?> |
| 27 | <?php endforeach; ?> |
| 28 |