Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/tutor/views/elements/trashed-course-empty-state.php

Keine Baseline-Datei – Diff nur gegen leer.
Zur Liste
1 -
1 + <?php
2 + /**
3 + * Trashed course empty state views
4 + *
5 + * @package Tutor\Views
6 + * @subpackage Tutor\ViewElements
7 + * @author Themeum <support@themeum.com>
8 + * @link https://themeum.com
9 + * @since 3.7.0
10 + */
11 +
12 + ?>
13 + <div class="tutor-divider tutor-radius-12 tutor-overflow-hidden">
14 + <div class="tutor-px-32 tutor-py-64 tutor-bg-white tutor-text-center">
15 + <h6 class="tutor-fs-6 tutor-fw-bold tutor-mt-0 tutor-mb-8 tutor-mt-32">
16 + <?php esc_html_e( 'No Courses Found.', 'tutor' ); ?>
17 + </h6>
18 + <p class="tutor-d-flex tutor-align-center tutor-justify-center tutor-gap-4px tutor-fs-7 tutor-color-danger tutor-m-0">
19 + <?php
20 + $message = sprintf(
21 + /* translators: %1$s: number of courses, %2$s: the anchor tag */
22 + _n(
23 + 'You have %1$s course in Trash %2$s',
24 + 'You have %1$s courses in Trash %2$s',
25 + $data['trashed_courses_count'],
26 + 'tutor'
27 + ),
28 + number_format_i18n( $data['trashed_courses_count'] ),
29 + '<a href="' . esc_url( $data['trashed_courses_url'] ) . '" class="tutor-btn tutor-btn-link">' . esc_html__( 'View Trash', 'tutor' ) . '</a>'
30 + );
31 + echo wp_kses(
32 + $message,
33 + array(
34 + 'a' => array(
35 + 'href' => true,
36 + 'class' => true,
37 + ),
38 + )
39 + );
40 + ?>
41 + </p>
42 + </div>
43 + </div>
44 +