当前位置: 首页>>代码示例>>PHP>>正文


PHP Util_Ui::e_config_label方法代码示例

本文整理汇总了PHP中Util_Ui::e_config_label方法的典型用法代码示例。如果您正苦于以下问题:PHP Util_Ui::e_config_label方法的具体用法?PHP Util_Ui::e_config_label怎么用?PHP Util_Ui::e_config_label使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Util_Ui的用法示例。


在下文中一共展示了Util_Ui::e_config_label方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<?php

namespace W3TC;

if (!defined('W3TC')) {
    die;
}
$this->checkbox('minify.yuijs.options.nomunge', false, 'js_');
?>
 <?php 
Util_Ui::e_config_label('minify.yuijs.options.nomunge');
?>
</label><br />
<?php 
$this->checkbox('minify.yuijs.options.preserve-semi', false, 'js_');
?>
 <?php 
Util_Ui::e_config_label('minify.yuijs.options.preserve-semi');
?>
</label><br />
<?php 
$this->checkbox('minify.yuijs.options.disable-optimizations', false, 'js_');
?>
 <?php 
Util_Ui::e_config_label('minify.yuijs.options.disable-optimizations');
?>
</label><br />
<?php 
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:28,代码来源:yuijs.php

示例2: _e

Util_Ui::e_config_label('browsercache.other.replace');
?>
</label>
                    <br /><span class="description"><?php 
_e('Whenever settings are changed, a new query string will be generated and appended to objects allowing the new policy to be applied.', 'w3-total-cache');
?>
</span>
                </th>
            </tr>
            <tr>
                <th colspan="2">
                    <?php 
$this->checkbox('browsercache.other.nocookies');
?>
 <?php 
Util_Ui::e_config_label('browsercache.other.nocookies');
?>
</label>
                    <br /><span class="description"><?php 
_e('Removes Set-Cookie header for responses.', 'w3-total-cache');
?>
</span>
                </th>
            </tr>
        </table>

        <?php 
Util_Ui::button_config_save('browsercache_media');
?>
        <?php 
Util_Ui::postbox_footer();
开发者ID:eduardodomingos,项目名称:eduardodomingos.com,代码行数:31,代码来源:browsercache.php

示例3:

				</td>
			</tr>
			<?php 
if (Util_Environment::is_nginx() && $this->_config->get_string('pgcache.engine') == 'file_generic') {
    ?>
			<tr>
				<th><label><?php 
    Util_Ui::e_config_label('pgcache.cache.nginx_handle_xml');
    ?>
</label></th>
				<td>
					<?php 
    $this->checkbox('pgcache.cache.nginx_handle_xml', true);
    ?>
 <?php 
    Util_Ui::e_config_label('pgcache.cache.nginx_handle_xml');
    ?>
</label><br />
					<span class="description"><?php 
    _e('Return correct Content-Type header for XML files. Slows down cache engine.', 'w3-total-cache');
    ?>
</span>
				</td>
			</tr>
			<?php 
}
?>
		</table>

		<?php 
Util_Ui::button_config_save('pagecache_advanced');
开发者ID:eduardodomingos,项目名称:eduardodomingos.com,代码行数:31,代码来源:pgcache.php

示例4: esc_textarea

						<?php 
Util_Ui::sealing_disabled('cdn.');
?>
 rows="5"><?php 
echo esc_textarea(implode("\r\n", $this->_config->get_array('cdn.reject.ua')));
?>
</textarea><br />
					<span class="description"><?php 
_e('Specify user agents that should not access files hosted with the <acronym title="Content Delivery Network">CDN</acronym>.', 'w3-total-cache');
?>
</span>
				</td>
			</tr>
			<tr>
				<th><label for="cdn_reject_files"><?php 
Util_Ui::e_config_label('cdn.reject.files');
?>
</label></th>
				<td>
					<textarea id="cdn_reject_files" name="cdn__reject__files"
						<?php 
Util_Ui::sealing_disabled('cdn.');
?>
 cols="40" rows="5"><?php 
echo esc_textarea(implode("\r\n", $this->_config->get_array('cdn.reject.files')));
?>
</textarea><br />
					<span class="description"><?php 
_e('Specify the path of files that should not use the <acronym title="Content Delivery Network">CDN</acronym>.', 'w3-total-cache');
?>
</span>
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:31,代码来源:cdn.php

示例5: esc_textarea

                        cols="40" rows="5"><?php 
echo esc_textarea(implode("\r\n", $this->_config->get_array('minify.reject.ua')));
?>
</textarea><br />
                    <span class="description"><?php 
_e('Specify user agents that will never receive minified content.', 'w3-total-cache');
?>
</span>
                </td>
            </tr>
            <?php 
if ($auto) {
    ?>
            <tr>
                <th><label for="minify_cache_files"><?php 
    Util_Ui::e_config_label('minify.cache.files');
    ?>
</label></th>
                <td>
                    <textarea id="minify_cache_files" name="minify__cache__files"
                        <?php 
    Util_Ui::sealing_disabled('minify.');
    ?>
                              cols="40" rows="5"><?php 
    echo esc_textarea(implode("\r\n", $this->_config->get_array('minify.cache.files')));
    ?>
</textarea><br />
                    <span class="description"><?php 
    _e('Specify external files/libraries that should be combined.', 'w3-total-cache');
    ?>
</span>
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:31,代码来源:minify.php

示例6:

<?php

namespace W3TC;

if (!defined('W3TC')) {
    die;
}
$this->checkbox('minify.html.strip.crlf', false, 'html_');
?>
 <?php 
Util_Ui::e_config_label('minify.html.strip.crlf');
?>
</label><br />
<?php 
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:14,代码来源:html.php

示例7: checked

<?php

namespace W3TC;

if (!defined('W3TC')) {
    die;
}
?>
<input type="hidden" name="minify__ccjs__options__formatting" value="" />
<label>
    <input class="js_enabled" type="checkbox" name="minify__ccjs__options__formatting"
        value="pretty_print"
         <?php 
checked($this->_config->get_string('minify.ccjs.options.formatting'), 'pretty_print');
?>
         <?php 
Util_Ui::sealing_disabled('minify.');
?>
 /> <?php 
Util_Ui::e_config_label('minify.ccjs.options.formatting');
?>
</label>
<br />
<?php 
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:24,代码来源:ccjs.php

示例8: _e

                    <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>
                <th colspan="2">
                    <?php 
    $this->checkbox('objectcache.purge.all');
    ?>
 <?php 
    Util_Ui::e_config_label('objectcache.purge.all');
    ?>
</label>
                    <br /><span class="description"><?php 
    _e('Enabling this option will increase load on server on certain actions but will guarantee that
                    the Object Cache is always clean and contains latest changes. <em>Enable if you are experiencing issues
                     with options displaying wrong value/state (checkboxes etc).</em>', 'w3-total-cache');
    ?>
</span>
                </th>
            </tr>
            <?php 
}
?>
        </table>
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:30,代码来源:objectcache.php

示例9:

<?php

namespace W3TC;

if (!defined('W3TC')) {
    die;
}
$this->checkbox('minify.htmltidy.options.clean', false, 'html_');
?>
 <?php 
Util_Ui::e_config_label('minify.htmltidy.options.clean');
?>
</label><br />
<?php 
$this->checkbox('minify.htmltidy.options.hide-comments', false, 'html_');
?>
 <?php 
Util_Ui::e_config_label('minify.htmltidy.options.hide-comments');
?>
</label><br />
<?php 
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:21,代码来源:htmltidy.php

示例10: esc_attr

<?php

namespace W3TC;

if (!defined('W3TC')) {
    die;
}
?>
<tr>
    <th><label for="minify_htmltidy_options_wrap"><?php 
Util_Ui::e_config_label('minify.htmltidy.options.wrap');
?>
</label></th>
    <td>
        <input id="minify_htmltidy_options_wrap" class="html_enabled" type="text"
            <?php 
Util_Ui::sealing_disabled('minify.');
?>
 name="minify__htmltidy__options__wrap" value="<?php 
echo esc_attr($this->_config->get_integer('minify.htmltidy.options.wrap'));
?>
" size="8" style="text-align: right;" /> _e('symbols (set to 0 to disable)', 'w3-total-cache'); ?>
    </td>
</tr>
<?php 
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:25,代码来源:htmltidy2.php

示例11: esc_textarea

                        <?php 
Util_Ui::sealing_disabled('dbcache.');
?>
 cols="40" rows="5"><?php 
echo esc_textarea(implode("\r\n", $this->_config->get_array('dbcache.reject.sql')));
?>
</textarea><br />
                    <span class="description"><?php 
_e('Do not cache queries that contain these terms. Any entered prefix (set in wp-config.php) will be replaced with current database prefix (default: wp_). Query stems can be identified using debug mode.', 'w3-total-cache');
?>
</span>
                </td>
            </tr>
            <tr>
                <th><label for="dbcache_reject_words"><?php 
Util_Ui::e_config_label('dbcache.reject.words');
?>
</label></th>
                <td>
                    <textarea id="dbcache_reject_words" name="dbcache__reject__words"
                        <?php 
Util_Ui::sealing_disabled('dbcache.');
?>
 cols="40" rows="5"><?php 
echo esc_textarea(implode("\r\n", $this->_config->get_array('dbcache.reject.words')));
?>
</textarea><br />
                    <span class="description"><?php 
_e('Do not cache queries that contain these words or regular expressions.', 'w3-total-cache');
?>
</span>
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:31,代码来源:dbcache.php

示例12: wp_create_nonce

<tr>
    <th>&nbsp;</th>
    <td>
        <input class="minifier_test js_enabled button {type: 'ccjs', nonce: '<?php 
echo wp_create_nonce('w3tc');
?>
'}" type="button" value="<?php 
_e('Test Closure Compiler', 'w3-total-cache');
?>
" />
        <span class="minifier_test_status w3tc-status w3tc-process"></span>
    </td>
</tr>
<tr>
    <th><label for="minify_ccjs_options_compilation_level"><?php 
Util_Ui::e_config_label('minify.ccjs.options.compilation_level');
?>
</label></th>
    <td>
        <select id="minify_ccjs_options_compilation_level" class="js_enabled" name="minify__ccjs__options__compilation_level"
            <?php 
Util_Ui::sealing_disabled('minify.');
?>
>
            <?php 
foreach ($compilation_levels as $compilation_level_key => $compilation_level_name) {
    ?>
            <option value="<?php 
    echo esc_attr($compilation_level_key);
    ?>
" <?php 
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:31,代码来源:ccjs2.php

示例13: selected

"  <?php 
    selected($case_properties, $case_properties_key);
    ?>
><?php 
    echo $case_properties_name;
    ?>
</option>
            <?php 
}
?>
        </select>
    </td>
</tr>
<tr>
    <th><label for="minify_csstidy_options_merge_selectors"><?php 
Util_Ui::e_config_label('minify.csstidy.options.merge_selectors');
?>
</label></th>
    <td>
        <select id="minify_csstidy_options_merge_selectors" class="css_enabled"
            <?php 
Util_Ui::sealing_disabled('minify.');
?>
 name="minify__csstidy__options__merge_selectors">
            <?php 
foreach ($merge_selectors_values as $merge_selectors_key => $merge_selectors_name) {
    ?>
            <option value="<?php 
    echo esc_attr($merge_selectors_key);
    ?>
" <?php 
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:31,代码来源:csstidy2.php

示例14: _e

			<label><input id="cdn_import_library_redirect_cdn" type="checkbox" /> <?php 
_e('Create a list of redirects to <acronym title="Content Delivery Network">CDN</acronym> (hostname specified in hostname field #1.)', 'w3-total-cache');
?>
</label>
		</td>
	</tr>
        <tr>
                <td colspan="2">
                    <?php 
$config_state = Dispatcher::config_state();
?>
                    <label><input id="cdn_import_external" type="checkbox" name="cdn.import.external" <?php 
checked($config_state->get_boolean('cdn.import.external'), true);
?>
/> <?php 
Util_Ui::e_config_label('cdn.import.external');
?>
</label>
                </td>
        </tr>
</table>

<p>
	<input id="cdn_import_library_start" class="button-primary" type="button" value="<?php 
_e('Start', 'w3-total-cache');
?>
"<?php 
if (!$total) {
    ?>
 disabled="disabled"<?php 
}
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:31,代码来源:cdn_import_library.php

示例15:

namespace W3TC;

if (!defined('W3TC')) {
    die;
}
$is_pro = Util_Environment::is_w3tc_pro($this->_config);
$this->checkbox('minify.css.strip.comments', false, 'css_');
?>
 <?php 
Util_Ui::e_config_label('minify.css.strip.comments');
?>
</label><br />
<?php 
$this->checkbox('minify.css.strip.crlf', false, 'css_');
?>
 <?php 
Util_Ui::e_config_label('minify.css.strip.crlf');
?>
</label><br />
<?php 
$this->checkbox('minify.css.embed', !$is_pro, 'csse_', true, $is_pro ? null : false);
?>
 Eliminate render-blocking CSS by moving it to HTML body</label>
<?php 
if (!$is_pro) {
    echo ' (Available after <a href="#" class="button-buy-plugin">upgrade</a>)';
}
?>
<br />
<?php 
开发者ID:developmentDM2,项目名称:Whohaha,代码行数:30,代码来源:css.php


注:本文中的Util_Ui::e_config_label方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。