同步宝塔上的源码
This commit is contained in:
4
static/js/forum.js
Normal file → Executable file
4
static/js/forum.js
Normal file → Executable 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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user