block-list.php
7 years ago
blocking-create.php
8 years ago
blocking-status.php
8 years ago
country-block-map.php
8 years ago
country-modal.php
8 years ago
option-bypass-cookie.php
8 years ago
option-bypass-redirect.php
8 years ago
options-group-advanced-country.php
7 years ago
blocking-status.php
32 lines
| 1 | <?php |
| 2 | if (!defined('WORDFENCE_VERSION')) { exit; } |
| 3 | /** |
| 4 | * Presents the blocking status. |
| 5 | * |
| 6 | */ |
| 7 | ?> |
| 8 | <ul class="wf-block-list wf-block-list-horizontal wf-blocking-status<?php echo (wfConfig::get('isPaid') ? ' wf-blocking-status-premium' : ''); ?>"> |
| 9 | <li> |
| 10 | <?php |
| 11 | echo wfView::create('common/block-navigation-option', array( |
| 12 | 'id' => 'blocking-all-options', |
| 13 | 'img' => 'options.svg', |
| 14 | 'title' => __('Blocking Options', 'wordfence'), |
| 15 | 'subtitle' => __('Manage global blocking options.', 'wordfence'), |
| 16 | 'link' => network_admin_url('admin.php?page=WordfenceWAF&subpage=blocking_options'), |
| 17 | ))->render(); |
| 18 | ?> |
| 19 | </li> |
| 20 | <?php if (!wfConfig::get('isPaid')): ?> |
| 21 | <li class="wf-flex-horizontal wf-flex-full-width"> |
| 22 | <div class="wf-flex-vertical wf-flex-align-left"> |
| 23 | <h4 class="wf-no-bottom">Upgrade to Premium</h4> |
| 24 | <p class="wf-add-top-smaller">Enable country blocking by upgrading to Premium.</p> |
| 25 | </div> |
| 26 | <div class="wf-flex-horizontal wf-flex-full-width"> |
| 27 | <p class="wf-right"><a class="wf-btn wf-btn-primary wf-btn-callout-subtle" href="https://www.wordfence.com/gnl1blockingUpgrade/wordfence-signup/#premium-order-form" target="_blank" rel="noopener noreferrer"><?php _e('Upgrade to Premium', 'wordfence'); ?></a> <a class="wf-btn wf-btn-callout-subtle wf-btn-default" href="https://www.wordfence.com/gnl1blockingLearn/wordfence-signup/" target="_blank" rel="noopener noreferrer"><?php _e('Learn More', 'wordfence'); ?></a></p> |
| 28 | </div> |
| 29 | </li> |
| 30 | <?php endif; ?> |
| 31 | </ul> |
| 32 |