deactivation-reason-modal.php
14.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?php
if (!defined("ABSPATH")) {
exit();
}
?>
<a id='wpdDeactivationReasonAnchor' style='display:none;' rel='#wpdDeactivationReason' data-wpd-lity> </a>
<div id='wpdDeactivationReason' style='overflow:auto;background:#FDFDF6;padding:20px;width:600px;max-width:100%;border-radius:6px' class='lity-hide'>
<div class="wpd-deactivation-reason-wrap">
<form method="post" action="" class="wpd-deactivation-reason-form">
<h2 class="wpd-deactivation-reason-modal-title"><?php esc_html_e("Plugin Usage Feedback", "wpdiscuz"); ?></h2>
<div class="wpd-deactivation-reason-desc">
<p class="wpdiscuz-desc">
<strong><?php esc_html_e("Please let us know why you are deactivating. Choosing one of the options below you will help us make it better for you and for other users.", "wpdiscuz"); ?></strong>
</p>
</div>
<div class="wpd-deactivation-reasons">
<div class="wpd-deactivation-reason-item">
<input type="radio" value="I'll reactivate it later" name="deactivation_reason" id="reactivate_later" class="wpd-deactivation-reason"/>
<label for="reactivate_later"><?php esc_html_e("I'll reactivate it later", "wpdiscuz"); ?></label>
</div>
<div class="wpd-deactivation-reason-item">
<input type="radio" value="The plugin is not working" name="deactivation_reason" id="not_working" class="wpd-deactivation-reason"/>
<label for="not_working"><?php esc_html_e("The plugin is not working", "wpdiscuz"); ?></label>
<div class="wpd-deactivation-reason-more-info">
<textarea class="dr_more_info" required="required" name="deactivation_reason_desc" rows="3" placeholder="<?php esc_attr_e("What kind of problems do you have?", "wpdiscuz"); ?>"></textarea>
<div class="wpd_deactivation_feedback">
<p class="wpd-info"><?php _e('If you want us to contact you please click on "I agree to receive email" checkbox, then fill out your email. We\'ll try to do our best to help you with problems.', "wpdiscuz"); ?></p>
<div class="wpddf_left">
<label for="not_working-deactivation_feedback" class="wpd-info"><?php _e("I agree to receive email", "wpdiscuz"); ?>
<input id="not_working-deactivation_feedback" type="checkbox" name="deactivation_feedback_receive_email">
</label>
</div>
<div class="wpddf_right">
<input type="email" name="deactivation_feedback_email" autocomplete="off" placeholder="<?php _e("email for feedback", "wpdiscuz"); ?>">
</div>
</div>
</div>
</div>
<div class="wpd-deactivation-reason-item">
<input type="radio" value="It's not what I was looking for" name="deactivation_reason" id="not_what_i_looking_for" class="wpd-deactivation-reason"/>
<label for="not_what_i_looking_for"><?php esc_html_e("It's not what I was looking for", "wpdiscuz"); ?></label>
</div>
<div class="wpd-deactivation-reason-item">
<input type="radio" value="I couldn't understand how to make it work" name="deactivation_reason" id="how_to_make_it_work" class="wpd-deactivation-reason"/>
<label for="how_to_make_it_work"><?php esc_html_e("I couldn't understand how to make it work", "wpdiscuz"); ?></label>
<div class="wpd-deactivation-reason-more-info">
<textarea class="dr_more_info" required="required" name="deactivation_reason_desc" rows="3" placeholder="<?php esc_attr_e("What type of features you want to be in the plugin?", "wpdiscuz"); ?>"></textarea>
<div class="wpd_deactivation_feedback">
<p class="wpd-info"><?php _e('If you want us to contact you please click on "I agree to receive email" checkbox, then fill out your email. We\'ll try to do our best to help you with problems.', "wpdiscuz"); ?></p>
<div class="wpddf_left">
<label for="how_to_make_it_work-deactivation_feedback" class="wpd-info"><?php _e("I agree to receive email", "wpdiscuz"); ?>
<input id="how_to_make_it_work-deactivation_feedback" type="checkbox" name="deactivation_feedback_receive_email">
</label>
</div>
<div class="wpddf_right">
<input type="email" name="deactivation_feedback_email" autocomplete="off" placeholder="<?php _e("email for feedback", "wpdiscuz"); ?>">
</div>
</div>
</div>
</div>
<div class="wpd-deactivation-reason-item">
<input type="radio" value="The plugin is great, but I need specific features" name="deactivation_reason" id="need_specific_features" class="wpd-deactivation-reason"/>
<label for="need_specific_features"><?php esc_html_e("The plugin is great, but I need specific features", "wpdiscuz"); ?></label>
<div class="wpd-deactivation-reason-more-info">
<textarea class="dr_more_info" required="required" name="deactivation_reason_desc" rows="3" placeholder="<?php esc_attr_e("What type of features you want to be in the plugin?", "wpdiscuz"); ?>"></textarea>
<div class="wpd_deactivation_feedback">
<p class="wpd-info"><?php _e('If you want us to contact you please click on "I agree to receive email" checkbox, then fill out your email. We\'ll try to do our best to help you with problems.', "wpdiscuz"); ?></p>
<div class="wpddf_left">
<label for="need_specific_features-deactivation_feedback" class="wpd-info"><?php _e("I agree to receive email", "wpdiscuz"); ?>
<input id="need_specific_features-deactivation_feedback" type="checkbox" name="deactivation_feedback_receive_email">
</label>
</div>
<div class="wpddf_right">
<input type="email" name="deactivation_feedback_email" autocomplete="off" placeholder="<?php _e("email for feedback", "wpdiscuz"); ?>">
</div>
</div>
</div>
</div>
<div class="wpd-deactivation-reason-item">
<input type="radio" value="I didn't like plugin design" name="deactivation_reason" id="did_not_like_design" class="wpd-deactivation-reason"/>
<label for="did_not_like_design"><?php esc_html_e("I didn't like plugin design", "wpdiscuz"); ?></label>
<div class="wpd-deactivation-reason-more-info">
<textarea class="dr_more_info" required="required" name="deactivation_reason_desc" rows="3" placeholder="<?php esc_attr_e("What part of design you don't like or want to change?", "wpdiscuz"); ?>"></textarea>
<div class="wpd_deactivation_feedback">
<p class="wpd-info"><?php _e('If you want us to contact you please click on "I agree to receive email" checkbox, then fill out your email. We\'ll try to do our best to help you with problems.', "wpdiscuz"); ?></p>
<div class="wpddf_left">
<label for="did_not_like_design-deactivation_feedback" class="wpd-info"><?php _e("I agree to receive email", "wpdiscuz"); ?>
<input id="did_not_like_design-deactivation_feedback" type="checkbox" name="deactivation_feedback_receive_email">
</label>
</div>
<div class="wpddf_right">
<input type="email" name="deactivation_feedback_email" autocomplete="off" placeholder="<?php _e("email for feedback", "wpdiscuz"); ?>">
</div>
</div>
</div>
</div>
<div class="wpd-deactivation-reason-item">
<input type="radio" value="The plugin works very slow" name="deactivation_reason" id="works_very_slow" class="wpd-deactivation-reason"/>
<label for="works_very_slow"><?php esc_html_e("The plugin works very slow", "wpdiscuz"); ?></label>
<div class="wpd-deactivation-reason-more-info">
<textarea class="dr_more_info" required="required" name="deactivation_reason_desc" rows="3" placeholder="<?php esc_attr_e("Could you please describe which features of the plugin slows down your website?", "wpdiscuz"); ?>"></textarea>
<div class="wpd_deactivation_feedback">
<p class="wpd-info"><?php _e('If you want us to contact you please click on "I agree to receive email" checkbox, then fill out your email. We\'ll try to do our best to help you with problems.', "wpdiscuz"); ?></p>
<div class="wpddf_left">
<label for="works_very_slow-deactivation_feedback" class="wpd-info"><?php _e("I agree to receive email", "wpdiscuz"); ?>
<input id="works_very_slow-deactivation_feedback" type="checkbox" name="deactivation_feedback_receive_email">
</label>
</div>
<div class="wpddf_right">
<input type="email" name="deactivation_feedback_email" autocomplete="off" placeholder="<?php _e("email for feedback", "wpdiscuz"); ?>">
</div>
</div>
</div>
</div>
<div class="wpd-deactivation-reason-item">
<input type="radio" value="I found a better plugin" name="deactivation_reason" id="found_better" class="wpd-deactivation-reason"/>
<label for="found_better"><?php esc_html_e("I found a better plugin", "wpdiscuz"); ?></label>
<div class="wpd-deactivation-reason-more-info">
<textarea class="dr_more_info" required="required" name="deactivation_reason_desc" rows="3" placeholder="<?php esc_attr_e("Please provide a plugin name or URL", "wpdiscuz"); ?>"></textarea>
<div class="wpd_deactivation_feedback">
<p class="wpd-info"><?php _e('If you want us to contact you please click on "I agree to receive email" checkbox, then fill out your email. We\'ll try to do our best to help you with problems.', "wpdiscuz"); ?></p>
<div class="wpddf_left">
<label for="found_better-deactivation_feedback" class="wpd-info"><?php _e("I agree to receive email", "wpdiscuz"); ?>
<input id="found_better-deactivation_feedback" type="checkbox" name="deactivation_feedback_receive_email">
</label>
</div>
<div class="wpddf_right">
<input type="email" name="deactivation_feedback_email" autocomplete="off" placeholder="<?php _e("email for feedback", "wpdiscuz"); ?>">
</div>
</div>
</div>
</div>
<div class="wpd-deactivation-reason-item">
<input type="radio" value="Other" name="deactivation_reason" id="other" class="wpd-deactivation-reason"/>
<label for="other"><?php esc_html_e("Other", "wpdiscuz"); ?></label>
<div class="wpd-deactivation-reason-more-info">
<textarea class="dr_more_info" name="deactivation_reason_desc" rows="3" placeholder="<?php esc_html_e("Please provide more information", "wpdiscuz"); ?>"></textarea>
<div class="wpd_deactivation_feedback">
<p class="wpd-info"><?php _e('If you want us to contact you please click on "I agree to receive email" checkbox, then fill out your email. We\'ll try to do our best to help you with problems.', "wpdiscuz"); ?></p>
<div class="wpddf_left">
<label for="other-deactivation_feedback" class="wpd-info"><?php _e("I agree to receive email", "wpdiscuz"); ?>
<input id="other-deactivation_feedback" type="checkbox" name="deactivation_feedback_receive_email">
</label>
</div>
<div class="wpddf_right">
<input type="email" name="deactivation_feedback_email" autocomplete="off" placeholder="<?php _e("email for feedback", "wpdiscuz"); ?>">
</div>
</div>
</div>
</div>
</div>
<div class="wpd-deactivation-reasons-actions">
<button type="button" class="button button-secondary wpd-dismiss wpd-deactivate"><?php esc_html_e("Dismiss and never show again", "wpdiscuz"); ?></button>
<button type="button" class="button button-primary wpd-submit wpd-deactivate"><?php esc_html_e("Submit & Deactivate"); ?><i class="fas fa-pulse fa-spinner wpd-loading wpdiscuz-hidden"></i></button>
</div>
</form>
<h2 class="wpdiscuz-thankyou wpdiscuz-hidden"><?php esc_html_e("Thank you for your feedback!", "wpdiscuz"); ?></h2>
</div>
</div>