html-helper-compat.php
8 years ago
html-main.php
2 years ago
html-notice-woo-updater-not-activated.php
2 years ago
html-notice-woo-updater-not-installed.php
2 years ago
html-oauth-start.php
1 year ago
html-section-account.php
2 years ago
html-section-nav.php
5 months ago
html-section-notices.php
8 years ago
html-oauth-start.php
42 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin -> WooCommerce -> Extensions -> WooCommerce.com Subscriptions main page. |
| 4 | * |
| 5 | * @package WooCommerce\Views |
| 6 | */ |
| 7 | |
| 8 | defined( 'ABSPATH' ) || exit(); |
| 9 | |
| 10 | ?> |
| 11 | |
| 12 | <div class="wrap woocommerce wc-addons-wrap wc-helper"> |
| 13 | <?php require WC_Helper::get_view_filename( 'html-section-nav.php' ); ?> |
| 14 | <h1 class="screen-reader-text"><?php esc_html_e( 'WooCommerce Extensions', 'woocommerce' ); ?></h1> |
| 15 | <?php require WC_Helper::get_view_filename( 'html-section-notices.php' ); ?> |
| 16 | |
| 17 | <div class="start-container"> |
| 18 | <div class="text"> |
| 19 | <img src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/woo-logo.svg' ); ?>" alt=" |
| 20 | <?php |
| 21 | esc_attr_e( |
| 22 | 'WooCommerce', |
| 23 | 'woocommerce' |
| 24 | ); |
| 25 | ?> |
| 26 | " style="width:180px;"> |
| 27 | |
| 28 | <?php |
| 29 | // phpcs:disable WordPress.Security.NonceVerification.Recommended |
| 30 | if ( ! empty( $_GET['wc-helper-status'] ) && 'helper-disconnected' === $_GET['wc-helper-status'] ) : |
| 31 | // phpcs:enable WordPress.Security.NonceVerification.Recommended |
| 32 | ?> |
| 33 | <p><strong><?php esc_html_e( 'Sorry to see you go.', 'woocommerce' ); ?></strong> <?php esc_html_e( 'Feel free to reconnect again using the button below.', 'woocommerce' ); ?></p> |
| 34 | <?php endif; ?> |
| 35 | |
| 36 | <h2><?php esc_html_e( 'Manage your subscriptions, get important product notifications, and updates, all from the convenience of your WooCommerce dashboard', 'woocommerce' ); ?></h2> |
| 37 | <p><?php esc_html_e( 'Once connected, your WooCommerce.com purchases will be listed here.', 'woocommerce' ); ?></p> |
| 38 | <p><a class="button button-primary button-helper-connect" href="<?php echo esc_url( $connect_url ); ?>"><?php esc_html_e( 'Connect', 'woocommerce' ); ?></a></p> |
| 39 | </div> |
| 40 | </div> |
| 41 | </div> |
| 42 |