course-filter
4 years ago
dashboard
4 years ago
email
4 years ago
global
4 years ago
instructor
4 years ago
loop
4 years ago
modal
4 years ago
profile
4 years ago
shortcode
4 years ago
single
4 years ago
template-part
4 years ago
widget
4 years ago
archive-course-init.php
4 years ago
archive-course.php
4 years ago
course-none.php
4 years ago
dashboard.php
4 years ago
feature_disabled.php
4 years ago
instructor-setting.php
4 years ago
login-form.php
4 years ago
login.php
4 years ago
permission-denied.php
4 years ago
public-profile.php
4 years ago
single-assignment.php
4 years ago
single-content-loader.php
4 years ago
single-course.php
4 years ago
single-lesson.php
4 years ago
single-preview-lesson.php
4 years ago
single-quiz.php
4 years ago
template.php
4 years ago
permission-denied.php
58 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Display Permission denied |
| 4 | * |
| 5 | * @since v.1.0.0 |
| 6 | * @author themeum |
| 7 | * @url https://themeum.com |
| 8 | * |
| 9 | * @package TutorLMS/Templates |
| 10 | * @version 1.4.3 |
| 11 | * |
| 12 | * Template content and design updated |
| 13 | * |
| 14 | * @version 1.9.6 |
| 15 | */ |
| 16 | |
| 17 | if ( ! defined( 'ABSPATH' ) ) { |
| 18 | exit; |
| 19 | } |
| 20 | |
| 21 | tutor_utils()->tutor_custom_header(); |
| 22 | |
| 23 | ?> |
| 24 | |
| 25 | <div class="tutor-wrap tutor-wrap-parent tutor-page-permission-denied"> |
| 26 | <div class="tutor-container"> |
| 27 | <div class="tutor-row tutor-justify-center"> |
| 28 | <div class="tutor-col-md-8 tutor-col-lg-6 tutor-col-xl-5"> |
| 29 | <div class="tutor-card"> |
| 30 | <div class="tutor-px-40 tutor-py-64 tutor-text-center"> |
| 31 | <div class="tutor-svg-img"> |
| 32 | <img src="<?php echo esc_url( tutor()->url.'assets/images/permission-denied.svg' ); ?>" alt="<?php _e("Permission Denied", "tutor"); ?>"> |
| 33 | </div> |
| 34 | |
| 35 | <div class="tutor-fs-5 tutor-fw-medium tutor-color-black tutor-mt-n32 tutor-mb-12"><?php echo isset($message) ? $message : __( 'You don\'t have permission to access this page', 'tutor' ); ?></div> |
| 36 | <div class="tutor-fs-6 tutor-color-muted tutor-mb-36"><?php echo isset($description) ? $description : __('Please make sure you are logged in to correct account if the content needs authorization.', 'tutor'); ?></div> |
| 37 | |
| 38 | <?php |
| 39 | if(!isset($button)) { |
| 40 | $button = array( |
| 41 | 'url' => get_home_url(), |
| 42 | 'text' => 'Homepage' |
| 43 | ); |
| 44 | } |
| 45 | ?> |
| 46 | <a href="<?php echo $button['url']; ?>" class="tutor-btn tutor-btn-primary"> |
| 47 | <?php echo $button['text']; ?> |
| 48 | </a> |
| 49 | </div> |
| 50 | </div> |
| 51 | </div> |
| 52 | </div> |
| 53 | </div> |
| 54 | </div> |
| 55 | |
| 56 | <?php |
| 57 | tutor_utils()->tutor_custom_footer(); |
| 58 |