暫無描述

header.php 1.5KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Auth header
  4. *
  5. * This template can be overridden by copying it to yourtheme/woocommerce/auth/header.php.
  6. *
  7. * HOWEVER, on occasion WooCommerce will need to update template files and you
  8. * (the theme developer) will need to copy the new files to your theme to
  9. * maintain compatibility. We try to do this as little as possible, but it does
  10. * happen. When this occurs the version of the template file will be bumped and
  11. * the readme will list any important changes.
  12. *
  13. * @see https://docs.woocommerce.com/document/template-structure/
  14. * @package WooCommerce\Templates\Auth
  15. * @version 2.4.0
  16. */
  17. defined( 'ABSPATH' ) || exit;
  18. // phpcs:disable WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet
  19. ?><!DOCTYPE html>
  20. <html <?php language_attributes(); ?>>
  21. <head>
  22. <meta name="viewport" content="width=device-width" />
  23. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  24. <meta name="robots" content="noindex, nofollow" />
  25. <title><?php esc_html_e( 'Application authentication request', 'woocommerce' ); ?></title>
  26. <?php wp_admin_css( 'install', true ); ?>
  27. <link rel="stylesheet" href="<?php echo esc_url( str_replace( array( 'http:', 'https:' ), '', WC()->plugin_url() ) . '/assets/css/auth.css' ); ?>" type="text/css" />
  28. </head>
  29. <body class="wc-auth wp-core-ui">
  30. <h1 id="wc-logo"><img src="<?php echo esc_url( WC()->plugin_url() ); ?>/assets/images/woocommerce_logo.png" alt="<?php esc_attr_e( 'WooCommerce', 'woocommerce' ); ?>" /></h1>
  31. <div class="wc-auth-content">