aboutsummaryrefslogtreecommitdiffstats
path: root/changelog/index_jp.php
blob: 1b7d0eb57be0b2c63afcb0997db1dcf90b8510b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
require_once __DIR__ . '/api/parser.php';
$by_year = get_changelog_by_year();
?>
<!doctype html>
<html lang="ja">
<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_jp.php" />
  <meta property="og:locale" content="ja_JP" />
  <meta property="og:locale:alternate" content="en_US" />
  <meta property="og:locale:alternate" content="zh_CN" />
  <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_jp.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>