announcements
1 year ago
assignments
8 months ago
elements
1 year ago
enrolled-courses
3 years ago
instructor
2 years ago
my-courses
1 year ago
my-quiz-attempts
3 years ago
notifications
3 years ago
question-answer
1 year ago
quiz-attempts
3 years ago
reviews
3 years ago
settings
1 year ago
withdraw-method-fields
3 years ago
announcements.php
1 year ago
assignments.php
10 months ago
create-course.php
1 year ago
dashboard.php
8 months ago
enrolled-courses.php
8 months ago
index.php
3 years ago
logged-in.php
3 years ago
my-courses.php
8 months ago
my-profile.php
9 months ago
my-quiz-attempts.php
3 years ago
purchase_history.php
10 months ago
question-answer.php
11 months ago
quiz-attempts.php
1 year ago
registration.php
2 years ago
reviews.php
3 years ago
settings.php
1 year ago
wishlist.php
1 year ago
withdraw.php
1 year ago
settings.php
33 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Frontend Settings Page |
| 4 | * |
| 5 | * @package Tutor\Templates |
| 6 | * @subpackage Dashboard |
| 7 | * @author Themeum <support@themeum.com> |
| 8 | * @link https://themeum.com |
| 9 | * @version 1.4.3 |
| 10 | */ |
| 11 | |
| 12 | ?> |
| 13 | <div class="tutor-fs-4 tutor-fw-medium tutor-mb-24"><?php esc_html_e( 'Settings', 'tutor' ); ?></div> |
| 14 | |
| 15 | <div class="tutor-dashboard-content-inner"> |
| 16 | <div class="tutor-mb-32"> |
| 17 | <?php |
| 18 | tutor_load_template( 'dashboard.settings.nav-bar', array( 'active_setting_nav' => 'profile' ) ); |
| 19 | ?> |
| 20 | </div> |
| 21 | </div> |
| 22 | |
| 23 | <?php |
| 24 | if ( isset( $GLOBALS['tutor_setting_nav']['profile'] ) ) { |
| 25 | tutor_load_template( 'dashboard.settings.profile' ); |
| 26 | } else { |
| 27 | foreach ( $GLOBALS['tutor_setting_nav'] as $page ) { |
| 28 | echo '<script>window.location.replace("', esc_url( $page['url'] ), '");</script>'; |
| 29 | break; |
| 30 | } |
| 31 | } |
| 32 | ?> |
| 33 |