From dd5e4f04a0f3f1c1b1c01af73f5980e5cb7d35e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E6=B4=BE=E5=A4=87=E6=A1=88?= <130886204+modiqi@users.noreply.github.com> Date: Mon, 26 May 2025 22:47:52 +0800 Subject: [PATCH] =?UTF-8?q?v2.0=20=E6=AD=A3=E5=BC=8F=E7=89=88=E5=8F=91?= =?UTF-8?q?=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/pages.php | 1127 ++++++---- admin/settings-page.php | 46 +- assets/css/admin.css | 713 ++++++- assets/js/admin.js | 39 +- includes/class-admin.php | 273 +-- includes/class-core.php | 203 +- includes/class-tools.php | 143 +- includes/functions.php | 379 +++- languages/wp-domain-mapping-zh_CN.mo | Bin 7650 -> 29937 bytes languages/wp-domain-mapping-zh_CN.po | 2861 +++++++++++++------------- sunrise.php | 55 +- wp-domain-mapping.php | 4 +- 12 files changed, 3705 insertions(+), 2138 deletions(-) diff --git a/admin/pages.php b/admin/pages.php index 9c67e4a..508252d 100644 --- a/admin/pages.php +++ b/admin/pages.php @@ -36,6 +36,7 @@ function dm_render_admin_page() { $current_tab = isset( $_GET['tab'] ) ? sanitize_text_field( $_GET['tab'] ) : 'settings'; $tabs = array( 'settings' => __( 'Settings', 'wp-domain-mapping' ), + 'dns-setup' => __( 'DNS Setup', 'wp-domain-mapping' ), 'health' => __( 'Domain Health', 'wp-domain-mapping' ), 'import-export' => __( 'Import/Export', 'wp-domain-mapping' ) ); @@ -81,34 +82,49 @@ function dm_render_admin_page() { } ?> - -
- $tab_label ) : ?> - - -
- - -
- -
> - + +
+ +
+ $tab_label ) : ?> + +
- -
> - -
+ +
+ +
> + +
- -
> - + +
> + +
+ + +
> + +
+ + +
> + +
+ + +
- + +

-

- - - -
-

- - -
-
- + + -
-
-
- - - - - - - - - - - - - - - - domain ); - $health_data = isset( $health_results[$domain_key] ) ? $health_results[$domain_key] : null; - $site_name = get_blog_option( $domain->blog_id, 'blogname', __( 'Unknown', 'wp-domain-mapping' ) ); - ?> - - - - - - - - - - - - - - - - -
- domain ); ?> - active ) : ?> - - - - - -
- original_domain . $domain->path ); ?> -
-
-
- - - - - - - - - - - - - -
- -
- - - - - - -
- - - - - - - - - - - - - -
-
- -
-

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

-

-
+
+
+
+
+ + +

+

+ + + +
+

+ + +
+
+ + + +
+
+ + + + + + + + + + + + + + + domain ); + $health_data = isset( $health_results[$domain_key] ) ? $health_results[$domain_key] : null; + $site_name = get_blog_option( $domain->blog_id, 'blogname', __( 'Unknown', 'wp-domain-mapping' ) ); + ?> + + + + + + + + + + + + + + + + +
+ domain ); ?> + active ) : ?> + + + + + +
+ original_domain . $domain->path ); ?> +
+
+
+ + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + + + + + + + + + + + + +
+ +

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+ +

+
+