assignments
6 years ago
earning
6 years ago
enrolled-courses
6 years ago
instructor
6 years ago
quiz-attempts
6 years ago
reviews
6 years ago
settings
6 years ago
withdraw-method-fields
6 years ago
assignments.php
6 years ago
create-course.php
6 years ago
dashboard.php
6 years ago
earning.php
6 years ago
enrolled-courses.php
6 years ago
index.php
6 years ago
logged-in.php
6 years ago
my-courses.php
6 years ago
my-profile.php
6 years ago
my-quiz-attempts.php
6 years ago
purchase_history.php
6 years ago
quiz-attempts.php
6 years ago
registration.php
6 years ago
reviews.php
6 years ago
settings.php
6 years ago
wishlist.php
6 years ago
withdraw.php
6 years ago
settings.php
40 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package TutorLMS/Templates |
| 4 | * @version 1.4.3 |
| 5 | */ |
| 6 | |
| 7 | ?> |
| 8 | <h3><?php _e('Settings', 'tutor') ?></h3> |
| 9 | |
| 10 | <div class="tutor-dashboard-content-inner"> |
| 11 | |
| 12 | <div class="tutor-dashboard-inline-links"> |
| 13 | <?php |
| 14 | $settings_url = tutor_utils()->get_tutor_dashboard_page_permalink('settings'); |
| 15 | $education = tutor_utils()->get_tutor_dashboard_page_permalink('settings/education'); |
| 16 | $skill = tutor_utils()->get_tutor_dashboard_page_permalink('settings/skill'); |
| 17 | $withdraw = tutor_utils()->get_tutor_dashboard_page_permalink('settings/withdraw-settings'); |
| 18 | $reset_password = tutor_utils()->get_tutor_dashboard_page_permalink('settings/reset-password'); |
| 19 | ?> |
| 20 | <ul> |
| 21 | <li class="active"> |
| 22 | <a href="<?php echo esc_url($settings_url); ?>"> <?php _e('Profile', 'tutor'); ?></a> |
| 23 | </li> |
| 24 | <li> |
| 25 | <a href="<?php echo esc_url($reset_password); ?>"> <?php _e('Reset Password', 'tutor'); ?></a> |
| 26 | </li> |
| 27 | <?php if(current_user_can(tutor()->instructor_role)){ ?> |
| 28 | <li> |
| 29 | <a href="<?php echo esc_url($withdraw); ?>"> <?php _e('Withdraw', 'tutor'); ?></a> |
| 30 | </li> |
| 31 | <?php } ?> |
| 32 | |
| 33 | </ul> |
| 34 | </div> |
| 35 | |
| 36 | </div> |
| 37 | |
| 38 | <?php |
| 39 | tutor_load_template('dashboard.settings.profile'); |
| 40 | ?> |