ads
3 months ago
groups
1 week ago
metaboxes
1 year ago
placements
2 months ago
screens
3 months ago
settings
1 year ago
support
2 months ago
tables
1 week ago
tools
1 week ago
upgrades
1 year ago
widgets
1 week ago
bulk-edit.php
3 months ago
feedback-disable.php
1 year ago
header-tabs.php
3 months ago
header.php
3 months ago
index.php
2 years ago
manual-link.php
1 year ago
page-bulk-edit.php
1 year ago
page-quick-edit.php
1 year ago
quick-edit.php
2 months ago
screen-options.php
3 months ago
table-views-list.php
3 months ago
welcome-box.php
1 year ago
feedback-disable.php
92 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin deactivation feedback popup. |
| 4 | * |
| 5 | * @package AdvancedAds |
| 6 | * @author Advanced Ads <info@wpadvancedads.com> |
| 7 | * @since 1.47.0 |
| 8 | */ |
| 9 | |
| 10 | ?> |
| 11 | <div id="advanced-ads-feedback-overlay" style="display: none;"> |
| 12 | <div id="advanced-ads-feedback-content"> |
| 13 | <span id="advanced-ads-feedback-overlay-close-button">✕</span> |
| 14 | <form action="" method="post"> |
| 15 | <p> |
| 16 | <strong><?php esc_html_e( 'Why did you decide to disable Advanced Ads?', 'advanced-ads' ); ?></strong> |
| 17 | </p> |
| 18 | <ul> |
| 19 | <li class="advanced_ads_disable_help"> |
| 20 | <label> |
| 21 | <input type="radio" name="advanced_ads_disable_reason" value="get help" checked="checked"/><?php esc_html_e( 'I have a problem, a question or need help.', 'advanced-ads' ); ?> |
| 22 | </label> |
| 23 | </li> |
| 24 | <li> |
| 25 | <textarea class="advanced_ads_disable_help_text" name="advanced_ads_disable_text[]" placeholder="<?php esc_attr_e( 'Please let us know how we can help', 'advanced-ads' ); ?>"></textarea> |
| 26 | </li> |
| 27 | <?php if ( $email ) : ?> |
| 28 | <li class="advanced_ads_disable_reply"> |
| 29 | <label> |
| 30 | <?php esc_html_e( 'Send me free help to ', 'advanced-ads' ); ?> |
| 31 | <input type="email" name="advanced_ads_disable_reply_email" value="<?php echo esc_attr( $email ); ?>"/> |
| 32 | </label> |
| 33 | </li> |
| 34 | <?php endif; ?> |
| 35 | |
| 36 | <li> |
| 37 | <label> |
| 38 | <input type="radio" name="advanced_ads_disable_reason" value="ads not showing up"/><?php esc_html_e( 'Ads are not showing up', 'advanced-ads' ); ?> |
| 39 | </label> |
| 40 | </li> |
| 41 | <li> |
| 42 | <label> |
| 43 | <input type="radio" name="advanced_ads_disable_reason" value="temporary"/><?php esc_html_e( 'It is only temporary', 'advanced-ads' ); ?> |
| 44 | </label> |
| 45 | </li> |
| 46 | <li> |
| 47 | <label> |
| 48 | <input type="radio" name="advanced_ads_disable_reason" value="missing feature"/><?php esc_html_e( 'I miss a feature', 'advanced-ads' ); ?> |
| 49 | </label> |
| 50 | </li> |
| 51 | <li> |
| 52 | <input type="text" name="advanced_ads_disable_text[]" value="" placeholder="<?php esc_html_e( 'Which one?', 'advanced-ads' ); ?>"/> |
| 53 | </li> |
| 54 | <li> |
| 55 | <label> |
| 56 | <input type="radio" name="advanced_ads_disable_reason" value="stopped showing ads"/><?php esc_html_e( 'I stopped using ads on my site.', 'advanced-ads' ); ?> |
| 57 | </label> |
| 58 | </li> |
| 59 | <li> |
| 60 | <label> |
| 61 | <input type="radio" name="advanced_ads_disable_reason" value="other plugin"/><?php esc_html_e( 'I switched to another plugin', 'advanced-ads' ); ?> |
| 62 | </label> |
| 63 | </li> |
| 64 | </ul> |
| 65 | <?php if ( $from ) : ?> |
| 66 | <input type="hidden" name="advanced_ads_disable_from" value="<?php echo esc_attr( $from ); ?>"/> |
| 67 | <?php endif; ?> |
| 68 | <input class="advanced-ads-feedback-submit button button-primary" type="submit" name="advanced_ads_disable_submit" value="<?php esc_attr_e( 'Send feedback & deactivate', 'advanced-ads' ); ?>"/> |
| 69 | <input class="advanced-ads-feedback-not-deactivate advanced-ads-feedback-submit button" type="submit" name="advanced_ads_keep_submit" value="<?php esc_attr_e( 'Send feedback', 'advanced-ads' ); ?>"> |
| 70 | <?php wp_nonce_field( 'advanced_ads_disable_form', 'advanced_ads_disable_form_nonce' ); ?> |
| 71 | <a class="advanced-ads-feedback-only-deactivate" href="#"><?php esc_html_e( 'Only Deactivate', 'advanced-ads' ); ?></a> |
| 72 | </form> |
| 73 | <div id="advanced-ads-feedback-after-submit"> |
| 74 | <h2 id="advanced-ads-feedback-after-submit-waiting" style="display: none"> |
| 75 | <?php esc_html_e( 'Thanks for submitting your feedback. I will reply within 24 hours on working days.', 'advanced-ads' ); ?> |
| 76 | </h2> |
| 77 | <h2 id="advanced-ads-feedback-after-submit-goodbye" style="display: none"> |
| 78 | <?php |
| 79 | printf( |
| 80 | /* translators: %s is the title of the website. */ |
| 81 | wp_kses_post( __( 'All the best to you and <em>%s</em>.', 'advanced-ads' ) ), |
| 82 | esc_html( get_bloginfo( 'name' ) ) |
| 83 | ); |
| 84 | ?> |
| 85 | </h2> |
| 86 | <p id="advanced-ads-feedback-after-submit-disabling-plugin" style="display: none"> |
| 87 | <?php esc_html_e( 'Disabling the plugin now…', 'advanced-ads' ); ?> |
| 88 | </p> |
| 89 | </div> |
| 90 | </div> |
| 91 | </div> |
| 92 |