同步宝塔上的源码

This commit is contained in:
2025-06-27 21:04:18 +08:00
parent ebc39cd5dd
commit 16de87a864
4689 changed files with 59043 additions and 822 deletions

4
static/js/forum.js Normal file → Executable file
View File

@@ -248,7 +248,7 @@ function fastpostvalidate(theform, noajaxpost) {
return false;
}
if(!disablepostctrl && ((postminchars != 0 && mb_strlen(theform.message.value) < postminchars) || (postmaxchars != 0 && mb_strlen(theform.message.value) > postmaxchars))) {
s = '您的文章长度不符合要求。\n\n当前长度: ' + mb_strlen(theform.message.value) + ' ' + '字节\n系统限制: ' + postminchars + ' 到 ' + postmaxchars + ' 字节';
s = '您的帖子长度不符合要求。\n\n当前长度: ' + mb_strlen(theform.message.value) + ' ' + '字节\n系统限制: ' + postminchars + ' 到 ' + postmaxchars + ' 字节';
}
if(s) {
showError(s);
@@ -320,7 +320,7 @@ function loadData(quiet, formobj) {
return;
}
if(!quiet && !confirm('此操作将覆盖当前文章内容,确定要恢复数据吗?')) {
if(!quiet && !confirm('此操作将覆盖当前帖子内容,确定要恢复数据吗?')) {
return;
}