education.php
6 years ago
profile.php
6 years ago
reset-password.php
6 years ago
skill.php
6 years ago
withdraw-settings.php
6 years ago
skill.php
37 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 | ?> |
| 19 | <ul> |
| 20 | <li> |
| 21 | <a href="<?php echo esc_url($settings_url); ?>"> <?php _e('Profile', 'tutor'); ?></a> |
| 22 | </li> |
| 23 | <!--<li> |
| 24 | <a href="<?php /*echo esc_url($education); */?>"> <?php /*_e('Education'); */?></a> |
| 25 | </li> |
| 26 | <li class="active"> |
| 27 | <a href="<?php /*echo esc_url($skill); */?>"> <?php /*_e('Expertise & Skill'); */?></a> |
| 28 | </li>--> |
| 29 | <?php if(current_user_can(tutor()->instructor_role)){ ?> |
| 30 | <li> |
| 31 | <a href="<?php echo esc_url($withdraw); ?>"> <?php _e('Withdraw', 'tutor'); ?></a> |
| 32 | </li> |
| 33 | <?php } ?> |
| 34 | </ul> |
| 35 | </div> |
| 36 | |
| 37 | </div> |