Made all scripts "use strict"
Implemented Captcha
This commit is contained in:
		@@ -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&cid=${CAPTCHA_ID}" width="120" height="30" border="0" />
 | 
			
		||||
				</span>
 | 
			
		||||
 | 
			
		||||
				<span style="float: left;">
 | 
			
		||||
					 
 | 
			
		||||
					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>
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@
 | 
			
		||||
		<form id="searchbox" action="${SCRIPT_NAME}" method="get">
 | 
			
		||||
			<div>
 | 
			
		||||
				<input type="hidden" name="action" value="show" />
 | 
			
		||||
				Kwote # <input type="text" size="5" name="kwoteid" id="kwoteid" />
 | 
			
		||||
				Kwote # <input type="text" size="5" name="id" id="kwoteid" />
 | 
			
		||||
			</div>
 | 
			
		||||
		</form>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user