From 801ac2b273c99690b53c6febf717347708ef4e74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B9=96=E4=B8=AD=E6=B2=89?= <341936031@qq.com> Date: Sat, 17 May 2025 12:06:48 +0000 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=89=88=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E5=B8=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 湖中沉 <341936031@qq.com> --- upload/static/js/mobile/common.js | 10 ++++++++++ upload/template/default/touch/forum/viewthread.htm | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/upload/static/js/mobile/common.js b/upload/static/js/mobile/common.js index 8bc8a102a..81aeb6b01 100644 --- a/upload/static/js/mobile/common.js +++ b/upload/static/js/mobile/common.js @@ -954,4 +954,14 @@ function copycode(obj) { function setanswer(tid, pid, from, formhash){ popup.open('您确认要把该回复选为“最佳答案”吗?','confirm','forum.php?mod=misc&action=bestanswer&tid=' + tid + '&pid=' + pid + '&from=' + from + '&bestanswersubmit=yes&formhash='+formhash) +} + +function submitpostpw(pid, tid) { + var obj = document.getElementById('postpw_' + pid); + setcookie('postpw_' + pid, hex_md5(obj.value)); + if(!tid) { + location.href = location.href; + } else { + location.href = 'forum.php?mod=viewthread&tid='+tid; + } } \ No newline at end of file diff --git a/upload/template/default/touch/forum/viewthread.htm b/upload/template/default/touch/forum/viewthread.htm index 7ee280dad..c17ff3d8d 100644 --- a/upload/template/default/touch/forum/viewthread.htm +++ b/upload/template/default/touch/forum/viewthread.htm @@ -203,6 +203,10 @@
{lang message_ishidden_hiddenreplies}
+ + +
{lang message_password_exists} {lang pleaseinputpw}
+
{lang admin_message_banned}
-- Gitee