typo corrected git-svn-id: http://plugins.svn.wordpress.org/wp-ffpc/trunk@508229 b8457f37-d9ea-0310-8a92-e5e31aec5664
cadeyrn cadeyrn@b8457f37-d9ea-0310-8a92-e5e31aec5664
Tue, 21 Feb 2012 13:45:48 +0000
1 files changed,
11 insertions(+),
11 deletions(-)
jump to
M
wp-ffpc.php
→
wp-ffpc.php
@@ -160,17 +160,17 @@
/** * 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> - <?php } + <?php endif; /** * 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> - <?php } ?> + <?php endif; ?> <div class="wrap"> <h2><?php _e( 'NMC settings', WP_FFPC_PARAM ) ; ?></h2>@@ -253,7 +253,7 @@ <label for="syslog"><?php _e("Enable syslog messages", WP_FFPC_PARAM); ?></label>
</dt> <dd> <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> </dd>@@ -329,11 +329,11 @@
<fieldset class="grid50"> <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> - <?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> <strong> <?php@@ -345,7 +345,7 @@ echo $server_status;
?> </strong> </div> - <?php } ?> + <?php endif; ?> <dl>@@ -370,7 +370,7 @@
</dl> </fieldset> - <?php if ( $this->options['cache_type'] == 'memcache' ) { ?> + <?php if ( $this->options['cache_type'] == 'memcache' ) : ?> <fieldset class="grid50"> <legend><?php _e('Sample config for nginx to utilize the data entries', WP_FFPC_PARAM); ?></legend>@@ -384,7 +384,7 @@ ?>
<pre><?php echo $nginx; ?></pre> </fieldset> - <? } ?> + <?php endif; ?> <fieldset class="grid50"> <legend><?php _e('Settings for APC', WP_FFPC_PARAM); ?></legend>