This commit is contained in:
octospacc 2022-07-12 16:40:37 +02:00
parent fd1fcc8cf8
commit e0a3ad0206
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,7 @@
{StatusError} {StatusError}
</div> </div>
<form action="/Comments" method="POST"> <form action="/Comments" method="POST">
<input type="hidden" name="Request" value="{ReqID}">
<input type="hidden" name="Lang" value="{Lang}"> <input type="hidden" name="Lang" value="{Lang}">
<input type="hidden" name="Site" value="{Site}"> <input type="hidden" name="Site" value="{Site}">
<input type="hidden" name="Page" value="{Page}"> <input type="hidden" name="Page" value="{Page}">

View File

@ -105,7 +105,7 @@ def CAPTCHAHTML(ID):
<label>CAPTCHA:</label> <label>CAPTCHA:</label>
<br> <br>
<img src="data:image/png;base64,{}"> <img src="data:image/png;base64,{}">
<audio src="data:audio/wav;base64,{}"controls="controls"></audio> <audio src="data:audio/wav;base64,{}" controls="controls"></audio>
<br> <br>
<span><input type="text" name="CAPTCHA"></span> <span><input type="text" name="CAPTCHA"></span>
""".format(Image.decode('UTF-8'), Audio.decode('UTF-8')) """.format(Image.decode('UTF-8'), Audio.decode('UTF-8'))
@ -216,6 +216,7 @@ def PatchCommentsHTML(Data):
Comment=Comment) Comment=Comment)
return FormBase.format( return FormBase.format(
ReqID=ReqID,
Lang=Data['Lang'] if Data['Lang'] else '', Lang=Data['Lang'] if Data['Lang'] else '',
Style='', Style='',
Site=Data['Site'] if Data['Site'] else '', Site=Data['Site'] if Data['Site'] else '',