本文整理汇总了PHP中wfConfig::getHTML方法的典型用法代码示例。如果您正苦于以下问题:PHP wfConfig::getHTML方法的具体用法?PHP wfConfig::getHTML怎么用?PHP wfConfig::getHTML使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类wfConfig
的用法示例。
在下文中一共展示了wfConfig::getHTML方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
target="_blank" class="wfhelp"></a></th>
<td><input type="checkbox" id="scansEnabled_fileContents" class="wfConfigElem"
name="scansEnabled_fileContents"
value="1" <?php
$w->cb('scansEnabled_fileContents');
?>
/>
<a href="#add-more-rules" class="do-show" data-selector="#scan_include_extra">+ Add additional signatures</a>
</td>
</tr>
<tr class="hidden" id="scan_include_extra">
<th style="vertical-align: top;">Additional scan signatures</th>
<td><textarea class="wfConfigElement" cols="40" rows="4"
name="scan_include_extra"><?php
echo $w->getHTML('scan_include_extra');
?>
</textarea>
</td>
</tr>
<tr>
<th>Scan posts for known dangerous URLs and suspicious content<a
href="http://docs.wordfence.com/en/Wordfence_options#Scan_posts_for_known_dangerous_URLs_and_suspicious_content"
target="_blank" class="wfhelp"></a></th>
<td><input type="checkbox" id="scansEnabled_posts" class="wfConfigElem" name="scansEnabled_posts"
value="1" <?php
$w->cb('scansEnabled_posts');
?>
/></td>
</tr>
<tr>
示例2:
class="wfhelp"></a></h3>
</td>
</tr>
<tr>
<th>Don't log signed-in users with publishing access:</th>
<td><input type="checkbox" id="liveTraf_ignorePublishers" name="liveTraf_ignorePublishers"
value="1" <?php
$w->cb('liveTraf_ignorePublishers');
?>
/></td>
</tr>
<tr>
<th>List of comma separated usernames to ignore:</th>
<td><input type="text" name="liveTraf_ignoreUsers" id="liveTraf_ignoreUsers"
value="<?php
echo $w->getHTML('liveTraf_ignoreUsers');
?>
"/></td>
</tr>
<tr>
<th>List of comma separated IP addresses to ignore:</th>
<td><input type="text" name="liveTraf_ignoreIPs" id="liveTraf_ignoreIPs"
value="<?php
echo $w->getHTML('liveTraf_ignoreIPs');
?>
"/></td>
</tr>
<tr>
<th>Browser user-agent to ignore:</th>
<td><input type="text" name="liveTraf_ignoreUA" id="liveTraf_ignoreUA"
value="<?php
示例3:
target="_blank" class="wfhelp"></a></th>
<td><input type="checkbox" id="scansEnabled_highSense" class="wfConfigElem"
name="scansEnabled_highSense" value="1" <?php
$w->cb('scansEnabled_highSense');
?>
/>
</td>
</tr>
<tr>
<th>Exclude files from scan that match these wildcard patterns. (One per line).<a
href="http://docs.wordfence.com/en/Wordfence_options#Exclude_files_from_scan_that_match_these_wildcard_patterns."
target="_blank" class="wfhelp"></a></th>
<td>
<textarea id="scan_exclude" class="wfConfigElem" cols="40" rows="4"
name="scan_exclude"><?php
echo wfUtils::cleanupOneEntryPerLine($w->getHTML('scan_exclude'));
?>
</textarea>
</td>
</tr>
<tr>
<td colspan="2">
<div class="wfMarker" id="wfMarkerFirewallRules"></div>
<h3 class="wfConfigHeading">Firewall Rules<a
href="http://docs.wordfence.com/en/Wordfence_options#Firewall_Rules" target="_blank"
class="wfhelp"></a></h3>
</td>
</tr>
<tr>
<th>Immediately block fake Google crawlers:<a
href="http://docs.wordfence.com/en/Wordfence_options#Immediately_block_fake_Google_crawlers:"
示例4: if
}
?>
<tr><th>Alert on critical problems</th><td><input type="checkbox" id="alertOn_critical" class="wfConfigElem" name="alertOn_critical" value="1" <?php $w->cb('alertOn_critical'); ?>/></td></tr>
<tr><th>Alert on warnings</th><td><input type="checkbox" id="alertOn_warnings" class="wfConfigElem" name="alertOn_warnings" value="1" <?php $w->cb('alertOn_warnings'); ?>/></td></tr>
<tr><th>Alert when an IP address is blocked</th><td><input type="checkbox" id="alertOn_block" class="wfConfigElem" name="alertOn_block" value="1" <?php $w->cb('alertOn_block'); ?>/></td></tr>
<tr><th>Alert when someone is locked out from login</th><td><input type="checkbox" id="alertOn_loginLockout" class="wfConfigElem" name="alertOn_loginLockout" value="1" <?php $w->cb('alertOn_loginLockout'); ?>/></td></tr>
<tr><th>Alert when the "lost password" form is used for a valid user</th><td><input type="checkbox" id="alertOn_lostPasswdForm" class="wfConfigElem" name="alertOn_lostPasswdForm" value="1" <?php $w->cb('alertOn_lostPasswdForm'); ?>/></td></tr>
<tr><th>Alert me when someone with administrator access signs in</th><td><input type="checkbox" id="alertOn_adminLogin" class="wfConfigElem" name="alertOn_adminLogin" value="1" <?php $w->cb('alertOn_adminLogin'); ?>/></td></tr>
<tr><th>Alert me when a non-admin user signs in</th><td><input type="checkbox" id="alertOn_nonAdminLogin" class="wfConfigElem" name="alertOn_nonAdminLogin" value="1" <?php $w->cb('alertOn_nonAdminLogin'); ?>/></td></tr>
<tr><th>Maximum email alerts to send per hour</th><td> <input type="text" id="alert_maxHourly" name="alert_maxHourly" value="<?php $w->f('alert_maxHourly'); ?>" size="4" />0 or empty means unlimited alerts will be sent.</td></tr>
<tr><td colspan="2">
<div class="wfMarker" id="wfMarkerLiveTrafficOptions"></div>
<h3 class="wfConfigHeading">Live Traffic View</h3>
</td></tr>
<tr><th>Don't log signed-in users with publishing access:</th><td><input type="checkbox" id="liveTraf_ignorePublishers" name="liveTraf_ignorePublishers" value="1" <?php $w->cb('liveTraf_ignorePublishers'); ?> /></td></tr>
<tr><th>List of comma separated usernames to ignore:</th><td><input type="text" name="liveTraf_ignoreUsers" id="liveTraf_ignoreUsers" value="<?php echo $w->getHTML('liveTraf_ignoreUsers'); ?>" /></td></tr>
<tr><th>List of comma separated IP addresses to ignore:</th><td><input type="text" name="liveTraf_ignoreIPs" id="liveTraf_ignoreIPs" value="<?php echo $w->getHTML('liveTraf_ignoreIPs'); ?>" /></td></tr>
<tr><th>Browser user-agent to ignore:</th><td><input type="text" name="liveTraf_ignoreUA" id="liveTraf_ignoreUA" value="<?php echo $w->getHTML('liveTraf_ignoreUA'); ?>" /></td></tr>
<tr><td colspan="2">
<div class="wfMarker" id="wfMarkerScansToInclude"></div>
<h3 class="wfConfigHeading">Scans to include</h3></td></tr>
<?php if(wfConfig::get('isPaid')){ ?>
<tr><th>Scan public facing site for vulnerabilities?</th><td><input type="checkbox" id="scansEnabled_public" class="wfConfigElem" name="scansEnabled_public" value="1" <?php $w->cb('scansEnabled_public'); ?></td></tr>
<?php } else { ?>
<tr><th style="color: #F00;">Scan public facing site for vulnerabilities? (<a href="https://www.wordfence.com/wordfence-signup/" target="_blank">Paid members only</a>)</th><td><input type="checkbox" id="scansEnabled_public" class="wfConfigElem" name="scansEnabled_public" value="1" DISABLED ?></td></tr>
<?php } ?>
<tr><th>Scan core files against repository versions for changes</th><td><input type="checkbox" id="scansEnabled_core" class="wfConfigElem" name="scansEnabled_core" value="1" <?php $w->cb('scansEnabled_core'); ?>/></td></tr>
<tr><th>Scan theme files against repository versions for changes</th><td><input type="checkbox" id="scansEnabled_themes" class="wfConfigElem" name="scansEnabled_themes" value="1" <?php $w->cb('scansEnabled_themes'); ?>/></td></tr>
<tr><th>Scan plugin files against repository versions for changes</th><td><input type="checkbox" id="scansEnabled_plugins" class="wfConfigElem" name="scansEnabled_plugins" value="1" <?php $w->cb('scansEnabled_plugins'); ?>/></td></tr>
<tr><th>Scan for signatures of known malicious files</th><td><input type="checkbox" id="scansEnabled_malware" class="wfConfigElem" name="scansEnabled_malware" value="1" <?php $w->cb('scansEnabled_malware'); ?>/></td></tr>
示例5:
?>
/></td></tr>
<tr><th>Maximum email alerts to send per hour</th><td> <input type="text" id="alert_maxHourly" name="alert_maxHourly" value="<?php
$w->f('alert_maxHourly');
?>
" size="4" />0 or empty means unlimited alerts will be sent.</td></tr>
<tr><td colspan="2">
<div class="wfMarker" id="wfMarkerLiveTrafficOptions"></div>
<h3 class="wfConfigHeading">Live Traffic View</h3>
</td></tr>
<tr><th>Don't log signed-in users with publishing access:</th><td><input type="checkbox" id="liveTraf_ignorePublishers" name="liveTraf_ignorePublishers" value="1" <?php
$w->cb('liveTraf_ignorePublishers');
?>
/></td></tr>
<tr><th>List of comma separated usernames to ignore:</th><td><input type="text" name="liveTraf_ignoreUsers" id="liveTraf_ignoreUsers" value="<?php
echo $w->getHTML('liveTraf_ignoreUsers');
?>
" /></td></tr>
<tr><th>List of comma separated IP addresses to ignore:</th><td><input type="text" name="liveTraf_ignoreIPs" id="liveTraf_ignoreIPs" value="<?php
echo $w->getHTML('liveTraf_ignoreIPs');
?>
" /></td></tr>
<tr><th>Browser user-agent to ignore:</th><td><input type="text" name="liveTraf_ignoreUA" id="liveTraf_ignoreUA" value="<?php
echo $w->getHTML('liveTraf_ignoreUA');
?>
" /></td></tr>
<tr><td colspan="2">
<div class="wfMarker" id="wfMarkerScansToInclude"></div>
<h3 class="wfConfigHeading">Scans to include</h3></td></tr>
<?php
if (wfConfig::get('isPaid')) {
示例6:
<td colspan="2">
<div class="wfMarker" id="wfMarkerLiveTrafficOptions"></div>
<h3 class="wfConfigHeading">Live Traffic View<a
href="http://docs.wordfence.com/en/Wordfence_options#Live_Traffic_View" target="_blank"
class="wfhelp"></a></h3>
</td>
</tr>
<tr>
<th>Don't log signed-in users with publishing access:</th>
<td><input type="checkbox" id="liveTraf_ignorePublishers" name="liveTraf_ignorePublishers"
value="1" <?php $w->cb( 'liveTraf_ignorePublishers' ); ?> /></td>
</tr>
<tr>
<th>List of comma separated usernames to ignore:</th>
<td><input type="text" name="liveTraf_ignoreUsers" id="liveTraf_ignoreUsers"
value="<?php echo $w->getHTML( 'liveTraf_ignoreUsers' ); ?>"/></td>
</tr>
<tr>
<th>List of comma separated IP addresses to ignore:</th>
<td><input type="text" name="liveTraf_ignoreIPs" id="liveTraf_ignoreIPs"
value="<?php echo $w->getHTML( 'liveTraf_ignoreIPs' ); ?>"/></td>
</tr>
<tr>
<th>Browser user-agent to ignore:</th>
<td><input type="text" name="liveTraf_ignoreUA" id="liveTraf_ignoreUA"
value="<?php echo $w->getHTML( 'liveTraf_ignoreUA' ); ?>"/></td>
</tr>
<tr>
<td colspan="2">
<div class="wfMarker" id="wfMarkerScansToInclude"></div>
<h3 class="wfConfigHeading">Scans to include<a