<?php 
}
?>
				</td>
			</tr>
			<tr>
				<td colspan="2"><h2>Basic Options<a href="http://docs.wordfence.com/en/Wordfence_options#Basic_Options"
				                                    target="_blank" class="wfhelp"></a></h2></td>
			</tr>
			<tr>
				<th class="wfConfigEnable">Enable Rate Limiting and Advanced Blocking<a
						href="https://docs.wordfence.com/en/Wordfence_options#Enable_Rate_Limiting_and_Advanced_Blocking" target="_blank"
						class="wfhelp"></a></th>
				<td><input type="checkbox" id="firewallEnabled" class="wfConfigElem" name="firewallEnabled"
				           value="1" <?php 
$w->cb('firewallEnabled');
?>
 />&nbsp;<span
						style="color: #F00;">NOTE:</span> This checkbox enables ALL blocking/throttling functions including IP,
					country and advanced blocking and the "Rate Limiting Rules" below.
				</td>
			</tr>
			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>
			<tr>
				<th class="wfConfigEnable">Enable login security<a
						href="http://docs.wordfence.com/en/Wordfence_options#Enable_login_security" target="_blank"
						class="wfhelp"></a></th>
				<td><input type="checkbox" id="loginSecurityEnabled" class="wfConfigElem" name="loginSecurityEnabled"
				           value="1" <?php 
	</div>
	<?php 
    }
    ?>

	<h3>Debugging Options</h3>
	<form action="#" id="wfDebuggingConfigForm">
		<table class="wfConfigForm">
			<tr>
				<th>Add a debugging comment to HTML source of cached pages.<a
						href="http://docs.wordfence.com/en/Wordfence_options#Add_a_debugging_comment_to_HTML_source_of_cached_pages"
						target="_blank" class="wfhelp"></a></th>
				<td><input type="checkbox" id="addCacheComment" class="wfConfigElem" name="addCacheComment"
				           value="1" <?php 
    $w->cb('addCacheComment');
    ?>
 />
				</td>
			</tr>

			<tr>
				<th>Enable debugging mode (increases database load)<a
						href="http://docs.wordfence.com/en/Wordfence_options#Enable_debugging_mode_.28increases_database_load.29"
						target="_blank" class="wfhelp"></a></th>
				<td><input type="checkbox" id="debugOn" class="wfConfigElem" name="debugOn"
				           value="1" <?php 
    $w->cb('debugOn');
    ?>
 /></td>
			</tr>
Esempio n. 3
0
}
?>
 /></td><td>2 to 3 Times speed increase</td></tr>
		<tr><td>Enable Wordfence Falcon Engine:<div class="wfSmallFalcon"></div></td><td><input type="radio" name="cacheType" id="cacheType_falcon" value="falcon" <?php 
if (wfConfig::get('cacheType') == 'falcon') {
    echo 'checked="checked"';
}
?>
 /></td><td>30 to 50 Times speed increase</td></tr>
		</table>
		<br />
		<input type="button" id="button1" name="button1" class="button-primary" value="Save Changes to the type of caching enabled above" onclick="WFAD.saveCacheConfig();" />
		<h2>Cache Options</h2>
		<table border="0">
		<tr><td>Allow SSL (secure HTTPS pages) to be cached:</td><td><input type="checkbox" id="wfallowHTTPSCaching" value="1" <?php 
$w->cb('allowHTTPSCaching');
?>
 />We recommend you leave this disabled unless your<br />site uses HTTPS but does not receive/send sensitive user info.</td></tr>
		<tr><td>Add hidden debugging data to the bottom of the HTML source of cached pages:</td><td><input type="checkbox" id="wfaddCacheComment" value="1" <?php 
$w->cb('addCacheComment');
?>
 />Message appears as an HTML comment below the closing HTML tag.</td></tr>
		<tr><td>Clear cache when a scheduled post is published</td><td><input type="checkbox" id="wfclearCacheSched" value="1" <?php 
$w->cb('clearCacheSched');
?>
 />The entire Falcon cache will be cleared when WordPress publishes a post you've scheduled to be published in future.</td></tr>
		</table>
		<br />
		<input type="button" id="button1" name="button1" class="button-primary" value="Save Changes to the the caching options above" onclick="WFAD.saveCacheOptions();" />
		<br /><br />
		<h2>Cache Management</h2>
Esempio n. 4
0
}
?>
 /></td><td>2 to 3 Times speed increase</td></tr>
		<tr><td>Enable Wordfence Falcon Engine:<div class="wfSmallFalcon"></div></td><td><input type="radio" name="cacheType" id="cacheType_falcon" value="falcon" <?php 
if (wfConfig::get('cacheType') == 'falcon') {
    echo 'checked="checked"';
}
?>
 /></td><td>30 to 50 Times speed increase</td></tr>
		</table>
		<br />
		<input type="button" id="button1" name="button1" class="button-primary" value="Save Changes to the type of caching enabled above" onclick="WFAD.saveCacheConfig();" />
		<h2>Cache Options</h2>
		<table border="0">
		<tr><td>Allow SSL (secure HTTPS pages) to be cached:</td><td><input type="checkbox" id="wfallowHTTPSCaching" value="1" <?php 
$w->cb('allowHTTPSCaching');
?>
 />We recommend you leave this disabled unless your<br />site uses HTTPS but does not receive/send sensitive user info.</td></tr>
		<tr><td>Add hidden debugging data to the bottom of the HTML source of cached pages:</td><td><input type="checkbox" id="wfaddCacheComment" value="1" <?php 
$w->cb('addCacheComment');
?>
 />Message appears as an HTML comment below the closing HTML tag.</td></tr>
		</table>
		<br />
		<input type="button" id="button1" name="button1" class="button-primary" value="Save Changes to the the caching options above" onclick="WFAD.saveCacheOptions();" />
		<br /><br />
		<h2>Cache Management</h2>
		<p style="width: 500px;">
			<input type="button" id="button1" name="button1" class="button-primary" value="Clear the Cache" onclick="WFAD.clearPageCache();" />
			&nbsp;&nbsp;
			<input type="button" id="button1" name="button1" class="button-primary" value="Get Cache Stats" onclick="WFAD.getCacheStats();" />
Esempio n. 5
0
	<tr><th>Your Wordfence API Key:</th><td><input type="text" id="apiKey" name="apiKey" value="<?php $w->f('apiKey'); ?>" size="80" /></td></tr>
	<tr><th>Key type currently active:</th><td>
		<?php if(wfConfig::get('isPaid')){ ?>
		The currently active API Key is a Premium Key. <span style="font-weight: bold; color: #0A0;">Premium scanning enabled!</span>
		<?php } else {?>
		The currently active API Key is a <span style="color: #F00; font-weight: bold;">Free Key</a>. <a href="https://www.wordfence.com/wordfence-signup/" target="_blank">Upgrade to Premium Scanning now.</a>
		<?php } ?>
	</td></tr>
	<tr><td colspan="2">
		<?php if(wfConfig::get('isPaid')){ ?>
		<table border="0"><tr><td><a href="https://www.wordfence.com/manage-wordfence-api-keys/" target="_blank"><input type="button" value="Renew your premium license" /></a></td><td>&nbsp;</td><td><input type="button" value="Downgrade to a free license" onclick="WFAD.downgradeLicense();" /></td></tr></table>
		<?php } ?>


	<tr><td colspan="2"><h2>Basic Options</h2></td></tr>
	<tr><th class="wfConfigEnable">Enable firewall </th><td><input type="checkbox" id="firewallEnabled" class="wfConfigElem" name="firewallEnabled" value="1" <?php $w->cb('firewallEnabled'); ?> />&nbsp;<span style="color: #F00;">NOTE:</span> This checkbox enables ALL firewall functions including IP, country and advanced blocking and the "Firewall Rules" below.</td></tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><th class="wfConfigEnable">Enable login security</th><td><input type="checkbox" id="loginSecurityEnabled" class="wfConfigElem" name="loginSecurityEnabled" value="1" <?php $w->cb('loginSecurityEnabled'); ?> />&nbsp;This option enables all "Login Security" options. You can modify individual options further down this page.</td></tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><th class="wfConfigEnable">Enable Live Traffic View</th><td><input type="checkbox" id="liveTrafficEnabled" class="wfConfigElem" name="liveTrafficEnabled" value="1" <?php $w->cb('liveTrafficEnabled'); ?> onclick="WFAD.reloadConfigPage = true; return true;" />&nbsp;This option enables live traffic logging.</td></tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><th class="wfConfigEnable">Enable automatic scheduled scans</th><td><input type="checkbox" id="scheduledScansEnabled" class="wfConfigElem" name="scheduledScansEnabled" value="1" <?php $w->cb('scheduledScansEnabled'); ?> />&nbsp;Regular scans ensure your site stays secure.</td></tr>
	<tr><td colspan="2">&nbsp;</td></tr>

	<tr><th>Where to email alerts:</th><td><input type="text" id="alertEmails" name="alertEmails" value="<?php $w->f('alertEmails'); ?>" size="50" />&nbsp;<span class="wfTipText">Separate multiple emails with commas</span></td></tr>
	<tr><th colspan="2">&nbsp;</th></tr>
	<tr><th>Security Level:</th><td>
		<select id="securityLevel" name="securityLevel" onchange="WFAD.changeSecurityLevel(); return true;">
			<option value="0"<?php $w->sel('securityLevel', '0'); ?>>Level 0: Disable all Wordfence security measures</option>
			<option value="1"<?php $w->sel('securityLevel', '1'); ?>>Level 1: Light protection. Just the basics</option>
			<option value="2"<?php $w->sel('securityLevel', '2'); ?>>Level 2: Medium protection. Suitable for most sites</option>
Esempio n. 6
0
}
?>
	</td></tr>
	<tr><td colspan="2">
		<?php 
if (wfConfig::get('isPaid')) {
    ?>
		<table border="0"><tr><td><a href="https://www.wordfence.com/manage-wordfence-api-keys/" target="_blank"><input type="button" value="Renew your premium license" /></a></td><td>&nbsp;</td><td><input type="button" value="Downgrade to a free license" onclick="WFAD.downgradeLicense();" /></td></tr></table>
		<?php 
}
?>


	<tr><td colspan="2"><h2>Basic Options</h2></td></tr>
	<tr><th class="wfConfigEnable">Enable firewall </th><td><input type="checkbox" id="firewallEnabled" class="wfConfigElem" name="firewallEnabled" value="1" <?php 
$w->cb('firewallEnabled');
?>
 />&nbsp;<span style="color: #F00;">NOTE:</span> This checkbox enables ALL firewall functions including IP, country and advanced blocking and the "Firewall Rules" below.</td></tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><th class="wfConfigEnable">Enable login security</th><td><input type="checkbox" id="loginSecurityEnabled" class="wfConfigElem" name="loginSecurityEnabled" value="1" <?php 
$w->cb('loginSecurityEnabled');
?>
 />&nbsp;This option enables all "Login Security" options. You can modify individual options further down this page.</td></tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><th class="wfConfigEnable">Enable Live Traffic View</th><td><input type="checkbox" id="liveTrafficEnabled" class="wfConfigElem" name="liveTrafficEnabled" value="1" <?php 
$w->cb('liveTrafficEnabled');
?>
 onclick="WFAD.reloadConfigPage = true; return true;" />&nbsp;This option enables live traffic logging.</td></tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><th class="wfConfigEnable">Enable automatic scheduled scans</th><td><input type="checkbox" id="scheduledScansEnabled" class="wfConfigElem" name="scheduledScansEnabled" value="1" <?php 
$w->cb('scheduledScansEnabled');
Esempio n. 7
0
								           onclick="WFAD.downgradeLicense();"/></td>
							</tr>
						</table>
					<?php } ?>


			<tr>
				<td colspan="2"><h2>Basic Options<a href="http://docs.wordfence.com/en/Wordfence_options#Basic_Options"
				                                    target="_blank" class="wfhelp"></a></h2></td>
			</tr>
			<tr>
				<th class="wfConfigEnable">Enable firewall<a
						href="http://docs.wordfence.com/en/Wordfence_options#Enable_Firewall" target="_blank"
						class="wfhelp"></a></th>
				<td><input type="checkbox" id="firewallEnabled" class="wfConfigElem" name="firewallEnabled"
				           value="1" <?php $w->cb( 'firewallEnabled' ); ?> />&nbsp;<span
						style="color: #F00;">NOTE:</span> This checkbox enables ALL firewall functions including IP,
					country and advanced blocking and the "Firewall Rules" below.
				</td>
			</tr>
			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>
			<tr>
				<th class="wfConfigEnable">Enable login security<a
						href="http://docs.wordfence.com/en/Wordfence_options#Enable_login_security" target="_blank"
						class="wfhelp"></a></th>
				<td><input type="checkbox" id="loginSecurityEnabled" class="wfConfigElem" name="loginSecurityEnabled"
				           value="1" <?php $w->cb( 'loginSecurityEnabled' ); ?> />&nbsp;This option enables all "Login
					Security" options. You can modify individual options further down this page.
				</td>