| Server IP : 192.241.186.36 / Your IP : 216.73.216.164 Web Server : Apache/2.4.29 (Ubuntu) System : Linux webserver7 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 User : root ( 0) PHP Version : 7.4.32 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/carsdaddy/wp-content/plugins/wordfence/views/dashboard/ |
Upload File : |
<?php
if (!defined('WORDFENCE_VERSION')) { exit; }
/**
* Presents the Dashboard Notification Options group.
*
* Expects $stateKey.
*
* @var string $stateKey The key under which the collapse state is stored.
* @var bool $collapseable If defined, specifies whether or not this grouping can be collapsed. Defaults to true.
*/
if (!isset($collapseable)) {
$collapseable = true;
}
?>
<div class="wf-row">
<div class="wf-col-xs-12">
<div class="wf-block<?php if (!$collapseable) { echo ' wf-always-active'; } else { echo (wfPersistenceController::shared()->isActive($stateKey) ? ' wf-active' : ''); } ?>" data-persistence-key="<?php echo esc_attr($stateKey); ?>">
<div class="wf-block-header">
<div class="wf-block-header-content">
<div class="wf-block-title">
<strong><?php esc_html_e('Dashboard Notification Options', 'wordfence'); ?></strong>
</div>
<?php if ($collapseable): ?><div class="wf-block-header-action"><div class="wf-block-header-action-disclosure" role="checkbox" aria-checked="<?php echo (wfPersistenceController::shared()->isActive($stateKey) ? 'true' : 'false'); ?>" tabindex="0"></div></div><?php endif; ?>
</div>
</div>
<div class="wf-block-content">
<ul class="wf-block-list">
<li>
<?php
echo wfView::create('options/option-toggled', array(
'optionName' => 'notification_updatesNeeded',
'enabledValue' => 1,
'disabledValue' => 0,
'value' => wfConfig::get('notification_updatesNeeded') ? 1 : 0,
'title' => __('Updates Needed (Plugin, Theme, or Core)', 'wordfence'),
))->render();
?>
</li>
<?php if (wfConfig::p()): ?>
<li>
<?php
echo wfView::create('options/option-toggled', array(
'optionName' => 'notification_securityAlerts',
'enabledValue' => 1,
'disabledValue' => 0,
'value' => wfConfig::get('notification_securityAlerts') ? 1 : 0,
'title' => __('Security Alerts', 'wordfence'),
'premium' => true,
))->render();
?>
</li>
<li>
<?php
echo wfView::create('options/option-toggled', array(
'optionName' => 'notification_promotions',
'enabledValue' => 1,
'disabledValue' => 0,
'value' => wfConfig::get('notification_promotions') ? 1 : 0,
'title' => __('Promotions', 'wordfence'),
'premium' => true,
))->render();
?>
</li>
<li>
<?php
echo wfView::create('options/option-toggled', array(
'optionName' => 'notification_blogHighlights',
'enabledValue' => 1,
'disabledValue' => 0,
'value' => wfConfig::get('notification_blogHighlights') ? 1 : 0,
'title' => __('Blog Highlights', 'wordfence'),
'premium' => true,
))->render();
?>
</li>
<li>
<?php
echo wfView::create('options/option-toggled', array(
'optionName' => 'notification_productUpdates',
'enabledValue' => 1,
'disabledValue' => 0,
'value' => wfConfig::get('notification_productUpdates') ? 1 : 0,
'title' => __('Product Updates', 'wordfence'),
'premium' => true,
))->render();
?>
</li>
<?php endif; ?>
<li>
<?php
echo wfView::create('options/option-toggled', array(
'optionName' => 'notification_scanStatus',
'enabledValue' => 1,
'disabledValue' => 0,
'value' => wfConfig::get('notification_scanStatus') ? 1 : 0,
'title' => __('Scan Status', 'wordfence'),
))->render();
?>
</li>
<?php if (!wfConfig::p()): ?>
<li>
<ul class="wf-option">
<li class="wf-option-spacer"></li>
<li class="wf-flex-vertical wf-flex-align-left">
<p><?php esc_html_e('Dashboard notifications will also be displayed for Security Alerts, Promotions, Blog Highlights, and Product Updates. These notifications can be disabled by upgrading to a premium license.', 'wordfence'); ?></p>
<p class="wf-no-top"><a class="wf-btn wf-btn-primary wf-btn-callout-subtle" href="https://www.wordfence.com/gnl1dashboardUpgrade/wordfence-signup/#premium-order-form" target="_blank" rel="noopener noreferrer"><?php esc_html_e('Upgrade to Premium', 'wordfence'); ?></a> <a class="wf-btn wf-btn-callout-subtle wf-btn-default" href="https://www.wordfence.com/gnl1dashboardLearn/wordfence-signup/" target="_blank" rel="noopener noreferrer"><?php esc_html_e('Learn More', 'wordfence'); ?><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a></p>
</li>
</ul>
</li>
<?php endif; ?>
</ul>
</div>
</div>
</div>
</div> <!-- end dashboard options -->