?
Current Path : /home1/savoy/public_html/wp-content/plugins/wordfence/lib/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/wp-content/plugins/wordfence/lib/menu_tools.php |
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * @var string $subpage * @var string $content */ ?> <?php if (!wfOnboardingController::shouldShowAttempt3() && wfConfig::get('touppPromptNeeded')) { echo wfView::create('gdpr/disabled-overlay')->render(); echo wfView::create('gdpr/banner')->render(); } ?> <div class="wrap wordfence"> <div class="wf-container-fluid"> <?php $tabsArray = array(); if (wfCredentialsController::allowLegacy2FA()) { $tabsArray[] = array('twofactor', __('Two-Factor Authentication', 'wordfence')); } $tabsArray[] = array('livetraffic', __('Live Traffic', 'wordfence')); $tabsArray[] = array('auditlog', __('Audit Log', 'wordfence')); $tabsArray[] = array('whois', __('Whois Lookup', 'wordfence')); $tabsArray[] = array('importexport', __('Import/Export Options', 'wordfence')); $tabsArray[] = array('diagnostics', __('Diagnostics', 'wordfence')); $tabs = array(); foreach ($tabsArray as $tab) { list($tabID, $tabLabel) = $tab; $tabs[] = new wfTab($tabID, network_admin_url('admin.php?page=WordfenceTools&subpage=' . rawurlencode($tabID)), $tabLabel, $tabLabel, $subpage === $tabID); } echo wfView::create('common/page-fixed-tabbar', array( 'tabs' => $tabs, ))->render(); ?> <div class="wf-row"> <div class="<?php echo wfStyle::contentClasses(); ?>"> <div class="wf-tab-content wf-active"> <?php echo $content ?> </div> </div> <!-- end content block --> </div> <!-- end row --> </div> <!-- end container --> </div>