PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
defender-security / src / view / modal / deactivation-survey.php

deactivation-survey.php in Defender Security – Malware Scanner, Login Security & Firewall 6.3.0, at src/view/modal/deactivation-survey.php

159 lines 7.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Deactivation Survey Modal
4 *
5 * @package WP_Defender
6 */
7
8 ?>
9 <div class="<?php echo esc_attr( sprintf( ' sui-%s ', DEFENDER_SUI ) ); ?>">
10 <div class="sui-wrap">
11 <div class="sui-modal sui-modal-lg">
12 <div
13 role="dialog"
14 id="wpdef-deactivation-survey-modal"
15 class="sui-modal-content wpdef-deactivation-survey-modal"
16 aria-modal="true"
17 aria-labelledby="title-wpdef-deactivation-survey-modal"
18 aria-describedby="desc-wpdef-deactivation-survey-modal"
19 >
20 <div class="sui-box" role="document">
21 <div class="sui-box-header">
22 <h3 class="sui-box-title">
23 <img src="<?php echo esc_url( defender_asset_url( '/assets/img/defender-30.svg' ) ); ?>" width="30" srcset="<?php echo esc_url( defender_asset_url( '/assets/img/defender-64.svg' ) ); ?> 2x" alt="<?php esc_attr_e( 'Defender', 'defender-security' ); ?>" aria-hidden="true" />
24 <?php esc_html_e( 'Deactivate Defender?', 'defender-security' ); ?>
25 </h3>
26 <div class="sui-actions-right">
27 <button type="button" class="sui-button-icon" onclick="window.SUI?.closeModal( true );">
28 <span class="sui-icon-close sui-md" aria-hidden="true"></span>
29 <span class="sui-screen-reader-text"><?php esc_html_e( 'Close this dialog window', 'defender-security' ); ?></span>
30 </button>
31 </div>
32 </div>
33 <div class="sui-box-body">
34 <p class="sui-description">
35 <?php
36 printf(
37 /* translators: %s: Support link */
38 esc_html__( 'Please tell us why. Your feedback helps us improve. %s', 'defender-security' ),
39 $is_pro ? '<a id="wpdef-request-assistance-link" target="_blank" href="' . esc_url( $docs_link ) . '">' . esc_html__( 'Need Help?', 'defender-security' ) . '</a>' : ''
40 );
41 ?>
42 </p>
43 <div class="wpdef-deactivation-field-row">
44 <label for="wpdef-temp-deactivate-field" class="sui-radio wpdef-deactivation-field" data-placeholder="<?php esc_html_e( 'What issue are you debugging? (optional)', 'defender-security' ); ?>">
45 <input
46 type="radio"
47 name="deactivation_reason"
48 id="wpdef-temp-deactivate-field"
49 aria-labelledby="label-wpdef-temp-deactivate-field"
50 value="temp_deactivate"
51 />
52 <span aria-hidden="true"></span>
53 <span id="label-wpdef-temp-deactivate-field"><?php esc_html_e( 'Temporary deactivation for debugging', 'defender-security' ); ?></span>
54 </label>
55 </div>
56
57 <div class="wpdef-deactivation-field-row">
58 <label for="wpdef-not-working-field" class="sui-radio wpdef-deactivation-field" data-placeholder="<?php esc_html_e( 'What issue did you face? (optional)', 'defender-security' ); ?>">
59 <input
60 type="radio"
61 name="deactivation_reason"
62 id="wpdef-not-working-field"
63 aria-labelledby="label-wpdef-not-working-field"
64 value="not_working"
65 />
66 <span aria-hidden="true"></span>
67 <span id="label-wpdef-not-working-field"><?php esc_html_e( "Can't make it work", 'defender-security' ); ?></span>
68 </label>
69 </div>
70
71 <div class="wpdef-deactivation-field-row">
72 <label for="wpdef-breaks-site-field" class="sui-radio wpdef-deactivation-field" data-placeholder="<?php esc_html_e( 'What issue did you face? (optional)', 'defender-security' ); ?>">
73 <input
74 type="radio"
75 name="deactivation_reason"
76 id="wpdef-breaks-site-field"
77 aria-labelledby="label-wpdef-breaks-site-field"
78 value="breaks_site"
79 />
80 <span aria-hidden="true"></span>
81 <span id="label-wpdef-breaks-site-field"><?php esc_html_e( 'Breaks the site or other plugins/services', 'defender-security' ); ?></span>
82 </label>
83 </div>
84
85 <div class="wpdef-deactivation-field-row">
86 <label for="wpdef-expected-beter-field" class="sui-radio wpdef-deactivation-field" data-placeholder="<?php esc_html_e( 'What could we do better? (optional)', 'defender-security' ); ?>">
87 <input
88 type="radio"
89 name="deactivation_reason"
90 id="wpdef-expected-beter-field"
91 aria-labelledby="label-wpdef-expected-beter-field"
92 value="expected_better"
93 />
94 <span aria-hidden="true"></span>
95 <span id="label-wpdef-expected-beter-field"><?php esc_html_e( "Doesn't meet expectations", 'defender-security' ); ?></span>
96 </label>
97 </div>
98
99 <div class="wpdef-deactivation-field-row">
100 <label for="wpdef-found-better-field" class="sui-radio wpdef-deactivation-field" data-placeholder="<?php esc_html_e( 'Which plugin and how is it better? (optional)', 'defender-security' ); ?>">
101 <input
102 type="radio"
103 name="deactivation_reason"
104 id="wpdef-found-better-field"
105 aria-labelledby="label-wpdef-found-better-field"
106 value="found_better"
107 />
108 <span aria-hidden="true"></span>
109 <span id="label-wpdef-found-better-field"><?php esc_html_e( 'Found a better plugin', 'defender-security' ); ?></span>
110 </label>
111 </div>
112
113 <div class="wpdef-deactivation-field-row">
114 <label for="wpdef-not-required-field" class="sui-radio wpdef-deactivation-field" data-placeholder="<?php esc_html_e( 'Please tell us why. (optional)', 'defender-security' ); ?>">
115 <input
116 type="radio"
117 name="deactivation_reason"
118 id="wpdef-not-required-field"
119 aria-labelledby="label-wpdef-not-required-field"
120 value="not_required"
121 />
122 <span aria-hidden="true"></span>
123 <span id="label-wpdef-not-required-field"><?php esc_html_e( 'No longer required', 'defender-security' ); ?></span>
124 </label>
125 </div>
126
127 <div class="wpdef-deactivation-field-row">
128 <label for="wpdef-other-field" class="sui-radio wpdef-deactivation-field" data-placeholder="<?php esc_html_e( 'Please tell us why. (optional)', 'defender-security' ); ?>">
129 <input
130 type="radio"
131 name="deactivation_reason"
132 id="wpdef-other-field"
133 aria-labelledby="label-wpdef-other-field"
134 value="other_issues"
135 />
136 <span aria-hidden="true"></span>
137 <span id="label-wpdef-other-field"><?php esc_html_e( 'Other', 'defender-security' ); ?></span>
138 </label>
139 <div id="wpdef-deactivation-user-message-field" class="sui-hidden">
140 <textarea
141 placeholder="<?php esc_html_e( 'Please tell us why. (optional)', 'defender-security' ); ?>"
142 class="sui-form-control"
143 aria-describedby="description-wpdef-deactivation-user-message"
144 ></textarea>
145 </div>
146 </div>
147 </div>
148 <div class="sui-box-footer">
149 <button type="button" class="sui-button-ghost sui-button wpdef-skip-deactivate-button"><?php esc_html_e( 'Skip & Deactivate', 'defender-security' ); ?></button>
150 <div class="sui-actions-right">
151 <button type="button" class="sui-button-blue sui-button wpdef-submit-deactivate-button" disabled><?php esc_html_e( 'Submit & Deactivate', 'defender-security' ); ?></button>
152 </div>
153 </div>
154 </div>
155 </div>
156 </div>
157 </div>
158 </div>
159