本文整理汇总了PHP中Util_Ui::sealing_disabled方法的典型用法代码示例。如果您正苦于以下问题:PHP Util_Ui::sealing_disabled方法的具体用法?PHP Util_Ui::sealing_disabled怎么用?PHP Util_Ui::sealing_disabled使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Util_Ui
的用法示例。
在下文中一共展示了Util_Ui::sealing_disabled方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: esc_attr
echo $module;
?>
___memcached__servers"
<?php
Util_Ui::sealing_disabled($module);
?>
value="<?php
echo esc_attr(implode(',', $config->get_array(array($module, 'memcached.servers'))));
?>
" size="80" />
<input id="memcached_test" class="button {nonce: '<?php
echo wp_create_nonce('w3tc');
?>
'}"
<?php
Util_Ui::sealing_disabled($module);
?>
type="button" value="<?php
esc_attr_e('Test', 'w3-total-cache');
?>
" />
<span id="memcached_test_status" class="w3tc-status w3tc-process"></span>
<br /><span class="description"><?php
_e('Multiple servers may be used and seperated by a comma; e.g. 192.168.1.100:11211, domain.com:22122', 'w3-total-cache');
?>
</span>
</td>
</tr>
<?php
Util_Ui::config_item(array('key' => array($module, 'memcached.persistent'), 'label' => __('Use persistent connection:', 'w3-total-cache'), 'control' => 'checkbox', 'checkbox_label' => Util_ConfigLabel::get('memcached.persistent'), 'description' => 'Using persistent connection doesn\'t reinitialize memcached driver on each request'));
Util_Ui::config_item(array('key' => array($module, 'memcached.aws_autodiscovery'), 'label' => __('Node Auto Discovery:', 'w3-total-cache'), 'control' => 'checkbox', 'checkbox_label' => 'Amazon Node Auto Discovery', 'disabled' => Util_Installed::memcached_aws() ? null : true, 'description' => !Util_Installed::memcached_aws() ? __('ElastiCache PHP module not found', 'w3-total-cache') : __('When Amazon ElastiCache used, specify configuration endpoint as Memecached host', 'w3-total-cache')));
示例2: wp_create_nonce
<th> </th>
<td>
<input class="minifier_test button js_enabled {type: 'yuijs', nonce: '<?php
echo wp_create_nonce('w3tc');
?>
'}" type="button" value="<?php
_e('Test YUI Compressor', 'w3-total-cache');
?>
" />
<span class="minifier_test_status w3tc-status w3tc-process"></span>
</td>
</tr>
<tr>
<th><label for="minify_yuijs_options_line-break"><?php
Util_Ui::e_config_label('minify.yuijs.options.line-break');
?>
</label></th>
<td>
<input id="minify_yuijs_options_line-break" class="js_enabled"
type="text" <?php
Util_Ui::sealing_disabled('minify.');
?>
name="minify__yuijs__options__line-break" value="<?php
echo esc_attr($this->_config->get_integer('minify.yuijs.options.line-break'));
?>
" size="8" style="text-align: right;" /> <?php
_e('symbols (set to 0 to disable)', 'w3-total-cache');
?>
</td>
</tr>
<?php
示例3: esc_textarea
?>
</span>
</td>
</tr>
<?php
}
?>
<tr>
<th><label for="pgcache_cache_headers"><?php
Util_Ui::e_config_label('pgcache.cache.headers');
?>
</label></th>
<td>
<textarea id="pgcache_cache_headers" name="pgcache__cache__headers"
<?php
Util_Ui::sealing_disabled('pgcache.');
?>
cols="40" rows="5"<?php
if ($this->_config->get_string('pgcache.engine') == 'file_generic') {
?>
disabled="disabled"<?php
}
?>
><?php
echo esc_textarea(implode("\r\n", $this->_config->get_array('pgcache.cache.headers')));
?>
</textarea><br />
<span class="description"><?php
_e('Specify additional page headers to cache.', 'w3-total-cache');
?>
</span>
示例4: _e
<br />
<span class="description"><?php
_e('Select the pull zone to use with this site.', 'w3-total-cache');
?>
</span>
</td>
</tr>
<tr>
<th><label for="cdn_maxcdn_ssl"><?php
_e('<acronym title="Secure Sockets Layer">SSL</acronym> support', 'w3-total-cache');
?>
:</label></th>
<td>
<select id="cdn_maxcdn_ssl" name="cdn__maxcdn__ssl" <?php
Util_Ui::sealing_disabled('cdn.');
?>
>
<option value="auto"<?php
selected($this->_config->get_string('cdn.maxcdn.ssl'), 'auto');
?>
><?php
_e('Auto (determine connection type automatically)', 'w3-total-cache');
?>
</option>
<option value="enabled"<?php
selected($this->_config->get_string('cdn.maxcdn.ssl'), 'enabled');
?>
><?php
_e('Enabled (always use SSL)', 'w3-total-cache');
?>
示例5: _e
_e('Set pragma and cache-control headers to encourage browser caching of files.', 'w3-total-cache');
?>
</span>
</th>
</tr>
<tr>
<th>
<label for="browsercache_other_cache_policy"><?php
Util_Ui::e_config_label('browsercache.other.cache.policy');
?>
</label>
</th>
<td>
<select id="browsercache_other_cache_policy"
<?php
Util_Ui::sealing_disabled('browsercache.');
?>
name="browsercache__other__cache__policy">
<?php
$value = $this->_config->get_string('browsercache.other.cache.policy');
?>
<option value="cache"<?php
selected($value, 'cache');
?>
><?php
_e('cache ("public")');
?>
</option>
<option value="cache_public_maxage"<?php
selected($value, 'cache_public_maxage');
?>
示例6: _e
?>
</td>
</tr>
<tr>
<th>
<label for="newrelic_enable_xmit"><?php
_e('Enable XMIT:', 'w3-total-cache');
?>
</label>
</th>
<td><input name="" type="hidden" value="0" />
<input id="newrelic_enable_xmit" name="extension__newrelic__enable_xmit" type="checkbox" value="1" <?php
checked($config->get_boolean(array('newrelic', 'enable_xmit')));
?>
<?php
Util_Ui::sealing_disabled('newrelic');
?>
/>
<p><span class="description"><?php
_e(sprintf('Enable this if you want to record the metric and transaction data (until the name is changed using PHP function), specify a value of true for this argument to make the agent send the transaction to the daemon. There is a slight performance impact as it takes a few milliseconds for the agent to dump its data. <em>From %s</em>', '<a href="https://newrelic.com/docs/php/the-php-api">New Relic PHP API doc</a>'), 'w3-total-cache');
?>
</span></p>
</td>
</tr>
</table>
<?php
Util_Ui::button_config_save('extension_newrelic_behaviour');
?>
<?php
Util_Ui::postbox_footer();
?>
示例7: _e
</label>
<br /><span class="description"><?php
_e('Not recommended for <acronym title="Network File System">NFS</acronym> systems.', 'w3-total-cache');
?>
</span>
</th>
</tr>
<tr>
<th colspan="2">
<input type="hidden" name="file_nfs" value="0" <?php
Util_Ui::sealing_disabled('common.');
?>
/>
<label><input type="checkbox" name="file_nfs" value="1"<?php
checked($file_nfs, true);
Util_Ui::sealing_disabled('common.');
?>
/> <?php
_e('Optimize disk enhanced page and minify disk caching for <acronym title="Network File System">NFS</acronym>', 'w3-total-cache');
?>
</label>
<br /><span class="description"><?php
_e('Try this option if your hosting environment uses a network based file system for a possible performance improvement.', 'w3-total-cache');
?>
</span>
</th>
</tr>
<?php
Util_Ui::config_item(array('key' => 'common.track_usage', 'control' => 'checkbox', 'checkbox_label' => __('Anonymously track usage to improve product quality', 'w3-total-cache'), 'style' => '2'));
?>
示例8: _e
</textarea>
<br /><span class="description"><?php
_e('Groups shared amongst sites in network mode.', 'w3-total-cache');
?>
</span>
</td>
</tr>
<tr>
<th><label for="objectcache_groups_nonpersistent"><?php
Util_Ui::e_config_label('objectcache.groups.nonpersistent');
?>
</label></th>
<td>
<textarea id="objectcache_groups_nonpersistent"
<?php
Util_Ui::sealing_disabled('objectcache.');
?>
name="objectcache__groups__nonpersistent" cols="40" rows="5"><?php
echo esc_textarea(implode("\r\n", $this->_config->get_array('objectcache.groups.nonpersistent')));
?>
</textarea>
<br /><span class="description"><?php
_e('Groups that should not be cached.', 'w3-total-cache');
?>
</span>
</td>
</tr>
<?php
if ($this->_config->get_boolean('cluster.messagebus.enabled')) {
?>
<tr>
示例9: _e
?>
<br /><span class="description"><?php
_e('If caching to disk, specify how frequently expired cache data is removed. For busy sites, a lower value is best.', 'w3-total-cache');
?>
</span>
</td>
</tr>
<tr>
<th><label for="fragmentcache_groups"><?php
_e('Manual fragment groups:', 'w3-total-cache');
?>
</label></th>
<td>
<textarea id="fragmentcache_groups" name="fragmentcache___groups"
<?php
Util_Ui::sealing_disabled('fragmentcache.');
?>
cols="40" rows="5"><?php
echo esc_textarea(implode("\r\n", $config->get_array(array('fragmentcache', 'groups'))));
?>
</textarea><br />
<span class="description"><?php
_e('Specify fragment groups that should be managed by W3 Total Cache. Enter one action per line comma delimited, e.g. (group, action1, action2). Include the prefix used for a transient by a theme or plugin.', 'w3-total-cache');
?>
</span>
</td>
</tr>
</table>
<?php
Util_Ui::button_config_save('extension_fragmentcache');