flexible-shipping
/
vendor_prefixed
/
wpdesk
/
wp-wpdesk-tracker
/
src
/
views
/
tracker-connect.php
tracker-connect.php
2 weeks ago
tracker-deactivate.php
2 weeks ago
tracker-notice.php
2 weeks ago
tracker-opt-out-notice.php
2 weeks ago
tracker-connect.php
90 lines
| 1 | <?php |
| 2 | |
| 3 | namespace FSVendor; |
| 4 | |
| 5 | if (!\defined('ABSPATH')) { |
| 6 | exit; |
| 7 | } |
| 8 | ?> |
| 9 | <div id="wpdesk_tracker_connect" class="plugin-card"> |
| 10 | <div class="message plugin-card-top"> |
| 11 | <span class="wpdesk-logo"></span> |
| 12 | |
| 13 | <p> |
| 14 | <?php |
| 15 | \printf(\esc_html__('Hey %s,', 'flexible-shipping'), \esc_html($username)); |
| 16 | ?><br/> |
| 17 | <?php |
| 18 | \esc_html_e('Please help us improve our plugins! If you opt-in, we will collect some non-sensitive data and usage information anonymously. If you skip this, that\'s okay! All plugins will work just fine.', 'flexible-shipping'); |
| 19 | ?> |
| 20 | </p> |
| 21 | </div> |
| 22 | |
| 23 | <div class="actions plugin-card-bottom"> |
| 24 | <a id="wpdesk_tracker_allow_button" href="<?php |
| 25 | echo \esc_url($allow_url); |
| 26 | ?>" class="button button-primary button-allow button-large"><?php |
| 27 | \esc_html_e('Allow & Continue →', 'flexible-shipping'); |
| 28 | ?></a> |
| 29 | <a href="<?php |
| 30 | echo \esc_url($skip_url); |
| 31 | ?>" class="button button-secondary"><?php |
| 32 | \esc_html_e('Skip', 'flexible-shipping'); |
| 33 | ?></a> |
| 34 | <div class="clear"></div> |
| 35 | </div> |
| 36 | |
| 37 | <div class="permissions"> |
| 38 | <a class="trigger" href="#"><?php |
| 39 | \esc_html_e('What permissions are being granted?', 'flexible-shipping'); |
| 40 | ?></a> |
| 41 | |
| 42 | <div class="permissions-details"> |
| 43 | <ul> |
| 44 | <li id="permission-site" class="permission site"> |
| 45 | <i class="dashicons dashicons-admin-settings"></i> |
| 46 | <div> |
| 47 | <span><?php |
| 48 | \esc_html_e('Your Site Overview', 'flexible-shipping'); |
| 49 | ?></span> |
| 50 | <p><?php |
| 51 | \esc_html_e('WP version, PHP info', 'flexible-shipping'); |
| 52 | ?></p> |
| 53 | </div> |
| 54 | </li> |
| 55 | <li id="permission-events" class="permission events"> |
| 56 | <i class="dashicons dashicons-admin-plugins"></i> |
| 57 | <div> |
| 58 | <span><?php |
| 59 | \esc_html_e('Plugin Usage', 'flexible-shipping'); |
| 60 | ?></span> |
| 61 | <p><?php |
| 62 | \esc_html_e('Current settings and usage information of WP Desk plugins', 'flexible-shipping'); |
| 63 | ?></p> |
| 64 | </div> |
| 65 | </li> |
| 66 | <li id="permission-store" class="permission store"> |
| 67 | <i class="dashicons dashicons-store"></i> |
| 68 | <div> |
| 69 | <span><?php |
| 70 | \esc_html_e('Your Store Overview', 'flexible-shipping'); |
| 71 | ?></span> |
| 72 | <p><?php |
| 73 | \esc_html_e('Anonymized and non-sensitive store usage information', 'flexible-shipping'); |
| 74 | ?></p> |
| 75 | </div> |
| 76 | </li> |
| 77 | </ul> |
| 78 | |
| 79 | <div class="terms"> |
| 80 | <a href="<?php |
| 81 | echo \esc_url($terms_url); |
| 82 | ?>" target="_blank"><?php |
| 83 | \esc_html_e('Find out more »', 'flexible-shipping'); |
| 84 | ?></a> |
| 85 | </div> |
| 86 | </div> |
| 87 | </div> |
| 88 | </div> |
| 89 | <?php |
| 90 |