更新完善网页逻辑,工具迁移至html逻辑
This commit is contained in:
1 parent
c3bfce7afb
commit
646754c04d
26 files changed
+1606
-167
No files matched your search
+2
-2
@@ -162,10 +162,10 @@ admin_topbar('nav');
|
||||
</div>
|
||||
|
||||
<?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; ?>
|
||||
|
||||
<div class="fieldset-card" style="margin-bottom:16px">
|
||||
|
||||
Reference in new issue
Block a user