更新完善网页逻辑,工具迁移至html逻辑

This commit is contained in:
MasonLiu committed 2026-09-10 00:22:40 +08:00
1 parent c3bfce7afb
commit 646754c04d
26 files changed
+1606 -167

No files matched your search

+2 -2
View File
@@ -135,10 +135,10 @@ admin_topbar('exttools');
</p>
<?php if ($saved): ?>
<div class="ok-msg">保存成功,库首页外部工具区已同步更新。</div>
<script>window.hpToastMsg = <?= json_encode(['kind' => 'ok', 'text' => '保存成功,库首页外部工具区已同步更新。'], JSON_UNESCAPED_UNICODE | JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP); ?>;</script>
<?php endif; ?>
<?php if ($errorMsg !== ''): ?>
<div class="err-msg"><?= he($errorMsg) ?></div>
<script>window.hpToastMsg = <?= json_encode(['kind' => 'err', 'text' => $errorMsg], JSON_UNESCAPED_UNICODE | JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP); ?>;</script>
<?php endif; ?>
<!-- 筛选工具条 -->