Repository URL to install this package:
<?php
namespace FSProVendor;
if (!\defined('ABSPATH')) {
exit;
}
?>
<div id="wpdesk_tracker_connect" class="plugin-card">
<div class="message plugin-card-top">
<span class="wpdesk-logo"></span>
<p>
<?php
\printf(\__('Hey %s,', 'flexible-shipping-pro'), $username);
?><br/>
<?php
\_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-pro');
?>
</p>
</div>
<div class="actions plugin-card-bottom">
<a id="wpdesk_tracker_allow_button" href="<?php
echo $allow_url;
?>" class="button button-primary button-allow button-large"><?php
\_e('Allow & Continue →', 'flexible-shipping-pro');
?></a>
<a href="<?php
echo $skip_url;
?>" class="button button-secondary"><?php
\_e('Skip', 'flexible-shipping-pro');
?></a>
<div class="clear"></div>
</div>
<div class="permissions">
<a class="trigger" href="#"><?php
\_e('What permissions are being granted?', 'flexible-shipping-pro');
?></a>
<div class="permissions-details">
<ul>
<li id="permission-site" class="permission site">
<i class="dashicons dashicons-admin-settings"></i>
<div>
<span><?php
\_e('Your Site Overview', 'flexible-shipping-pro');
?></span>
<p><?php
\_e('WP version, PHP info', 'flexible-shipping-pro');
?></p>
</div>
</li>
<li id="permission-events" class="permission events">
<i class="dashicons dashicons-admin-plugins"></i>
<div>
<span><?php
\_e('Plugin Usage', 'flexible-shipping-pro');
?></span>
<p><?php
\_e('Current settings and usage information of WP Desk plugins', 'flexible-shipping-pro');
?></p>
</div>
</li>
<li id="permission-store" class="permission store">
<i class="dashicons dashicons-store"></i>
<div>
<span><?php
\_e('Your Store Overview', 'flexible-shipping-pro');
?></span>
<p><?php
\_e('Anonymized and non-sensitive store usage information', 'flexible-shipping-pro');
?></p>
</div>
</li>
</ul>
<div class="terms">
<a href="<?php
echo $terms_url;
?>" target="_blank"><?php
\_e('Find out more »', 'flexible-shipping-pro');
?></a>
</div>
</div>
</div>
</div>
<script type="text/javascript">
jQuery('.trigger').click(function(e) {
e.preventDefault();
if (jQuery(this).parent().hasClass('open')) {
jQuery(this).parent().removeClass('open')
}
else {
jQuery(this).parent().addClass('open');
}
});
</script>
<?php