Advertisement
comniemeer

reCAPTCHA Bootstrap Script

Nov 18th, 2013
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.11 KB | None | 0 0
  1.                     <div id="recaptcha_widget" style="display:none">
  2.                         <div class="recaptcha_only_if_no_incorrect_sol"></div>
  3.                         <div class="form-group">
  4.                             <label class="col-sm-2 control-label">reCAPTCHA</label>
  5.                             <div class="col-sm-10">
  6.                                 <!--<a id="recaptcha_image" class="thumbnail"></a>-->
  7.                                 <div id="recaptcha_image"></div>
  8.                             </div>
  9.                         </div>
  10.                        
  11.                         <div class="form-group">
  12.                             <label for="recaptcha_response_field" class="col-sm-2 recaptcha_only_if_image control-label">Angezeigte Wörter</label>
  13.                             <label for="recaptcha_response_field" class="col-sm-2 recaptcha_only_if_audio control-label">Gehörte Zahlen</label>
  14.                            
  15.                             <div class="col-sm-10">
  16.                                 <div class="input-group">
  17.                                     <input type="text" class="form-control" id="recaptcha_response_field" name="recaptcha_response_field" placeholder="reCAPTCHA">
  18.                                     <span class="input-group-btn">
  19.                                         <a class="btn btn-warning" href="javascript:Recaptcha.reload()"><span class="glyphicon glyphicon-refresh"></span></a>
  20.                                         <a class="btn btn-primary recaptcha_only_if_image" href="javascript:Recaptcha.switch_type(' . "'audio'" . ')"><span title="Audio-CAPTCHA anfordern" class="glyphicon glyphicon-headphones"></span></a>
  21.                                         <a class="btn btn-primary recaptcha_only_if_audio" href="javascript:Recaptcha.switch_type(' . "'image'" . ')"><span title="Bild-CAPTCHA anfordern" class="glyphicon glyphicon-picture"></span></a>
  22.                                         <a class="btn btn-info" href="javascript:Recaptcha.showhelp()"><span class="glyphicon glyphicon-question-sign"></span></a>
  23.                                     </span>
  24.                                 </div>
  25.                             </div>
  26.                         </div>
  27.                     </div>
  28.                    
  29.                     <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=DEIN_PUBLIC_KEY"></script>
  30.                    
  31.                     <noscript>
  32.                         <iframe src="http://www.google.com/recaptcha/api/noscript?k=DEIN_PUBLIC_KEY" height="300" width="500" frameborder="0"></iframe>
  33.                         <br>
  34.                         <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
  35.                         <input type="hidden" name="recaptcha_response_field" value="manual_challenge">
  36.                     </noscript>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement