From 0b8012f5ddb74a3848edab1c5d5a6147e9b60763 Mon Sep 17 00:00:00 2001 From: laoyang Date: Sun, 1 Nov 2026 19:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=93=81=E7=89=8C=E6=94=B9=E5=90=8D=EF=BC=9A?= =?UTF-8?q?=E5=AE=B6=E4=B9=A6=20=E2=86=92=20=E5=B2=81=E6=9C=88=E5=AE=B6?= =?UTF-8?q?=EF=BC=88=E7=BD=91=E9=A1=B5=E7=AB=AF=E6=A0=87=E9=A2=98/logo/?= =?UTF-8?q?=E6=96=87=E6=A1=88=EF=BC=9B=E9=A6=96=E9=A1=B5=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E6=94=B9=E3=80=8C=E6=9F=90=E6=9F=90=E6=9F=90=E7=9A=84=E5=AE=B6?= =?UTF-8?q?=E5=BA=AD=E5=B2=81=E6=9C=88=E3=80=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/ApiHandler.php | 2 +- app/Auth.php | 4 ++-- app/Schema.php | 2 +- app/View.php | 4 ++-- app/bootstrap.php | 2 +- templates/install.php | 4 ++-- templates/layout-bare.php | 2 +- templates/layout.php | 4 ++-- templates/login.php | 2 +- templates/people/index.php | 2 +- templates/people/show.php | 2 +- templates/settings/me.php | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/ApiHandler.php b/app/ApiHandler.php index 2d586cb..088e0ac 100644 --- a/app/ApiHandler.php +++ b/app/ApiHandler.php @@ -33,7 +33,7 @@ final class ApiHandler // 🔴 v55:端上"输地址 → 连接"那一步要能确认 // "这是个家书服务器、且支持账号登录" —— 只回 HTTP 200 不够 // (任何网页都 200,用户填错地址会让他在登录页反复试密码)。 - 'app' => '家书', + 'app' => '岁月家', 'features' => [ 'login' => 1, // 认手机号也认用户名(见 `login()` 的说明) diff --git a/app/Auth.php b/app/Auth.php index 00388d8..b4a936d 100644 --- a/app/Auth.php +++ b/app/Auth.php @@ -195,12 +195,12 @@ final class Auth /** * 首页标题 —— 「以我为中心」最直接的一处落点。 - * 登录后看到的不是「家书」,而是「<我的名字>的家书」。 + * 登录后看到的不是品牌名「岁月家」,而是「<我的名字>的家庭岁月」。 */ public static function homeTitle(): string { $name = self::name(); - return $name === '' ? '家书' : $name . '的家书'; + return $name === '' ? '岁月家' : $name . '的家庭岁月'; } /** 未登录跳登录页 */ diff --git a/app/Schema.php b/app/Schema.php index 0dd5099..e649a4c 100644 --- a/app/Schema.php +++ b/app/Schema.php @@ -965,7 +965,7 @@ SQL, <<<'SQL' CREATE TABLE IF NOT EXISTS `nav_groups` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, - `person_id` int(10) unsigned NOT NULL COMMENT '这份导航属于谁(家书 person id)', + `person_id` int(10) unsigned NOT NULL COMMENT '这份导航属于谁(岁月家 person id)', `name` VARCHAR(60) NOT NULL, `slug` VARCHAR(60) NOT NULL DEFAULT '', `display` ENUM('grid','tabs') NOT NULL DEFAULT 'grid' COMMENT 'grid=普通网格 tabs=合集标签页', diff --git a/app/View.php b/app/View.php index afa6620..da1a68d 100644 --- a/app/View.php +++ b/app/View.php @@ -21,7 +21,7 @@ final class View $tplFile = $file; $pageKey = $page ?: $tpl; - $pageTitle = $data['title'] ?? '家书'; + $pageTitle = $data['title'] ?? '岁月家'; $extraHead = $data['extraHead'] ?? ''; extract($data, EXTR_SKIP); @@ -67,7 +67,7 @@ final class View throw new \RuntimeException('模板不存在:' . $tpl); } $tplFile = $file; - $pageTitle = $data['title'] ?? '家书'; + $pageTitle = $data['title'] ?? '岁月家'; $extraHead = $data['extraHead'] ?? ''; extract($data, EXTR_SKIP); require dirname(__DIR__) . '/templates/layout-bare.php'; diff --git a/app/bootstrap.php b/app/bootstrap.php index c0e9679..5bedc1a 100644 --- a/app/bootstrap.php +++ b/app/bootstrap.php @@ -47,7 +47,7 @@ if (!defined('ICON_STORE')) { $configFile = FB_ROOT . '/config.php'; if (!is_file($configFile)) { http_response_code(500); - echo '家书 · 未配置' + echo '岁月家 · 未配置' . '
' diff --git a/templates/install.php b/templates/install.php index f7e4613..a15fcdc 100644 --- a/templates/install.php +++ b/templates/install.php @@ -1,7 +1,7 @@
-

安装「家书」

+

安装「岁月家」

先建好你的家庭空间,再给家里人开通知。填完这一步就能用了。

@@ -15,7 +15,7 @@ - 只存档用 —— 页面上显示的是「某某某的家书」,不会再展示这个名称。 + 只存档用 —— 页面上显示的是「某某某的家庭岁月」,不会再展示这个名称。
diff --git a/templates/layout-bare.php b/templates/layout-bare.php index ff4371e..12ccbde 100644 --- a/templates/layout-bare.php +++ b/templates/layout-bare.php @@ -14,7 +14,7 @@ -<?= e($pageTitle) ?> · 家书 +<?= e($pageTitle) ?> · 岁月家 diff --git a/templates/layout.php b/templates/layout.php index c3fa399..618cb57 100644 --- a/templates/layout.php +++ b/templates/layout.php @@ -43,7 +43,7 @@ $isLoggedIn = \App\Auth::check(); document.documentElement.className.replace('no-js', 'js'); -<?= e($pageTitle) ?> · 家书 +<?= e($pageTitle) ?> · 岁月家 @@ -143,7 +143,7 @@ if ($_needAddr): ?>
- 家书 + 岁月家