refactor: rename the theme brand and every identifier from AKSRT to Jio

Full-project rename. `git grep -i aksrt` is now empty apart from the
DBMigrator 3.3.0 changelog note that documents the rename itself.

Code identifiers
- PHP namespace AKSRT\ -> Jio\ (composer PSR-4 + 378 declarations)
- global constants AKSRT_* -> JIO_* (VERSION/DIR/URI, PAY_TYPE_*, CAPTCHA_*)
- procedural functions, hooks, options, meta keys, table names,
  cookies, query vars, ajax actions and nonces: aksrt_ -> jio_
- text domain aksrt -> jio; Theme Name -> Jio
- JS globals: aksrtData/aksrtAdminData/... -> jioData/jioAdminData/...,
  window.AKSRTCaptcha & friends -> window.JioCaptcha, Aksrt* -> Jio*
- Vue components Aks*.vue -> Jio*.vue (15 files renamed + imports)
- CSS classes/data-attrs/custom properties: aksrt- -> jio-
- REST namespace aksrt/v1 -> jio/v1 (incl. payment gateway callbacks)

Storage layer
- DB tables {prefix}aksrt_* -> {prefix}jio_*; SCHEMA_VERSION 3.2.0 -> 3.3.0
  so dbDelta creates the new names on install
- widget id_base aksrt_widget_* -> jio_widget_*
- uninstall.php drop list rebuilt from the actual migrator tables
  (dropped 3 stale entries, added the 17 missing ones)

Removed
- hardcoded https://api.aksrt.com/version.json default update endpoint;
  get_endpoint() now reads the 「更新端点」 setting and do_check() no-ops
  when it is empty

Files renamed: inc/helpers/aksrt-*.php -> jio-*.php (54),
assets/admin/src/components/form/Aks*.vue -> Jio*.vue (15).
Build artifacts regenerated: assets/css/build, assets/js/runtime,
assets/admin/build.

Verified: audit-psr4-paths errors=0, audit-admin-contracts errors=0
(warnings=56, unchanged baseline), 813/813 widget-system tests,
44/44 phpunit, php -l clean across all PHP.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Opus 5 committed 2026-11-01 20:05:04 +08:00
1 parent 5b16bc6e15
commit 35bb96e82f
997 files changed
+28216 -28188

No files matched your search

+32 -32
View File
@@ -3,15 +3,15 @@
*/
/**
* AKSRT User Center — 本人中心专属样式
* Jio User Center — 本人中心专属样式
*
* 原主题风格两栏布局:左侧边栏 + 右侧内容区
* 仅在本人中心页面加载(body.aksrt-user-center)
* 仅在本人中心页面加载(body.jio-user-center)
*/
/* ==================== 用户中心容器 ==================== */
/* 主内容宽度由 frontend/layout.css 的 profile shell 合同统一管理。 */
.aksrt-profile.content-shell {
.jio-profile.content-shell {
display: block;
width: 100%;
max-width: none;
@@ -21,16 +21,16 @@
/* main 仍带 legacy .user-center 类;旧规则会把整页误设为 flex,并以
* gap:20px 挤窄第一个 flex 子项(顶部资料卡所在的 content-wrap)。 */
.aksrt-profile.user-center {
.jio-profile.user-center {
display: block;
gap: 0;
}
/* 顶部资料卡位于双栏布局之前,必须与用户中心外壳同宽,不能继续继承
* legacy .content-wrap / .container 的收窄规则。 */
.aksrt-profile.content-shell > .content-wrap,
.aksrt-profile.content-shell > .content-wrap > .uc-header,
.aksrt-profile.content-shell .uc-header {
.jio-profile.content-shell > .content-wrap,
.jio-profile.content-shell > .content-wrap > .uc-header,
.jio-profile.content-shell .uc-header {
width: 100%;
max-width: none;
box-sizing: border-box;
@@ -40,9 +40,9 @@
.uc-header__name > .img-icon,
h1.uc-header__name > .img-icon,
.uc-header__name .medal-icon.img-icon,
.uc-header__name .aksrt-identity-medal,
.uc-header__name .jio-identity-medal,
h1.uc-header__name .medal-icon.img-icon,
h1.uc-header__name .aksrt-identity-medal {
h1.uc-header__name .jio-identity-medal {
width: auto;
height: 1.1em;
max-width: 6em;
@@ -58,9 +58,9 @@ h1.uc-header__name .aksrt-identity-medal {
/* ==================== 页面自有双栏(对齐 legacy .user-center flex,不走全站 float 壳) ==================== */
/* DOM: sidebar first + content second(与 legacy user-center-sidebar / user-center-content 一致)。
* 选择器同时覆盖 body.aksrt-user-center 与 main.user-center / .aksrt-profile,避免 body class 漏打时失效。 */
body.aksrt-user-center .content-wrap,
.aksrt-profile .content-wrap,
* 选择器同时覆盖 body.jio-user-center 与 main.user-center / .jio-profile,避免 body class 漏打时失效。 */
body.jio-user-center .content-wrap,
.jio-profile .content-wrap,
.user-center .content-wrap {
float: none;
width: 100%;
@@ -68,10 +68,10 @@ body.aksrt-user-center .content-wrap,
}
/* 对齐 legacy: .user-center { display:flex; gap:20px; } */
body.aksrt-user-center .user-center-body,
body.aksrt-user-center .aksrt-profile__layout,
.aksrt-profile .user-center-body,
.aksrt-profile .aksrt-profile__layout,
body.jio-user-center .user-center-body,
body.jio-user-center .jio-profile__layout,
.jio-profile .user-center-body,
.jio-profile .jio-profile__layout,
.user-center .user-center-body {
display: flex;
flex-direction: row;
@@ -86,23 +86,23 @@ body.aksrt-user-center .aksrt-profile__layout,
}
/* 中和 site-layout-2/3 对 content-layout 的 margin 挖空(兼容旧 class) */
body.aksrt-user-center.site-layout-1 .aksrt-profile__layout,
body.aksrt-user-center.site-layout-2 .aksrt-profile__layout,
body.aksrt-user-center.site-layout-3 .aksrt-profile__layout,
body.aksrt-user-center.site-layout-1 .user-center-body,
body.aksrt-user-center.site-layout-2 .user-center-body,
body.aksrt-user-center.site-layout-3 .user-center-body {
body.jio-user-center.site-layout-1 .jio-profile__layout,
body.jio-user-center.site-layout-2 .jio-profile__layout,
body.jio-user-center.site-layout-3 .jio-profile__layout,
body.jio-user-center.site-layout-1 .user-center-body,
body.jio-user-center.site-layout-2 .user-center-body,
body.jio-user-center.site-layout-3 .user-center-body {
margin-left: 0;
margin-right: 0;
}
/* 对齐 legacy: .user-center .user-center-sidebar { width:320px; flex-shrink:0; } */
body.aksrt-user-center .user-center-sidebar,
body.aksrt-user-center .uc-sidebar,
body.aksrt-user-center .aksrt-profile__aside,
.aksrt-profile .user-center-sidebar,
.aksrt-profile .uc-sidebar,
.aksrt-profile .aksrt-profile__aside,
body.jio-user-center .user-center-sidebar,
body.jio-user-center .uc-sidebar,
body.jio-user-center .jio-profile__aside,
.jio-profile .user-center-sidebar,
.jio-profile .uc-sidebar,
.jio-profile .jio-profile__aside,
.user-center .user-center-sidebar {
float: none;
display: flex;
@@ -121,10 +121,10 @@ body.aksrt-user-center .aksrt-profile__aside,
}
/* 对齐 legacy: .user-center .user-center-content { width: calc(100% - 320px); } */
body.aksrt-user-center .user-center-content,
body.aksrt-user-center .uc-content,
.aksrt-profile .user-center-content,
.aksrt-profile .uc-content,
body.jio-user-center .user-center-content,
body.jio-user-center .uc-content,
.jio-profile .user-center-content,
.jio-profile .uc-content,
.user-center .user-center-content {
flex: 1 1 auto;
width: calc(100% - 340px);