From c1d45e256a1b31882c0fec36f65c98b5d47199fb Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Wed, 16 Jul 2025 22:02:47 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20=E6=9B=BF=E6=8D=A2CDN=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E4=B8=BA=E6=9C=AC=E5=9C=B0=E6=96=87=E4=BB=B6=E5=B9=B6?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将Font Awesome从CDN引用改为本地文件/css/all.min.css - 为所有按钮添加图标以提升用户体验 - 修复登出弹窗的DOM加载问题 - 更新config.php中的数据库和SMTP配置 --- admin/addapp.php | 4 ++-- admin/announcements.php | 2 +- admin/editapp.php | 4 ++-- admin/index.php | 4 ++-- admin/login.php | 6 +++--- admin/logout.php | 11 ++++++++++- admin/manage_developers.php | 2 +- admin/manage_tags.php | 2 +- admin/manage_versions.php | 20 ++++++++++++++++---- admin/review_apps.php | 2 +- admin/system_info.php | 2 +- developer/dashboard.php | 10 ++++++---- developer/edit_app.php | 4 +++- developer/login.php | 4 +++- developer/profile.php | 4 +++- developer/register.php | 4 +++- developer/upload_app.php | 6 ++++-- developer/verify_email.php | 6 ++++-- developer/version_control.php | 16 +++++++++------- 19 files changed, 75 insertions(+), 38 deletions(-) diff --git a/admin/addapp.php b/admin/addapp.php index 14d90a1..003ddb1 100644 --- a/admin/addapp.php +++ b/admin/addapp.php @@ -111,7 +111,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['add_app'])) { - + @@ -287,7 +287,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['add_app'])) { - 取消 + 取消 diff --git a/admin/announcements.php b/admin/announcements.php index bac7b54..a5d11fa 100644 --- a/admin/announcements.php +++ b/admin/announcements.php @@ -64,7 +64,7 @@ $result = $conn->query($sql); - + diff --git a/admin/editapp.php b/admin/editapp.php index bef833e..477db1c 100644 --- a/admin/editapp.php +++ b/admin/editapp.php @@ -128,7 +128,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['edit_app'])) { - + @@ -301,7 +301,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['edit_app'])) { - 取消 + 取消 diff --git a/admin/index.php b/admin/index.php index 4e18fb6..3257a0a 100644 --- a/admin/index.php +++ b/admin/index.php @@ -65,7 +65,7 @@ if (!$resultApps) { - + @@ -182,7 +182,7 @@ if (!$resultApps) { if (result.isConfirmed) { window.location.href = this.href; } - });">删除 + });">删除 diff --git a/admin/login.php b/admin/login.php index 2ada9d4..0a6291a 100644 --- a/admin/login.php +++ b/admin/login.php @@ -62,7 +62,7 @@ if (!isset($_SESSION['admin'])) { - + @@ -135,11 +135,11 @@ if (!isset($_SESSION['admin'])) { -->
- +
- +
diff --git a/admin/logout.php b/admin/logout.php index 1370452..e865472 100644 --- a/admin/logout.php +++ b/admin/logout.php @@ -24,5 +24,14 @@ session_destroy(); // 使用Sweet Alert弹窗提示并跳转登录页 echo ''; -echo ''; +echo ''; exit(); \ No newline at end of file diff --git a/admin/manage_developers.php b/admin/manage_developers.php index 17864cb..a9dc082 100644 --- a/admin/manage_developers.php +++ b/admin/manage_developers.php @@ -203,7 +203,7 @@ if (!$stmt) { - + diff --git a/admin/manage_tags.php b/admin/manage_tags.php index 452b370..7293d12 100644 --- a/admin/manage_tags.php +++ b/admin/manage_tags.php @@ -68,7 +68,7 @@ $tagsResult = $conn->query("SELECT * FROM tags ORDER BY created_at DESC"); 标签管理 - 应用商店后台 - + diff --git a/developer/upload_app.php b/developer/upload_app.php index 5ba6843..56d0598 100644 --- a/developer/upload_app.php +++ b/developer/upload_app.php @@ -286,7 +286,9 @@ if (!($conn instanceof mysqli)) { 上传应用 - <?php echo APP_STORE_NAME; ?> - + + + @@ -575,7 +577,7 @@ if (!($conn instanceof mysqli)) {
- +