Made all scripts "use strict"

Implemented Captcha
This commit is contained in:
briandilley
2006-10-23 22:14:15 +00:00
parent ab68bd0d6c
commit eed35515bf
6 changed files with 281 additions and 115 deletions

View File

@ -1,9 +1,20 @@
 <form action="${SCRIPT_NAME}" method="post">
<div style="margin: 5px;">
<input type="hidden" name="action" value="doadd" />
<textarea cols="80" rows="20" name="content" style="width: 100%;"></textarea>
<input type="hidden" name="cid" value="${CAPTCHA_ID}" />
<textarea cols="80" rows="20" name="content" style="width: 100%;">${KWOTE_TEXT}</textarea>
<br />
<span style="float: left;">
<img src="${SCRIPT_NAME}?action=captcha&amp;cid=${CAPTCHA_ID}" width="120" height="30" border="0" />
</span>
<span style="float: left;">
&nbsp;
Enter the letters you see to the left:
<input type="text" name="phrase" />
</span>
<span style="float: right;">
<input type="submit" value="Submit Quote" />
</span>

View File

@ -52,7 +52,7 @@
<form id="searchbox" action="${SCRIPT_NAME}" method="get">
<div>
<input type="hidden" name="action" value="show" />
Kwote #&nbsp;<input type="text" size="5" name="kwoteid" id="kwoteid" />
Kwote #&nbsp;<input type="text" size="5" name="id" id="kwoteid" />
</div>
</form>