Нет описания

html-oauth-start.php 1.4KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Admin -> WooCommerce -> Extensions -> WooCommerce.com Subscriptions main page.
  4. *
  5. * @package WooCommerce\Views
  6. */
  7. defined( 'ABSPATH' ) || exit();
  8. ?>
  9. <div class="wrap woocommerce wc-addons-wrap wc-helper">
  10. <h1 class="screen-reader-text"><?php esc_html_e( 'WooCommerce Extensions', 'woocommerce' ); ?></h1>
  11. <?php require WC_Helper::get_view_filename( 'html-section-notices.php' ); ?>
  12. <div class="start-container">
  13. <div class="text">
  14. <img src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/woocommerce_logo.png' ); ?>" alt="<?php esc_attr_e( 'WooCommerce', 'woocommerce' ); ?>" style="width:180px;">
  15. <?php if ( ! empty( $_GET['wc-helper-status'] ) && 'helper-disconnected' === $_GET['wc-helper-status'] ) : ?>
  16. <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>
  17. <?php endif; ?>
  18. <h2><?php esc_html_e( 'Manage your subscriptions, get important product notifications, and updates, all from the convenience of your WooCommerce dashboard', 'woocommerce' ); ?></h2>
  19. <p><?php esc_html_e( 'Once connected, your WooCommerce.com purchases will be listed here.', 'woocommerce' ); ?></p>
  20. <p><a class="button button-primary button-helper-connect" href="<?php echo esc_url( $connect_url ); ?>"><?php esc_html_e( 'Connect', 'woocommerce' ); ?></a></p>
  21. </div>
  22. </div>
  23. </div>