<?php
/**
 * File: yuicss2.php
 *
 * @package W3TC
 */

namespace W3TC;

defined( 'ABSPATH' ) || exit;
if ( ! defined( 'W3TC' ) ) {
	die();
}

$w3tc_c = $this->_config;

?>
<tr>
	<th>
		<label for="minify__yuicss__path__java">
			<?php Util_Ui::e_config_label( 'minify.yuicss.path.java' ); ?>
		</label>
	</th>
	<td>
		<input class="css_enabled" id="minify__yuicss__path__java" type="text"
			<?php Util_Ui::sealing_disabled( 'minify.' ); ?>
			name="minify__yuicss__path__java" value="<?php echo esc_attr( $w3tc_c->get_string( 'minify.yuicss.path.java' ) ); ?>"
			size="100" />
	</td>
</tr>
<tr>
	<th><label for="minify__yuicss__path__jar"><?php Util_Ui::e_config_label( 'minify.yuicss.path.jar' ); ?></label></th>
	<td>
		<input class="css_enabled" id="minify__yuicss__path__jar" type="text"
			<?php Util_Ui::sealing_disabled( 'minify.' ); ?>
			name="minify__yuicss__path__jar"
			value="<?php echo esc_attr( $w3tc_c->get_string( 'minify.yuicss.path.jar' ) ); ?>"
			size="100" />
	</td>
</tr>
<tr>
	<th>&nbsp;</th>
	<td>
		<input class="minifier_test button css_enabled {type: 'yuicss', nonce: '<?php echo esc_attr( Util_Nonce::create_admin( 'w3tc_test_minifier' ) ); ?>'}"
			type="button" value="<?php esc_attr_e( 'Test YUI Compressor', 'w3-total-cache' ); ?>" />
		<span class="minifier_test_status w3tc-status w3tc-process"></span>
	</td>
</tr>
<tr>
	<th>
		<label for="minify_yuicss_options_line-break">
			<?php Util_Ui::e_config_label( 'minify.yuicss.options.line-break' ); ?>
		</label>
	</th>
	<td>
		<input class="css_enabled" id="minify_yuicss_options_line-break"
			<?php Util_Ui::sealing_disabled( 'minify.' ); ?>
			type="text" name="minify__yuicss__options__line-break"
			value="<?php echo esc_attr( $w3tc_c->get_integer( 'minify.yuicss.options.line-break' ) ); ?>"
			size="8" style="text-align: right" /> symbols (set to 0 to disable)
	</td>
</tr>
