typo corrected
git-svn-id: http://plugins.svn.wordpress.org/wp-ffpc/trunk@508229 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
ca645781e2
commit
44888fe4f6
1 changed files with 11 additions and 11 deletions
22
wp-ffpc.php
22
wp-ffpc.php
|
@ -160,17 +160,17 @@ if (!class_exists('WPFFPC')) {
|
||||||
/**
|
/**
|
||||||
* if options were saved
|
* if options were saved
|
||||||
*/
|
*/
|
||||||
if ($_GET['saved']=='true' || $this->status == 1) { ?>
|
if ($_GET['saved']=='true' || $this->status == 1) : ?>
|
||||||
<div id='setting-error-settings_updated' class='updated settings-error'><p><strong>Settings saved.</strong></p></div>
|
<div id='setting-error-settings_updated' class='updated settings-error'><p><strong>Settings saved.</strong></p></div>
|
||||||
<?php }
|
<?php endif;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the admin panel itself
|
* the admin panel itself
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<?php if ( !WP_CACHE ) { ?>
|
<?php if ( !WP_CACHE ) : ?>
|
||||||
<div class="updated settings-error"><p><strong>WARNING: WP_CACHE is disabled, plugin will not work that way. Please add define( 'WP_CACHE', true ); into the beginning of wp-config.php</strong></p></div>
|
<div class="updated settings-error"><p><strong>WARNING: WP_CACHE is disabled, plugin will not work that way. Please add define( 'WP_CACHE', true ); into the beginning of wp-config.php</strong></p></div>
|
||||||
<?php } ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h2><?php _e( 'NMC settings', WP_FFPC_PARAM ) ; ?></h2>
|
<h2><?php _e( 'NMC settings', WP_FFPC_PARAM ) ; ?></h2>
|
||||||
|
@ -253,7 +253,7 @@ if (!class_exists('WPFFPC')) {
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="checkbox" name="syslog" id="syslog" value="1" <?php checked($this->options['syslog'],true); ?> />
|
<input type="checkbox" name="syslog" id="syslog" value="1" <?php checked($this->options['syslog'],true); ?> />
|
||||||
<span class="description"><?php _e('Writes sets, gets and flushed into syslog at INFO level, using "syslog" function of PHP.', WP_FFPC_PARAM); ?></span>
|
<span class="description"><?php _e('Writes sets, gets and flushes at INFO level into syslog, using "syslog" function of PHP.', WP_FFPC_PARAM); ?></span>
|
||||||
<span class="default"><?php _e('Default ', WP_FFPC_PARAM); ?>: <?php $this->print_bool( $this->defaults['syslog']); ?></span>
|
<span class="default"><?php _e('Default ', WP_FFPC_PARAM); ?>: <?php $this->print_bool( $this->defaults['syslog']); ?></span>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
@ -329,11 +329,11 @@ if (!class_exists('WPFFPC')) {
|
||||||
<fieldset class="grid50">
|
<fieldset class="grid50">
|
||||||
<legend><?php _e('Settings for memcached backend', WP_FFPC_PARAM); ?></legend>
|
<legend><?php _e('Settings for memcached backend', WP_FFPC_PARAM); ?></legend>
|
||||||
|
|
||||||
<?php if ( !class_exists('Memcache') && !class_exists('Memcached') ) { ?>
|
<?php if ( !class_exists('Memcache') && !class_exists('Memcached') ) : ?>
|
||||||
<h1 class="error">No PHP memcached extension was found. To use memcached, you need PHP Memcache or PHP Memcached extension.</h1>
|
<h1 class="error">No PHP memcached extension was found. To use memcached, you need PHP Memcache or PHP Memcached extension.</h1>
|
||||||
<?php } ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( $this->options['cache_type'] == 'memcached' || $this->options['cache_type'] == 'memcache' ) { ?>
|
<?php if ( $this->options['cache_type'] == 'memcached' || $this->options['cache_type'] == 'memcache' ) : ?>
|
||||||
<div>
|
<div>
|
||||||
<strong>
|
<strong>
|
||||||
<?php
|
<?php
|
||||||
|
@ -345,7 +345,7 @@ if (!class_exists('WPFFPC')) {
|
||||||
?>
|
?>
|
||||||
</strong>
|
</strong>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
|
@ -370,7 +370,7 @@ if (!class_exists('WPFFPC')) {
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<?php if ( $this->options['cache_type'] == 'memcache' ) { ?>
|
<?php if ( $this->options['cache_type'] == 'memcache' ) : ?>
|
||||||
|
|
||||||
<fieldset class="grid50">
|
<fieldset class="grid50">
|
||||||
<legend><?php _e('Sample config for nginx to utilize the data entries', WP_FFPC_PARAM); ?></legend>
|
<legend><?php _e('Sample config for nginx to utilize the data entries', WP_FFPC_PARAM); ?></legend>
|
||||||
|
@ -384,7 +384,7 @@ if (!class_exists('WPFFPC')) {
|
||||||
<pre><?php echo $nginx; ?></pre>
|
<pre><?php echo $nginx; ?></pre>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<? } ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<fieldset class="grid50">
|
<fieldset class="grid50">
|
||||||
<legend><?php _e('Settings for APC', WP_FFPC_PARAM); ?></legend>
|
<legend><?php _e('Settings for APC', WP_FFPC_PARAM); ?></legend>
|
||||||
|
|
Loading…
Reference in a new issue