PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 3.5.2
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v3.5.2
3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / addons / CleanTalk / Settings / Settings.php
everest-forms / addons / CleanTalk / Settings Last commit date
Settings.php 2 months ago
Settings.php
86 lines
1 <?php
2 /**
3 * CleanTalk.
4 *
5 * @since 3.2.2
6 * @package EverestForms\Addons\CleanTalk\Settings
7 */
8
9 namespace EverestForms\Addons\CleanTalk\Settings;
10
11 /**
12 * CleanTalk.
13 *
14 * @since 3.2.2
15 */
16 class Settings extends \EVF_Integration {
17
18 /**
19 * Account status.
20 *
21 * @var [type] The account status.
22 */
23
24 public $account_status;
25 /**
26 * Constructor.
27 *
28 * @since 3.2.2
29 */
30 public function __construct() {
31 $this->id = 'clean-talk';
32 $this->icon = plugins_url( 'addons/CleanTalk/assets/images/CleanTalk.png', EVF_PLUGIN_FILE );
33 $this->method_title = esc_html__( 'CleanTalk', 'everest-forms' );
34 $this->method_description = esc_html__( 'CleanTalk Integration with Everest Forms', 'everest-forms' );
35 $connected_lists = get_option( 'everest_forms_integrations', array() );
36 if ( ! empty( get_option( 'everest_forms_recaptcha_cleantalk_access_key' ) ) ) {
37 $this->account_status = 'connected';
38 } else {
39 $this->account_status = '';
40 }
41 }
42
43 /**
44 * Output Integration.
45 */
46 public function output_integration() {
47 ?>
48 <a href="<?php echo esc_url( admin_url( 'admin.php?page=evf-settings&tab=integration' ) ); ?>" class="everest-forms-integration-back-button">
49 <span><?php echo esc_html__( 'Back', 'everest-forms' ); ?></span>
50 </a>
51 <div class="everest-forms-integration-content">
52 <div class="integration-addon-detail">
53 <div class="evf-integration-info-header">
54 <figure class="evf-integration-logo">
55 <img src="<?php echo esc_attr( $this->icon ); ?>" alt="<?php echo esc_attr( 'CleanTalk' ); ?>">
56 </figure>
57 <div class="integration-info">
58 <h3><?php echo $this->method_title; /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */ ?></h3>
59 </div>
60 </div>
61 <p><?php echo $this->method_description; /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */ ?></p>
62 </div>
63
64 <div class="integration-connection-detail">
65 <div class="evf-connection-list">
66 <!-- Toggle Row -->
67 <form method="post" action="" id="everest-forms-clean-talk-settings-form">
68 <!-- Access Key -->
69 <div class="evf-clean-talk-access-key">
70 <div>
71 <label class="evf-clean-talk-label-1" for="everest_forms_recaptcha_cleantalk_access_key"><?php echo __( 'CleanTalk Access Key', 'everest-forms' ); ?></label>
72 </div>
73 <input style="margin: 12px 0; width: 100%" class="evf-access-key" type="password" id="everest_forms_recaptcha_cleantalk_access_key" name="everest_forms_recaptcha_cleantalk_access_key" value="<?php echo esc_attr( get_option( 'everest_forms_recaptcha_cleantalk_access_key' ) ); ?>">
74 <p style="margin-bottom:0; margin-top:0"><?php echo __( 'Enter your CleanTalk REST API key from your ', 'everest-forms' ); ?><a href="https://cleantalk.org/my/" target="_blank" rel="noopener noreferrer"><?php echo __( 'account dashboard here', 'everest-forms' ); ?></a>.</p>
75 </div>
76 <div class="evf-clean-talk-message" style="display: none;"></div>
77 </div>
78 <button style="margin-top: 12px;" type="submit" id="everest-forms-clean-talk-save-settings" class="everest-forms-btn everest-forms-btn-primary" ><?php echo __( 'Save Settings', 'everest-forms' ); ?></button>
79 </form>
80
81 </div>
82 </div>
83 <?php
84 }
85 }
86