/home/vianto5/.trash/cititower.mx/wp-content/plugins/wordfence/lib
Edit: /home/vianto5/.trash/cititower.mx/wp-content/plugins/wordfence/lib/menu_dashboard.php (28671B)
render();
echo wfView::create('gdpr/banner')->render();
}
?>
__('Wordfence Dashboard', 'wordfence'),
'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_DASHBOARD),
'helpLabelHTML' => wp_kses(__('Learn more about the Dashboard', 'wordfence'), array('span'=>array('class'=>array()))),
'showIcon' => true,
))->render();
?>
-
$firewall,
'scanner' => $scanner,
'dashboard' => $d,
))->render();
?>
-
-
'waf-coverage',
'percentage' => $firewall->overallStatus(),
'activeColor' => ($firewall->firewallMode() == wfFirewall::FIREWALL_MODE_LEARNING ? '#ececec' : null /* automatic */),
'title' => __('Firewall', 'wordfence'),
'subtitle' => ($firewall->firewallMode() == wfFirewall::FIREWALL_MODE_LEARNING ? __('WAF Currently in Learning Mode', 'wordfence') : __('Protection from known and emerging threats', 'wordfence')),
'link' => wfPage::pageURL(wfPage::PAGE_FIREWALL_OPTIONS, wfPage::PAGE_DASHBOARD),
'linkLabel' => __('Manage Firewall', 'wordfence'),
'statusTitle' => __('Firewall Status', 'wordfence'),
'statusList' => $firewall->statusList(),
'statusExtra' => ($firewall->firewallMode() == wfFirewall::FIREWALL_MODE_LEARNING ? wfView::create('waf/status-tooltip-learning-mode')->render() : ''),
'helpLink' => __('https://www.wordfence.com/help/dashboard/#dashboard-status', 'wordfence'),
))->render();
?>
-
'wf-scanner-type',
'percentage' => $scanner->scanTypeStatus(),
'activeColor' => (!$scanner->isEnabled() ? '#ececec' : null /* automatic */),
'title' => __('Scan', 'wordfence'),
'subtitle' => __('Detection of security issues', 'wordfence'),
'link' => wfPage::pageURL(wfPage::PAGE_SCAN_OPTIONS, wfPage::PAGE_DASHBOARD),
'linkLabel' => __('Manage Scan', 'wordfence'),
'statusTitle' => __('Scan Status', 'wordfence'),
'statusList' => $scanner->scanTypeStatusList(),
'helpLink' => __('https://www.wordfence.com/help/dashboard/#dashboard-status', 'wordfence'),
))->render();
?>
-
'wf-premium-alert',
'title' => __('Premium License Conflict', 'wordfence'),
'subtitle' => __('License already in use', 'wordfence'),
'link' => 'https://www.wordfence.com/gnl1manageConflict/manage-wordfence-api-keys/',
'linkLabel' => __('Reset License', 'wordfence'),
'linkNewWindow' => true,
))->render();
?>
'wf-premium-alert',
'title' => __('Premium Protection Disabled', 'wordfence'),
'subtitle' => __('License is expired', 'wordfence'),
'link' => 'https://www.wordfence.com/gnl1renewExpired/manage-wordfence-api-keys/',
'linkLabel' => __('Renew License', 'wordfence'),
'linkNewWindow' => true,
))->render();
?>
'wf-premium-alert',
'title' => __('Premium Protection Disabled', 'wordfence'),
'subtitleHtml' => wp_kses(__('The license you were using has been removed from your account. Please reach out to billing@wordfence.com or create a Premium support case at https://support.wordfence.com/support/tickets (opens in new tab) for more information. Our staff is happy to help.', 'wordfence'), array('a'=>array('href'=>array(), 'target'=>array()), 'span'=>array('class'=>array()))),
'link' => null,
'linkLabel' => null
))->render();
?>
'wf-premium-alert',
'title' => __('Premium License Expiring', 'wordfence'),
'subtitle' => __('Auto-renew is disabled', 'wordfence'),
'link' => 'https://www.wordfence.com/gnl1renewExpiring/manage-wordfence-api-keys/',
'linkLabel' => __('Renew License', 'wordfence'),
'linkNewWindow' => true,
))->render();
?>
'wf-premium-alert',
'title' => $title,
'subtitle' => $subtitle,
'link' => 'https://www.wordfence.com/gnl1renewExpiring/manage-wordfence-api-keys/',
'linkLabel' => __('Update Payment Method', 'wordfence'),
'linkNewWindow' => true,
))->render();
}
else {
$days = floor(((int) wfConfig::get('premiumNextRenew') - time()) / 86400);
if ($days == 0) {
$subtitle = __('License renews today', 'wordfence');
}
else if ($days == 1) {
$subtitle = __('License renews in 1 day', 'wordfence');
}
else {
$subtitle = sprintf(__('License renews in %d days', 'wordfence'), $days);
}
echo wfView::create('dashboard/status-renewing', array(
'id' => 'wf-premium-alert',
'title' => __('Premium License Expiring', 'wordfence'),
'subtitle' => $subtitle,
'link' => 'https://www.wordfence.com/gnl1reviewExpiring/manage-wordfence-api-keys/',
'linkLabel' => __('Review Payment Method', 'wordfence'),
'linkNewWindow' => true,
))->render();
}
?>
isPaidAndCurrent()): ?>
getTypeLabel(true))); ?>
isBelowResponse()): ?>
isBelowCare()): ?>
-
-
'wf-dashboard-option-tools',
'img' => 'tools.svg',
'title' => __('Tools', 'wordfence'),
'subtitle' => __('Live Traffic, Whois Lookup, Import/Export, and Diagnostics', 'wordfence'),
'link' => network_admin_url('admin.php?page=WordfenceTools'),
))->render();
?>
-
'wf-dashboard-option-support',
'img' => 'support.svg',
'title' => __('Help', 'wordfence'),
'subtitle' => __('Find the documentation and help you need', 'wordfence'),
'link' => network_admin_url('admin.php?page=WordfenceSupport'),
))->render();
?>
-
'wf-dashboard-option-options',
'img' => 'options.svg',
'title' => __('Global Options', 'wordfence'),
'subtitle' => __('Manage global options for Wordfence such as alerts, premium status, and more', 'wordfence'),
'link' => network_admin_url('admin.php?page=Wordfence&subpage=global_options'),
))->render();
?>