CommonJs.php
3 years ago
ConnectionIcon.php
3 years ago
ManualScheduling.php
2 years ago
SaveSchedulingButton.php
3 years ago
SchedulingHelp.php
2 years ago
SchedulingOptions.php
2 years ago
SchedulingUI.php
2 years ago
ConnectionIcon.php
34 lines
| 1 | <?php |
| 2 | if(!defined('ABSPATH')) { |
| 3 | die(); |
| 4 | } |
| 5 | $scheduling = \Wpae\Scheduling\Scheduling::create(); |
| 6 | ?> |
| 7 | <span class="wpai-no-license" <?php if ($scheduling->checkLicense()) { ?> style="display: none;" <?php } ?> > |
| 8 | |
| 9 | <a href="#" style="z-index: 1000;" class="wpallexport-help help_scheduling" |
| 10 | title="Automatic Scheduling is a paid service from Soflyy. Click for more info."> |
| 11 | |
| 12 | </a> |
| 13 | </span> |
| 14 | |
| 15 | <?php if ($scheduling->checkLicense()) { ?> |
| 16 | <span class="wpai-license"> |
| 17 | <?php if ( $scheduling->checkConnection() ) { |
| 18 | ?> |
| 19 | <span class="wpallexport-help" title="Connection to WP All Export servers is stable and confirmed" |
| 20 | style="background-image: none; width: 20px; height: 20px;"> |
| 21 | <img src="<?php echo esc_url(PMXE_ROOT_URL); ?>/static/img/s-check.png" style="width: 16px;"/> |
| 22 | </span> |
| 23 | <?php |
| 24 | } else { ?> |
| 25 | <img src="<?php echo esc_url(PMXE_ROOT_URL); ?>/static/img/s-exclamation.png" style="width: 16px;"/> |
| 26 | |
| 27 | <?php |
| 28 | } |
| 29 | ?> |
| 30 | </span> |
| 31 | <?php |
| 32 | } |
| 33 | |
| 34 | ?> |