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 / includes / admin / views / html-admin-page-addons.php
everest-forms / includes / admin / views Last commit date
html-admin-header-skeleton.php 3 weeks ago html-admin-page-addons.php 1 year ago html-admin-page-builder.php 4 months ago html-admin-page-dashboard.php 2 years ago html-admin-page-entries-view.php 3 weeks ago html-admin-page-export.php 1 year ago html-admin-page-form-migrator.php 2 years ago html-admin-page-form-templates.php 4 months ago html-admin-page-import.php 1 year ago html-admin-page-payments.php 3 weeks ago html-admin-page-setting.php 2 years ago html-admin-page-smart-smtp-setup.php 3 weeks ago html-admin-page-tools-logs.php 2 months ago html-admin-page-tools.php 3 months ago html-admin-settings.php 3 weeks ago html-deactivation-popup.php 3 years ago html-notice-allow-usage.php 2 months ago html-notice-custom.php 3 months ago html-notice-email-failed-notice.php 3 months ago html-notice-php-deprecation.php 3 months ago html-notice-review.php 3 months ago html-notice-survey.php 3 months ago html-notice-update.php 3 months ago html-notice-updated.php 3 months ago html-notice-updating.php 3 months ago
html-admin-page-addons.php
240 lines
1 <?php
2 /**
3 * Admin View: Page - Addons
4 *
5 * @var string $view
6 * @var object $addons
7 *
8 * @package EverestForms
9 */
10
11 defined( 'ABSPATH' ) || exit;
12
13 ?>
14 <div class="wrap evf_addons_wrap">
15 <h1 class="wp-heading-inline"><?php esc_html_e( 'Everest Forms Add-ons', 'everest-forms' ); ?></h1>
16
17 <?php if ( apply_filters( 'everest_forms_refresh_addons', true ) ) : ?>
18 <a href="<?php echo esc_url( $refresh_url ); ?>" class="page-title-action"><?php esc_html_e( 'Refresh Add-ons', 'everest-forms' ); ?></a>
19 <?php endif; ?>
20
21 <input style="float: right;" id="everest_forms_search_addons" name="everest_forms_search_addons" type="search" placeholder="search addons...">
22
23 <hr class="wp-header-end">
24 <h2 class="screen-reader-text"><?php esc_html_e( 'Filter add-ons list', 'everest-forms' ); ?></h2>
25
26 <?php if ( $sections ) : ?>
27 <div class="wp-filter">
28 <ul class="filter-links">
29 <?php foreach ( $sections as $section ) : ?>
30 <li class="<?php echo esc_attr( $section->slug ); ?>">
31 <a href="<?php echo esc_url( admin_url( 'admin.php?page=evf-addons&section=' . esc_attr( $section->slug ) ) ); ?>"<?php echo $current_section === $section->slug ? ' class="current" aria-current="page"' : ''; ?>><?php echo esc_html( $section->label ); ?></a>
32 </li>
33 <?php endforeach; ?>
34 </ul>
35 <form class="search-form search-plugins hidden" method="get">
36 <input type="hidden" name="page" value="evf-addons">
37 <?php $page_section = ( isset( $_GET['section'] ) && '_featured' !== sanitize_text_field( wp_unslash( $_GET['section'] ) ) ) ? sanitize_text_field( wp_unslash( $_GET['section'] ) ) : '_all'; // phpcs:ignore WordPress.Security.NonceVerification ?>
38 <input type="hidden" name="section" value="<?php echo esc_attr( $page_section ); ?>">
39 <label>
40 <span class="screen-reader-text"><?php esc_html_e( 'Search Add-ons', 'everest-forms' ); ?></span>
41 <input type="search" name="s" value="" class="wp-filter-search hidden" placeholder="<?php esc_attr_e( 'Search Add-ons...', 'everest-forms' ); ?>" aria-describedby="live-search-desc" />
42 </label>
43 <input type="submit" id="search-submit" class="button hide-if-js" value="<?php esc_attr_e( 'Search Add-ons', 'everest-forms' ); ?>">
44 </form>
45 </div>
46
47 <br class="clear">
48 <p class="refresh">
49 <?php
50 /* translators: %s: Refresh URI */
51 printf( esc_html__( 'Make your forms even more robust with our premium addons. Missing any addons? Click the %1$sRefresh Add-ons%2$s button above.', 'everest-forms' ), '<a href="' . esc_url( $refresh_url ) . '">', '</a>' );
52 ?>
53 </p>
54
55 <?php if ( '_featured' !== $current_section && $addons ) : ?>
56 <form id="extension-filter" method="post">
57 <div class="wp-list-table widefat extension-install">
58 <h2 class="screen-reader-text"><?php esc_html_e( 'Add-ons list', 'everest-forms' ); ?></h2>
59 <div class="the-list">
60 <?php
61 $plan = evf_get_license_plan();
62 if ( false === $plan ) {
63 array_shift( $addons );
64 ?>
65 <div class="plugin-card plugin-card-everest-forms-ai-contact-form">
66 <a href="<?php echo esc_url( 'https://everestforms.net/features/convertkit/?utm_source=addons-page&utm_medium=banner&utm_campaign=evf-upgrade-to-pro&utm_content=ai-contact-form' ); ?>">
67 <div class="plugin-card-top">
68 <div class="name column-name">
69 <h3 class="plugin-name">
70 <?php echo esc_html( 'AI Contact Form' ); ?>
71 <img src="<?php echo esc_url( evf()->plugin_url() . '/assets/extensions-json/sections/images/ai.png' ); ?>" class="plugin-icon" alt=""/>
72 </h3>
73 </div>
74 <div class="desc column-description">
75 <p class="plugin-desc"> <?php echo esc_html( 'Add AI capabilities like interactive chatbox, AI generated email notifications, and more to your forms.' ); ?></p>
76 </div>
77 </div>
78 </a>
79 <div class="plugin-card-bottom">
80 <div class="status column-status">
81 <strong><?php esc_html_e( 'Status:', 'everest-forms' ); ?></strong>
82 <?php
83 $addon_slug = 'ai-contact-form';
84 if ( is_plugin_active( $addon_slug . '/' . $addon_slug . '.php' ) ) :
85 ?>
86 <span class="status-label status-active"><?php esc_html_e( 'Activated', 'everest-forms' ); ?></span>
87 <?php elseif ( file_exists( WP_PLUGIN_DIR . '/' . $addon_slug . '/' . $addon_slug . '.php' ) ) : ?>
88 <span class="status-label status-inactive"><?php esc_html_e( 'Inactive', 'everest-forms' ); ?></span>
89 <?php else : ?>
90 <span class="status-label status-install-now"><?php esc_html_e( 'Not Installed', 'everest-forms' ); ?></span>
91 <?php endif; ?>
92 </div>
93 <div class="action-buttons upgrade-plan">
94 <?php
95 $repo_url = 'https://api.github.com/repos/wpeverest/ai-contact-form/releases/latest';
96 $response = wp_safe_remote_get( $repo_url );
97 $release = wp_remote_retrieve_body( $response );
98 $release = json_decode( $release, true );
99 $latest_tag = isset( $release['tag_name'] ) ? esc_attr( $release['tag_name'] ) : '';
100 $download_url = 'https://github.com/wpeverest/ai-contact-form/releases/latest/download/ai-contact-form.zip';
101 ?>
102 <?php if ( is_plugin_active( $addon_slug . '/' . $addon_slug . '.php' ) ) : ?>
103 <?php
104 $plugin_file = plugin_basename( $addon_slug . '/' . $addon_slug . '.php' );
105 $url = wp_nonce_url(
106 add_query_arg(
107 array(
108 'page' => 'evf-addons',
109 'action' => 'deactivate',
110 'plugin' => $plugin_file,
111 ),
112 admin_url( 'admin.php' )
113 ),
114 'deactivate-plugin_' . $plugin_file
115 );
116 ?>
117 <a class="button button-secondary deactivate-now" href="<?php echo esc_url( $url ); ?>"><?php esc_html_e( 'Deactivate', 'everest-forms' ); ?></a>
118 <?php elseif ( file_exists( WP_PLUGIN_DIR . '/' . $addon_slug . '/' . $addon_slug . '.php' ) ) : ?>
119 <?php
120 $plugin_file = plugin_basename( $addon_slug . '/' . $addon_slug . '.php' );
121 $url = wp_nonce_url(
122 add_query_arg(
123 array(
124 'page' => 'evf-addons',
125 'action' => 'activate',
126 'plugin' => $plugin_file,
127 ),
128 admin_url( 'admin.php' )
129 ),
130 'activate-plugin_' . $plugin_file
131 );
132 ?>
133 <a class="button button-primary activate-now" href="<?php echo esc_url( $url ); ?>"><?php esc_html_e( 'Activate', 'everest-forms' ); ?></a>
134 <?php else : ?>
135 <a href="<?php echo esc_url( $download_url ); ?>" class="button evf-download-ai"><?php esc_html_e( 'Download Addon', 'everest-forms' ); ?></a>
136 <?php endif; ?>
137 </div>
138 </div>
139 </div>
140 <?php } ?>
141 <?php
142 foreach ( $addons as $addon ) :
143 ?>
144
145 <div class="plugin-card plugin-card-<?php echo esc_attr( $addon->slug ); ?>">
146 <a href="<?php echo esc_url( $addon->link ); ?>">
147 <div class="plugin-card-top">
148 <div class="name column-name">
149 <h3 class="plugin-name">
150 <?php echo esc_html( $addon->title ); ?>
151 <img src="<?php echo esc_url( evf()->plugin_url() . '/assets/' . $addon->image ); ?>" class="plugin-icon" alt="" />
152 </h3>
153 </div>
154 <div class="desc column-description">
155 <p class="plugin-desc"><?php echo esc_html( $addon->excerpt ); ?></p>
156 </div>
157 </div>
158 </a>
159 <div class="plugin-card-bottom">
160 <?php if ( in_array( trim( str_replace( 'lifetime', '', str_replace( '-lifetime', '', $license_plan ) ) ), $addon->plan, true ) ) : ?>
161 <div class="status column-status">
162 <strong><?php esc_html_e( 'Status:', 'everest-forms' ); ?></strong>
163 <?php if ( is_plugin_active( $addon->slug . '/' . $addon->slug . '.php' ) ) : ?>
164 <span class="status-label status-active"><?php esc_html_e( 'Activated', 'everest-forms' ); ?></span>
165 <?php elseif ( file_exists( WP_PLUGIN_DIR . '/' . $addon->slug . '/' . $addon->slug . '.php' ) ) : ?>
166 <span class="status-label status-inactive"><?php esc_html_e( 'Inactive', 'everest-forms' ); ?></span>
167 <?php else : ?>
168 <span class="status-label status-install-now"><?php esc_html_e( 'Not Installed', 'everest-forms' ); ?></span>
169 <?php endif; ?>
170 </div>
171 <div class="action-buttons">
172 <?php if ( is_plugin_active( $addon->slug . '/' . $addon->slug . '.php' ) ) : ?>
173 <?php
174 /* translators: %s: Add-on title */
175 $aria_label = sprintf( esc_html__( 'Deactivate %s now', 'everest-forms' ), $addon->title );
176 $plugin_file = plugin_basename( $addon->slug . '/' . $addon->slug . '.php' );
177 $url = wp_nonce_url(
178 add_query_arg(
179 array(
180 'page' => 'evf-addons',
181 'action' => 'deactivate',
182 'plugin' => $plugin_file,
183 ),
184 admin_url( 'admin.php' )
185 ),
186 'deactivate-plugin_' . $plugin_file
187 );
188 ?>
189 <a class="button button-secondary deactivate-now" href="<?php echo esc_url( $url ); ?>" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php esc_html_e( 'Deactivate', 'everest-forms' ); ?></a>
190 <?php elseif ( file_exists( WP_PLUGIN_DIR . '/' . $addon->slug . '/' . $addon->slug . '.php' ) ) : ?>
191 <?php
192 /* translators: %s: Add-on title */
193 $aria_label = sprintf( esc_html__( 'Activate %s now', 'everest-forms' ), $addon->title );
194 $plugin_file = plugin_basename( $addon->slug . '/' . $addon->slug . '.php' );
195 $url = wp_nonce_url(
196 add_query_arg(
197 array(
198 'page' => 'evf-addons',
199 'action' => 'activate',
200 'plugin' => $plugin_file,
201 ),
202 admin_url( 'admin.php' )
203 ),
204 'activate-plugin_' . $plugin_file
205 );
206 ?>
207 <a class="button button-primary activate-now" href="<?php echo esc_url( $url ); ?>" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php esc_html_e( 'Activate', 'everest-forms' ); ?></a>
208 <?php else : ?>
209 <?php
210 /* translators: %s: Add-on title */
211 $aria_label = sprintf( esc_html__( 'Install %s now', 'everest-forms' ), $addon->title );
212 ?>
213 <a href="#" class="button install-now" data-slug="<?php echo esc_attr( $addon->slug ); ?>" data-name="<?php echo esc_attr( $addon->name ); ?>" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php esc_html_e( 'Install Addon', 'everest-forms' ); ?></a>
214 <?php endif; ?>
215 </div>
216 <?php else : ?>
217 <div class="action-buttons upgrade-plan">
218 <a class="button upgrade-now" href="https://everestforms.net/upgrade/?utm_source=addons-page&utm_medium=upgrade-button&utm_campaign=evf-upgrade-to-pro" target="_blank"><?php esc_html_e( 'Upgrade Plan', 'everest-forms' ); ?></a>
219 </div>
220 <?php endif; ?>
221 </div>
222 </div>
223 <?php endforeach; ?>
224 </div>
225 </div>
226 </form>
227 <?php endif; ?>
228 <?php else : ?>
229 <p>
230 <?php
231 /* translators: %s: Add-ons Link */
232 printf( esc_html__( 'Our catalog of Everest Forms Add-ons/Extensions can be found on WPEverest.com here: <a href="%s">Everest Forms Extensions Catalog</a>', 'everest-forms' ), 'https://everestforms.net/' );
233 ?>
234 </p>
235 <?php endif; ?>
236 </div>
237 <?php
238 wp_print_request_filesystem_credentials_modal();
239 wp_print_admin_notice_templates();
240