diff options
| author | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
|---|---|---|
| committer | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
| commit | 898b52edcb47bcb3e9d6106e74ca73e74ea01e70 (patch) | |
| tree | 85c6ee5ad58b860144551184d4cf86b560c62b91 /changelog/index_zh.php | |
| download | www-898b52edcb47bcb3e9d6106e74ca73e74ea01e70.tar.gz www-898b52edcb47bcb3e9d6106e74ca73e74ea01e70.zip | |
Diffstat (limited to 'changelog/index_zh.php')
| -rwxr-xr-x | changelog/index_zh.php | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/changelog/index_zh.php b/changelog/index_zh.php new file mode 100755 index 0000000..7987a58 --- /dev/null +++ b/changelog/index_zh.php @@ -0,0 +1,71 @@ +<?php +require_once __DIR__ . '/api/parser.php'; +$by_year = get_changelog_by_year(); +?> +<!doctype html> +<html lang="zh"> +<head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width,initial-scale=1" /> + <meta name="description" content="SillyLaird 更新日志。" /> + <meta property="og:title" content="更新日志 — SillyLaird" /> + <meta property="og:description" content="SillyLaird 更新日志。" /> + <meta property="og:image" content="https://www.sillylaird.ca/assets/img/lain.png" /> + <meta property="og:type" content="website" /> + <meta property="og:url" content="https://www.sillylaird.ca/changelog/index_zh.php" /> + <meta property="og:locale" content="zh_CN" /> + <meta property="og:locale:alternate" content="en_US" /> + <meta property="og:locale:alternate" content="ja_JP" /> + <meta name="twitter:card" content="summary_large_image" /> + <meta name="twitter:title" content="更新日志 — SillyLaird" /> + <meta name="twitter:description" content="SillyLaird 更新日志。" /> + <meta name="twitter:image" content="https://www.sillylaird.ca/assets/img/lain.png" /> + <link rel="canonical" href="https://www.sillylaird.ca/changelog/index_zh.php" /> + <link rel="alternate" hreflang="x-default" href="https://www.sillylaird.ca/changelog/" /> + <link rel="alternate" hreflang="en" href="https://www.sillylaird.ca/changelog/" /> + <link rel="alternate" hreflang="zh" href="https://www.sillylaird.ca/changelog/index_zh.php" /> + <link rel="alternate" hreflang="ja" href="https://www.sillylaird.ca/changelog/index_jp.php" /> + <title>更新日志 — SillyLaird</title> + <link rel="icon" href="https://www.sillylaird.ca/assets/img/lain.png" /> + + <link rel="stylesheet" href="/assets/css/fonts.css" /> + <link rel="stylesheet" href="/assets/css/site.css" /> + <link rel="stylesheet" href="/assets/css/skeleton.css" /> + <link rel="stylesheet" href="/assets/css/pages/changelog.css?v=<?= @filemtime(dirname(__DIR__)."/assets/css/pages/changelog.css") ?>" /> +</head> +<body> + <a class="skip-link" href="#main">跳至内容</a> + <?php include '../partials/header.php'; ?> + + <main id="main" class="wrap"> + <section aria-labelledby="changelog-title"> + <h1 id="changelog-title" class="changelog-title">更新日志 (ChangeLog)</h1> + <p class="muted">所有注释均逐字复制。</p> + + <?php foreach ($by_year as $year => $entries): ?> + <h2 id="year-<?= (int)$year ?>"><?= $year ?></h2> + <?= render_changelog_list($entries) ?> + <?php endforeach; ?> + + <hr /> + <section> + <h2>原始日志文件 (Raw Log Files)</h2> + <ul class="changelog-files"> + <?php + $files = glob(__DIR__ . '/*-changelog.txt'); + rsort($files); + foreach ($files as $file): + $base = basename($file); + $size = filesize($file); + if ($size <= 0) continue; + ?> + <li><a href="https://www.sillylaird.ca/changelog/<?= htmlspecialchars($base) ?>"><?= htmlspecialchars($base) ?></a> (<?= $size ?> bytes)</li> + <?php endforeach; ?> + </ul> + </section> + </section> + </main> + + <?php include '../partials/footer.php'; ?> +</body> +</html> |
