Prepare LaySite 1.5.0 canvas and publishing improvements

This commit is contained in:
2026-11-28 01:32:59 +08:00
parent cfa1f02912
commit 044da13a8c
25 changed files with 891 additions and 171 deletions
+1
View File
@@ -6,6 +6,7 @@ $checked = array_fill_keys($selected, true);
?>
<fieldset class="category-checks">
<legend><?= $e($legend) ?></legend>
<?php if (!$categories): ?><p class="field-note">暂无分类。</p><?php endif ?>
<div>
<?php foreach ($categories as $key => $label): ?>
<label><input type="checkbox" name="<?= $e($name) ?>[]" value="<?= $e($key) ?>" <?= isset($checked[$key]) ? 'checked' : '' ?>> <?= $e($label) ?></label>