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
gradebook.php
34 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Gradebook settings section |
| 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 | ?> |
| 13 | <div class="tutor-option-main-title"> |
| 14 | <div class="tutor-fs-4 tutor-fw-medium tutor-color-black"> |
| 15 | <?php echo esc_html( $section->label ); ?> |
| 16 | </div> |
| 17 | <button class="reset-btn reset_to_default" data-reset="<?php echo esc_attr( $section['slug'] ); ?>"> |
| 18 | <i class="btn-icon tutor-icon-refresh"></i> |
| 19 | <?php esc_html_e( 'Reset to Default', 'tutor' ); ?> |
| 20 | </button> |
| 21 | </div> |
| 22 | |
| 23 | <?php |
| 24 | foreach ( $section['blocks'] as $blocks ) : |
| 25 | if ( empty( $blocks['label'] ) ) : |
| 26 | ?> |
| 27 | <div class="tutor-option-single-item tutor-mb-32"> |
| 28 | <?php echo $this->blocks( $blocks ); //phpcs:ignore --contain safe data ?> |
| 29 | </div> |
| 30 | <?php else : ?> |
| 31 | <?php echo $this->blocks( $blocks ); //phpcs:ignore -- contain safe data ?> |
| 32 | <?php endif; ?> |
| 33 | <?php endforeach; ?> |
| 34 |