611318b7a010dfdf4a373885baa0b46c7286045c
1 <script type
="text/javascript">
2 Recaptcha
.create("$publickey",
6 custom_theme_widget
: 'recaptcha_widget',
7 callback
: Recaptcha
.focus_response_field
11 require_once('/srv/http/disinclined.org/includes/recaptchalib.php');
12 $url = $this->url
. "verify";
14 <form id
='comment_form' method
='post' action
='$url'>
17 <textarea rows
="10" cols
="70" name
="text" id
="comment_text"></textarea
>
19 <input type
=text name
="name" id
="comment_name">
22 <div id
="recaptcha_widget">
24 <h3
><b
>what
's this say</b>?</h3>
26 <div id="recaptcha_image"></div>
28 <span class="recaptcha_only_if_image"><br><br><br></span>
29 <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />
31 <h3 class="recaptcha_only_if_audio"><b>enter the numbers you hear</b>:</h3>
32 <span class="recaptcha_help">
33 <a href="javascript:Recaptcha.reload()">another?</a> /
34 <span class="recaptcha_only_if_image"><a href="javascript:Recaptcha.switch_type('audio
')">audio?</a> /</span>
35 <span class="recaptcha_only_if_audio"><a href="javascript:Recaptcha.switch_type('image
')">image?</a></span><a href="javascript:Recaptcha.showhelp()">help?</a>
38 <?php recaptcha_get_html($this->recaptcha_publickey);
39 if ($this->failed_captcha) {
40 echo "<div id=\"not_human\">";
41 echo " reCAPTCHA said you're not human
, <br
>";
45 echo "<div id
=\"blank_comment\"
>";
46 echo " but you didn
't write anything! <br>";
49 <input id="submit" class="submit" type="submit" value="post comment">