source: extensions/EasyCaptcha/template/guestbook.tpl @ 26923

Revision 26923, 1.2 KB checked in by mistic100, 6 years ago (diff)

add class="easycaptcha_hint" for public text

Line 
1<tr>
2  {include file=$EASYCAPTCHA_ABS_PATH|cat:'template/common.inc.tpl'}
3
4  {* <!-- DRAG & DROP --> *}
5  {if $EASYCAPTCHA.challenge == 'drag'}
6  <td colspan=2><label class="easycaptcha_hint">{'To verify you are a human, please place the <b>%s</b> in the most right box bellow.'|translate:$EASYCAPTCHA.drag.text}</label></td>
7
8  {footer_script}
9  var captcha_code = new LiveValidation(jQuery('input[name="easycaptcha"]')[0], {ldelim} onlyOnSubmit: true });
10  captcha_code.add(Validate.Presence, {ldelim} failureMessage: "{'Pleaser answer'|translate}" });
11  {/footer_script}
12
13  {* <!-- TIC TAC TOE --> *}
14  {else if $EASYCAPTCHA.challenge == 'tictac'}
15  <td colspan=2><label class="easycaptcha_hint">{'You are player X, click on the right case to complete the line.'|translate}</label></td>
16
17  {footer_script}
18  var captcha_code = new LiveValidation(jQuery('input[name="easycaptcha_key"]')[0], {ldelim} onlyOnSubmit: true });
19  captcha_code.add(Validate.Custom, {ldelim}
20    failureMessage: "{'Pleaser answer'|translate}",
21    against: function() {ldelim}
22        return jQuery('input[name="easycaptcha"]:checked').length != 0;
23    }
24  });
25  {/footer_script}
26
27  {/if}
28</tr>
29<tr>
30  <td colspan=2 style="text-align:center;">
31    {$smarty.capture.easycaptcha}
32  </td>
33</tr>
Note: See TracBrowser for help on using the repository browser.