Add canvas element tools and categorized article editing

This commit is contained in:
2026-11-21 22:24:58 +08:00
parent 6efcdefadf
commit a5b3408358
45 changed files with 1607 additions and 660 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
use App\Content\View;
$e = View::escape(...);
?>
<fieldset class="category-checks">
<legend><?= $e($legend) ?></legend>
<div>
<?php foreach ($categories as $key => $label): ?>
<label><input type="checkbox" name="<?= $e($name) ?>[]" value="<?= $e($key) ?>" <?= in_array($key, $selected, true) ? 'checked' : '' ?>> <?= $e($label) ?></label>
<?php endforeach ?>
</div>
</fieldset>