| 1 |
<h3 class="hndle"><?php _e( 'reCaptcha', 'weforms' ); ?></h3> |
| 2 |
|
| 3 |
<div class="inside"> |
| 4 |
<p class="help"> |
| 5 |
<?php printf( __( '<a href="%s" target="_blank">reCAPTCHA</a> is a free anti-spam service from Google which helps to protect your website from spam and abuse. Get <a href="%s" target="_blank">your API Keys</a>.', 'weforms' ), 'https://www.google.com/recaptcha/intro/', 'https://www.google.com/recaptcha/admin#list' ); ?> |
| 6 |
</p> |
| 7 |
|
| 8 |
<table class="form-table"> |
| 9 |
<tr> |
| 10 |
<th><?php _e( 'Site key', 'weforms' ); ?></th> |
| 11 |
<td> |
| 12 |
<input type="text" v-model="settings.recaptcha.key" class="regular-text"> |
| 13 |
</td> |
| 14 |
</tr> |
| 15 |
<tr> |
| 16 |
<th><?php _e( 'Secret key', 'weforms' ); ?></th> |
| 17 |
<td> |
| 18 |
<input type="text" v-model="settings.recaptcha.secret" class="regular-text"> |
| 19 |
</td> |
| 20 |
</tr> |
| 21 |
</table> |
| 22 |
</div> |
| 23 |
|
| 24 |
<div class="submit-wrapper"> |
| 25 |
<button v-on:click.prevent="saveSettings($event.target)" class="button button-primary"><?php _e( 'Save Changes', 'weforms' ); ?></button> |
| 26 |
</div> |