PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / trunk
Subscriptions for WooCommerce with Stripe Recurring Payments vtrunk
2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 All 61 releases
subscription / includes / Admin / views / required-notice.php

required-notice.php in Subscriptions for WooCommerce with Stripe Recurring Payments trunk, at includes/Admin/views/required-notice.php

44 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * WooCommerce dependency notice.
4 *
5 * @package SpringDevs\Subscription
6 */
7
8 /*
9 STYLE GUIDE FOR WP SUBSCRIPTION ADMIN PAGES:
10 - Use .wp-subscription-admin-content for main content area.
11 - Use .wp-subscription-admin-box for white card/box with shadow and 6-8px border-radius.
12 - Use compact, modern, visually unified design for all sections.
13 - Use Georgia, serif for titles, system sans-serif for body.
14 - All new UI/UX changes must follow these conventions.
15 */
16
17 // Exit if accessed directly.
18 if ( ! defined( 'ABSPATH' ) ) {
19 exit;
20 }
21 ?>
22 <div class="notice notice-error sdevs-install-plugin">
23 <div class="sdevs-notice-icon">
24 <img src="<?php echo esc_url( SUBSCRPT_ASSETS . '/images/logo.png' ); ?>" alt="woocommerce-logo" />
25 </div>
26 <div class="sdevs-notice-content">
27 <h2><?php esc_html_e( 'Thanks for installing WPSubscription.', 'subscription' ); ?></h2>
28 <p>
29 <?php
30 printf(
31 /* translators: %s: WooCommerce, linked to its wordpress.org page. */
32 esc_html__( '%s must be installed and activated before WPSubscription can be used.', 'subscription' ),
33 '<a href="https://wordpress.org/plugins/woocommerce/" target="_blank" rel="noopener">' . esc_html__( 'WooCommerce', 'subscription' ) . '</a>'
34 );
35 ?>
36 </p>
37 </div>
38 <div class="sdevs-install-notice-button">
39 <a class="button-primary <?php echo esc_attr( $id ); ?>" href="javascript:void(0);"><svg xmlns="http://www.w3.org/2000/svg" class="sdevs-loading-icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
40 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
41 </svg> <?php echo esc_html( $label ); ?></a>
42 </div>
43 </div>
44