templates
2 years ago
autoupdate_banner.php
2 years ago
cdn_page.php
2 years ago
customer_support.php
2 years ago
deactivation_popup.php
2 years ago
post_custom_column.php
2 years ago
referral_program_page.php
2 years ago
settings_basic.php
11 months ago
settings_connect.php
3 years ago
settings_view.php
1 year ago
two_black_friday.php
3 years ago
two_header.php
3 years ago
white_label_view.php
2 years ago
two_header.php
38 lines
| 1 | <?php |
| 2 | use TenWebOptimizer\OptimizerUtils; |
| 3 | |
| 4 | $two_incompatible_plugins = OptimizerUtils::get_conflicting_plugins(); |
| 5 | |
| 6 | if (!TENWEB_SO_HOSTED_ON_10WEB && strtolower(TWO_SO_ORGANIZATION_NAME) === '10web') { |
| 7 | ?> |
| 8 | <div class="two-header"> |
| 9 | <img src="<?php echo esc_url(TENWEB_SO_URL); ?>/assets/images/10web_logo.svg" alt="10Web" class="two-header-img" /> |
| 10 | </div> |
| 11 | <?php |
| 12 | } |
| 13 | |
| 14 | if (!empty($two_incompatible_plugins)) { |
| 15 | ?> |
| 16 | <div class="two_incompatible_notice"> |
| 17 | <div class="two_incompatible_notice_title">Some plugins are conflicting with <?php echo esc_html(TWO_SO_ORGANIZATION_NAME); ?> Booster.</div> |
| 18 | <div class="two_incompatible_notice_desc"> |
| 19 | Deactivate these plugins so the Booster can perform website optimization as intended. |
| 20 | Proceeding without deactivation can reduce the efficiency of <?php echo esc_html(TWO_SO_ORGANIZATION_NAME); ?> Booster and cause technical issues. |
| 21 | </div> |
| 22 | <div class="two_incompatible_plugin_list"> |
| 23 | <?php |
| 24 | foreach ($two_incompatible_plugins as $slug => $name) { |
| 25 | ?> |
| 26 | <div class="two_incompatible_plugins"> |
| 27 | <span class="two_incompatible_plugin_name"><?php echo esc_html($name); ?></span> |
| 28 | <span class="two_deactivate_plugin" data-plugin-slug="<?php echo esc_attr($slug); ?>">Deactivate</span> |
| 29 | </div> |
| 30 | |
| 31 | <?php |
| 32 | } ?> |
| 33 | </div> |
| 34 | </div> |
| 35 | <?php |
| 36 | } |
| 37 | ?> |
| 38 |