Files
laysite/app/view/admin-about.php

15 lines
489 B
PHP

<?php
use App\Content\View;
$e = View::escape(...);
?>
<header class="admin-heading"><h1><?= $e($title) ?></h1></header>
<section class="admin-panel admin-system-info" aria-labelledby="system-info-title">
<h2 id="system-info-title">版本与运行环境</h2>
<dl>
<?php foreach (['LaySite' => $laysiteVersion] + $systemInfo as $name => $value): ?>
<div><dt><?= $e($name) ?></dt><dd><?= $e($value) ?></dd></div>
<?php endforeach ?>
</dl>
</section>