优化ctms-api语法、修复已知BUG;

主要修复ctms-api、dacms对PHP新版本的支持问题
This commit is contained in:
2025-07-13 19:37:42 +08:00
parent 65bbd06981
commit 037f274ec5
413 changed files with 107271 additions and 72326 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
?>
<div class="container" style="padding-top: 5%;">
<div class="alert alert-<?php if (isset($message['class'])) {
echo $message['class'];
} else {
echo "info";
} ?> alert-dismissible fade in" role="alert">
<button type="button" class="close" data-dismiss="alert">×</button>
<h3 style="text-align: center;text-align: -webkit-center;"><?php if (isset($message['title'])) {
echo $message['title'];
} else {
echo "系统提示";
} ?></h3>
<div><?php echo $message['content']; ?></div>
</div>
<div style="text-align: center;text-align: -webkit-center;">
<?php foreach ($message['button'] as $btn) { ?>
<a class="<?php echo $btn['class']; ?>" style="margin-right:15px;"
href="<?php echo $btn['link']; ?>"><?php echo $btn['title']; ?></a>
<?php } ?>
<a class="btn btn-default" style="margin-right:15px;" href="javascript:void(0)"
onclick="history.back();">返回</a>
</div>
</div>
<div class="container" style="margin-top:2%;text-align: center;color:#ccc;font-weight:200;">
如果使用过程中发现有任何问题,请及时反馈给技术人员。
</div>