app-widgets
2 weeks ago
emails
2 weeks ago
admin-dashboard-widgets.php
2 weeks ago
chart-circle-failed-attempts-today.php
2 weeks ago
chart-failed-attempts.php
2 weeks ago
mfa-rescue-pdf.php
2 weeks ago
mfa-rescue-popup.php
2 weeks ago
mfa-rescue-prefetch-confirm.php
2 weeks ago
micro-cloud-modal.php
2 weeks ago
notices.php
2 weeks ago
onboarding-popup.php
2 weeks ago
options-page.php
2 weeks ago
tab-dashboard.php
2 weeks ago
tab-debug.php
2 weeks ago
tab-help.php
2 weeks ago
tab-logs-custom.php
2 weeks ago
tab-logs-local.php
2 weeks ago
tab-mfa.php
2 weeks ago
tab-premium.php
2 weeks ago
tab-settings.php
2 weeks ago
tab-logs-custom.php
53 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Login Firewall |
| 4 | * |
| 5 | * @var bool $is_exhausted |
| 6 | * @var bool $is_active_app_custom |
| 7 | * @var string $block_sub_group |
| 8 | * @var string $upgrade_premium_url |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | |
| 13 | if ( ! defined( 'ABSPATH' ) ) exit(); |
| 14 | ?> |
| 15 | |
| 16 | <div id="llar-setting-page-logs__active" class="limit-login-app-dashboard"> |
| 17 | |
| 18 | <?php if ( $is_active_app_custom && $block_sub_group === 'Micro Cloud' && $is_exhausted ) : ?> |
| 19 | |
| 20 | <div id="llar-header-login-custom-message"> |
| 21 | <div class="message-flex"> |
| 22 | <div class="col-first"> |
| 23 | <img src="<?php echo LLA_PLUGIN_URL ?>assets/css/images/micro-cloud-image-min.png"> |
| 24 | </div> |
| 25 | <div class="col-second"> |
| 26 | <?php _e( 'Your Micro Cloud plan has exhausted its requests for the month, which is required to operate the Login Firewall.', 'limit-login-attempts-reloaded' ) ?> |
| 27 | </div> |
| 28 | <div class="col-third"> |
| 29 | <div class="row-first"> |
| 30 | <?php echo sprintf( |
| 31 | __( 'You can <a href="%s" class="link__style_color_inherit llar_bold" target="_blank">Upgrade to Premium</a> to increase requests.', 'limit-login-attempts-reloaded' ), |
| 32 | $upgrade_premium_url ); |
| 33 | ?> |
| 34 | </div> |
| 35 | <div class="row-second"> |
| 36 | <hr><span><?php _e( 'Or', 'limit-login-attempts-reloaded' ) ?></span><hr> |
| 37 | </div> |
| 38 | <div class="row-third"> |
| 39 | <?php _e( 'Switch to the failover to access IP management tools with the free version.', 'limit-login-attempts-reloaded' ) ?> |
| 40 | </div> |
| 41 | </div> |
| 42 | </div> |
| 43 | </div> |
| 44 | |
| 45 | <?php endif; ?> |
| 46 | |
| 47 | <?php include_once( LLA_PLUGIN_DIR.'views/app-widgets/login-attempts.php'); ?> |
| 48 | <?php include_once( LLA_PLUGIN_DIR.'views/app-widgets/active-lockouts.php'); ?> |
| 49 | <?php include_once( LLA_PLUGIN_DIR.'views/app-widgets/event-log.php'); ?> |
| 50 | <?php include_once( LLA_PLUGIN_DIR.'views/app-widgets/country-access-rules.php'); ?> |
| 51 | <?php include_once( LLA_PLUGIN_DIR.'views/app-widgets/acl-rules.php'); ?> |
| 52 | |
| 53 | </div> |