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-tools.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-tools.php
141 lines
1 <?php
2 /**
3 * Admin View: Page - Status
4 *
5 * @package EverestForms/Admin/Logs
6 */
7
8 defined( 'ABSPATH' ) || exit;
9
10 // phpcs:ignore WordPress.WP.GlobalVariablesOverride
11 $tabs = apply_filters(
12 'everest_forms_admin_status_tabs',
13 array(
14 'import' => __( 'Import', 'everest-forms' ),
15 'export' => __( 'Export', 'everest-forms' ),
16 'form_migrator' => __( 'Form Migrator', 'everest-forms' ),
17 'system_info' => __( 'System Info', 'everest-forms' ),
18 'roles_and_permission' => __( 'Roles and Permission', 'everest-forms' ),
19 )
20 );
21 $current_tab = ! empty( $_REQUEST['tab'] ) ? sanitize_title( wp_unslash( $_REQUEST['tab'] ) ) : 'import'; // phpcs:ignore WordPress.Security.NonceVerification
22
23 $use_react_header = apply_filters( 'everest_forms_use_react_header', true, $current_tab );
24
25
26 if ( 'yes' === get_option( 'everest_forms_enable_log', 'no' ) ) {
27 $tabs['logs'] = __( 'Logs', 'everest-forms' ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
28 }
29
30
31 ?>
32 <?php if ( $use_react_header ) : ?>
33 <div id="evf-react-header-root"></div>
34 <?php endif; ?>
35 <div class="everest-forms">
36 <div class="everest-forms-settings">
37 <div class="everest-forms-settings-wrapper">
38 <header class="everest-forms-header">
39 <!-- <div class="everest-forms-header--top">
40 <div class="everest-forms-header--top-logo">
41 <img src="<?php echo esc_url( evf()->plugin_url() . '/assets/images/icons/Everest-forms-Logo.png' ); ?>"
42 alt="">
43 </div>
44 </div> -->
45 <div class="everest-forms-header--nav">
46 <nav class="nav-tab-wrapper evf-nav-tab-wrapper">
47 <?php
48 foreach ( $tabs as $slug => $label ) {
49 ?>
50 <a href="<?php echo esc_url( admin_url( 'admin.php?page=evf-tools&tab=' . $slug ) ); ?>"
51 class="nav-tab evf-nav__link <?php echo ( $current_tab === $slug ? 'nav-tab-active is-active' : '' ); ?>">
52 <span class="evf-nav__link-icon">
53 <?php echo evf_file_get_contents( '/assets/images/tools-icons/' . $slug . '.svg' ); //phpcs:ignore ?>
54 </span>
55 <span class="evf-nav__link-label">
56 <p>
57 <?php echo esc_html( $label ); ?>
58 </p>
59 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
60 <path stroke="#383838" stroke-linecap="round" stroke-linejoin="round"
61 stroke-width="2" d="m9 18 6-6-6-6" />
62 </svg>
63 </span>
64 </a>
65 <?php
66 }
67 ?>
68 <!-- <button id="evf-settings-collapse" class="nav-tab evf-nav__link">
69 <span class="evf-nav-icon">
70 <img src="<?php //echo esc_url( evf()->plugin_url() . '/assets/images/icons/collapse-line.svg' ); ?>"
71 alt="">
72 </span>
73 <span class="evf-nav__link-label">
74 <?php //esc_html_e( 'Collapse Menu', 'everest-forms' ); ?>
75 </span> -->
76 </button>
77 </nav>
78 </div>
79 </header>
80 <div class="everest-forms-settings-container">
81 <div class="everest-forms-settings-main">
82 <div class="everest-forms-options-header">
83 <div class="everest-forms-options-header--top">
84 <?php
85 foreach ( $tabs as $slug => $label ) {
86 if ( $current_tab === $slug ) {
87 echo '<span class="evf-forms-options-header-header--top-icon">' . evf_file_get_contents( '/assets/images/tools-icons/' . $slug . '.svg' ) . '</span>'; //phpcs:ignore
88 }
89 }
90 ?>
91 <h3><?php echo esc_html( $tabs[ $current_tab ] ); ?></h3>
92
93 </div>
94 </div>
95 <?php
96 switch ( $current_tab ) {
97 case 'logs':
98 EVF_Admin_Tools::status_logs();
99 break;
100 case 'import':
101 EVF_Admin_Tools::import();
102 break;
103 case 'export':
104 EVF_Admin_Tools::export();
105 break;
106 case 'system_info':
107 EVF_Admin_Tools::setting();
108 break;
109 case 'form_migrator':
110 EVF_Admin_Tools::form_migrator();
111 break;
112 case 'payment_log':
113 if ( ! class_exists( 'EVF_Pro_Admin_Tools' ) ) {
114 return;
115 }
116 \EVF_Pro_Admin_Tools::payment_log();
117 break;
118 case 'api_logs':
119 if ( ! class_exists( 'EVF_Pro_Admin_Tools' ) ) {
120 return;
121 }
122 \EVF_Pro_Admin_Tools::api_logs();
123 break;
124 case 'roles_and_permission':
125 EVF_Admin_Tools::roles_and_permission();
126 break;
127 default:
128 if ( array_key_exists( $current_tab, $tabs ) && has_action( 'everest_forms_admin_status_content_' . $current_tab ) ) {
129 do_action( 'everest_forms_admin_status_content_' . $current_tab );
130 } else {
131 EVF_Admin_Tools::import();
132 }
133 break;
134 }
135 ?>
136 </div>
137 </div>
138 </div>
139 </div>
140 </div>
141