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}
</div>
<form action="/Comments" method="POST">
<input type="hidden" name="Request" value="{ReqID}">
<input type="hidden" name="Lang" value="{Lang}">
<input type="hidden" name="Site" value="{Site}">
<input type="hidden" name="Page" value="{Page}">

View File

@ -105,7 +105,7 @@ def CAPTCHAHTML(ID):
<label>CAPTCHA:</label>
<br>
<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>
<span><input type="text" name="CAPTCHA"></span>
""".format(Image.decode('UTF-8'), Audio.decode('UTF-8'))
@ -216,6 +216,7 @@ def PatchCommentsHTML(Data):
Comment=Comment)
return FormBase.format(
ReqID=ReqID,
Lang=Data['Lang'] if Data['Lang'] else '',
Style='',
Site=Data['Site'] if Data['Site'] else '',