flexible-shipping
/
vendor_prefixed
/
wpdesk
/
wp-wpdesk-tracker
/
src
/
views
/
tracker-deactivate.php
tracker-connect.php
1 week ago
tracker-deactivate.php
1 week ago
tracker-notice.php
1 week ago
tracker-opt-out-notice.php
1 week ago
tracker-deactivate.php
114 lines
| 1 | <?php |
| 2 | |
| 3 | namespace FSVendor; |
| 4 | |
| 5 | if (!\defined('ABSPATH')) { |
| 6 | exit; |
| 7 | } |
| 8 | ?> |
| 9 | |
| 10 | <h2><?php |
| 11 | \printf(\esc_html__('You are deactivating %s plugin.', 'flexible-shipping'), \esc_html($plugin_name)); |
| 12 | ?></h2> |
| 13 | |
| 14 | <div class="wpdesk_tracker_deactivate"> |
| 15 | <div class="body"> |
| 16 | <div class="panel" data-panel-id="confirm"><p></p></div> |
| 17 | <div class="panel active" data-panel-id="reasons"> |
| 18 | <h4><strong><?php |
| 19 | \esc_html_e(' If you have a moment, please let us know why you are deactivating plugin (anonymous feedback):', 'flexible-shipping'); |
| 20 | ?></strong></h4> |
| 21 | <ul id="reasons-list"> |
| 22 | <li class="reason"> |
| 23 | <label> |
| 24 | <span> |
| 25 | <input type="radio" name="selected-reason" value="plugin_stopped_working"> |
| 26 | </span> |
| 27 | <span><?php |
| 28 | \esc_html_e('The plugin suddenly stopped working', 'flexible-shipping'); |
| 29 | ?></span> |
| 30 | </label> |
| 31 | </li> |
| 32 | <li class="reason"> |
| 33 | <label> |
| 34 | <span> |
| 35 | <input type="radio" name="selected-reason" value="broke_my_site"> |
| 36 | </span> |
| 37 | <span><?php |
| 38 | \esc_html_e('The plugin broke my site', 'flexible-shipping'); |
| 39 | ?></span> |
| 40 | </label> |
| 41 | </li> |
| 42 | <li class="reason has-input"> |
| 43 | <label> |
| 44 | <span> |
| 45 | <input type="radio" name="selected-reason" value="found_better_plugin"> |
| 46 | </span> |
| 47 | <span><?php |
| 48 | \esc_html_e('I found a better plugin', 'flexible-shipping'); |
| 49 | ?></span> |
| 50 | </label> |
| 51 | <div id="found_better_plugin" class="reason-input"> |
| 52 | <input type="text" name="better_plugin_name" placeholder="<?php |
| 53 | \esc_html_e('What\'s the plugin\'s name?', 'flexible-shipping'); |
| 54 | ?>"> |
| 55 | </div> |
| 56 | </li> |
| 57 | <li class="reason"> |
| 58 | <label> |
| 59 | <span> |
| 60 | <input type="radio" name="selected-reason" value="plugin_for_short_period"> |
| 61 | </span> |
| 62 | <span><?php |
| 63 | \esc_html_e('I only needed the plugin for a short period', 'flexible-shipping'); |
| 64 | ?></span> |
| 65 | </label> |
| 66 | </li> |
| 67 | <li class="reason"> |
| 68 | <label> |
| 69 | <span> |
| 70 | <input type="radio" name="selected-reason" value="no_longer_need"> |
| 71 | </span> |
| 72 | <span><?php |
| 73 | \esc_html_e('I no longer need the plugin', 'flexible-shipping'); |
| 74 | ?></span> |
| 75 | </label> |
| 76 | </li> |
| 77 | <li class="reason"> |
| 78 | <label> |
| 79 | <span> |
| 80 | <input type="radio" name="selected-reason" value="temporary_deactivation"> |
| 81 | </span> |
| 82 | <span><?php |
| 83 | \esc_html_e('It\'s a temporary deactivation. I\'m just debugging an issue.', 'flexible-shipping'); |
| 84 | ?></span> |
| 85 | </label> |
| 86 | </li> |
| 87 | <li class="reason has-input"> |
| 88 | <label> |
| 89 | <span> |
| 90 | <input type="radio" name="selected-reason" value="other"> |
| 91 | </span> |
| 92 | <span><?php |
| 93 | \esc_html_e('Other', 'flexible-shipping'); |
| 94 | ?></span> |
| 95 | </label> |
| 96 | <div id="other" class="reason-input"> |
| 97 | <input type="text" name="other" placeholder="<?php |
| 98 | \esc_attr_e('Kindly tell us the reason so we can improve', 'flexible-shipping'); |
| 99 | ?>"> |
| 100 | </div> |
| 101 | </li> |
| 102 | </ul> |
| 103 | </div> |
| 104 | </div> |
| 105 | <div class="footer"> |
| 106 | <a href="#" class="button button-secondary button-close"><?php |
| 107 | \esc_html_e('Cancel', 'flexible-shipping'); |
| 108 | ?></a> |
| 109 | <a href="#" class="button button-primary button-deactivate allow-deactivate"><?php |
| 110 | \esc_html_e('Skip & Deactivate', 'flexible-shipping'); |
| 111 | ?></a> |
| 112 | </div> |
| 113 | </div><?php |
| 114 |