同步宝塔上的源码
This commit is contained in:
6
static/js/forum_post.js
Normal file → Executable file
6
static/js/forum_post.js
Normal file → Executable file
@@ -105,7 +105,7 @@ function validate(theform) {
|
||||
}
|
||||
|
||||
if(!disablepostctrl && !sortid && !special && ((postminchars != 0 && mb_strlen(message) < postminchars) || (postmaxchars != 0 && mb_strlen(message) > postmaxchars))) {
|
||||
showError('您的文章长度不符合要求。\n\n当前长度: ' + mb_strlen(message) + ' 字节\n系统限制: ' + postminchars + ' 到 ' + postmaxchars + ' 字节');
|
||||
showError('您的帖子长度不符合要求。\n\n当前长度: ' + mb_strlen(message) + ' 字节\n系统限制: ' + postminchars + ' 到 ' + postmaxchars + ' 字节');
|
||||
return false;
|
||||
}
|
||||
if(UPLOADSTATUS == 0) {
|
||||
@@ -113,7 +113,7 @@ function validate(theform) {
|
||||
return false;
|
||||
}
|
||||
} else if(UPLOADSTATUS == 1) {
|
||||
showDialog('您有正在上传的附件,请稍候,上传完成后文章将会自动发表...', 'notice');
|
||||
showDialog('您有正在上传的附件,请稍候,上传完成后帖子将会自动发表...', 'notice');
|
||||
AUTOPOST = 1;
|
||||
return false;
|
||||
}
|
||||
@@ -860,7 +860,7 @@ function extraCheckall() {
|
||||
}
|
||||
|
||||
function deleteThread() {
|
||||
if(confirm('确定要删除该文章吗?') != 0){
|
||||
if(confirm('确定要删除该帖子吗?') != 0){
|
||||
$('delete').value = '1';
|
||||
$('postform').submit();
|
||||
}
|
||||
|
Reference in New Issue
Block a user