Current Path: > home > transcarter > public_html > wp-content > > plugins > wordfence > > > > views > options
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
block-all-options-controls.php | File | 7376 bytes | July 17 2025 21:05:48. | |
block-controls.php | File | 5462 bytes | July 17 2025 21:05:48. | |
option-label.php | File | 1340 bytes | July 17 2025 21:05:48. | |
option-select.php | File | 2523 bytes | July 17 2025 21:05:48. | |
option-switch.php | File | 3339 bytes | July 17 2025 21:05:48. | |
option-text.php | File | 2472 bytes | July 17 2025 21:05:48. | |
option-textarea.php | File | 3245 bytes | July 17 2025 21:05:48. | |
option-toggled-boolean-switch.php | File | 2971 bytes | July 17 2025 21:05:48. | |
option-toggled-multiple.php | File | 3014 bytes | July 17 2025 21:05:48. | |
option-toggled-segmented.php | File | 3030 bytes | July 17 2025 21:05:48. | |
option-toggled-select.php | File | 3760 bytes | July 17 2025 21:05:48. | |
option-toggled-sub.php | File | 5169 bytes | July 17 2025 21:05:48. | |
option-toggled-textarea.php | File | 3423 bytes | July 17 2025 21:05:48. | |
option-toggled.php | File | 3106 bytes | July 17 2025 21:05:48. | |
option-token.php | File | 2463 bytes | July 17 2025 21:05:48. | |
options-title.php | File | 2853 bytes | July 17 2025 21:05:48. |
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents a boolean option with a checkbox toggle control and a sub-option toggle. * * Expects $optionName, $enabledValue, $disabledValue, $value, and $title to be defined for the primary option. $helpLink may also be defined. * Expects $subOptionName, $subEnabledValue, $subDisabledValue, $subValue, and $subTitle to be defined for the sub-option. $subHelpLink may also be defined. * * @var string $optionName The option name. * @var string $enabledValue The value to save in $optionName if the toggle is enabled. * @var string $disabledValue The value to save in $optionName if the toggle is disabled. * @var string $value The current value of $optionName. * @var string $title The title shown for the option. * @var string $htmlTitle The unescaped title shown for the option. * @var string $helpLink If defined, the link to the corresponding external help page. * @var bool $premium If defined, the option will be tagged as premium only and not allow its value to change for free users. * * @var string $subOptionName The sub-option name. * @var string $subEnabledValue The value to save in $subOptionName if the toggle is enabled. * @var string $subDisabledValue The value to save in $subOptionName if the toggle is disabled. * @var string $subValue The current value of $subOptionName. * @var string $subTitle The title shown for the sub-option. * @var string $subHtmlTitle The unescaped title shown for the sub-option. * @var string $subHelpLink If defined, the link to the corresponding external help page for the sub-option. * @var bool $subPremium If defined, the sub-option will be tagged as premium only and not allow its value to change for free users. */ if (isset($title) && !isset($htmlTitle)) { $htmlTitle = esc_html($title); } if (isset($subTitle) && !isset($subHtmlTitle)) { $subHtmlTitle = esc_html($subTitle); } $id = 'wf-option-' . preg_replace('/[^a-z0-9]/i', '-', $optionName); $subID = 'wf-option-' . preg_replace('/[^a-z0-9]/i', '-', $subOptionName); ?> <ul class="wf-flex-vertical wf-flex-full-width"> <li> <ul id="<?php echo esc_attr($id); ?>" class="wf-option wf-option-toggled<?php if (!wfConfig::p() && isset($premium) && $premium) { echo ' wf-option-premium'; } ?>" data-option="<?php echo esc_attr($optionName); ?>" data-enabled-value="<?php echo esc_attr($enabledValue); ?>" data-disabled-value="<?php echo esc_attr($disabledValue); ?>" data-original-value="<?php echo esc_attr($value == $enabledValue ? $enabledValue : $disabledValue); ?>"> <li class="wf-option-checkbox<?php echo ($value == $enabledValue ? ' wf-checked' : ''); ?>" role="checkbox" aria-checked="<?php echo ($value == $enabledValue ? 'true' : 'false'); ?>" tabindex="0" aria-labelledby="<?php echo esc_attr($id); ?>-label"><i class="wf-ion-ios-checkmark-empty" aria-hidden="true"></i></li> <li class="wf-option-title"> <span id="<?php echo esc_attr($id); ?>-label"><?php echo $htmlTitle; ?></span><?php if (!wfConfig::p() && isset($premium) && $premium) { echo ' <a href="https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/" target="_blank" rel="noopener noreferrer" class="wf-premium-link">' . esc_html__('Premium Feature', 'wordfence') . '</a>'; } ?><?php if (isset($helpLink)) { echo ' <a href="' . esc_attr($helpLink) . '" target="_blank" rel="noopener noreferrer" class="wf-inline-help"><i class="wf-fa wf-fa-question-circle-o" aria-hidden="true"></i><span class="screen-reader-text"> (' . esc_html__('opens in new tab', 'wordfence') . ')</span></a>'; } ?> </li> </ul> </li> <li class="wf-option-sub"> <ul id="<?php echo esc_attr($subID); ?>" class="wf-option wf-option-toggled<?php if (!wfConfig::p() && isset($subPremium) && $subPremium) { echo ' wf-option-premium'; } ?>" data-option="<?php echo esc_attr($subOptionName); ?>" data-enabled-value="<?php echo esc_attr($subEnabledValue); ?>" data-disabled-value="<?php echo esc_attr($subDisabledValue); ?>" data-original-value="<?php echo esc_attr($subValue == $subEnabledValue ? $subEnabledValue : $subDisabledValue); ?>"> <li class="wf-option-checkbox<?php echo ($subValue == $subEnabledValue ? ' wf-checked' : ''); ?>" role="checkbox" aria-checked="<?php echo ($subValue == $subEnabledValue ? 'true' : 'false'); ?>" tabindex="0" aria-labelledby="<?php echo esc_attr($subID); ?>-label"><i class="wf-ion-ios-checkmark-empty" aria-hidden="true"></i></li> <li class="wf-option-title"> <span id="<?php echo esc_attr($subID); ?>-label"><?php echo $subHtmlTitle; ?></span><?php if (!wfConfig::p() && isset($subPremium) && $subPremium) { echo ' <a href="https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/" target="_blank" rel="noopener noreferrer" class="wf-premium-link">' . esc_html__('Premium Feature', 'wordfence') . '</a>'; } ?><?php if (isset($subHelpLink)) { echo ' <a href="' . esc_attr($subHelpLink) . '" target="_blank" rel="noopener noreferrer" class="wf-inline-help"><i class="wf-fa wf-fa-question-circle-o" aria-hidden="true"></i><span class="screen-reader-text"> (' . esc_html__('opens in new tab', 'wordfence') . ')</span></a>'; } ?> </li> </ul> </li> </ul>
SILENT KILLER Tool