|
@@ 238-244 (lines=7) @@
|
| 235 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_js_forcehead" <?php echo autoptimizeOption::get_option('autoptimize_js_forcehead')?'checked="checked" ':''; ?>/> |
| 236 |
|
<?php _e('Load JavaScript early, this can potentially fix some JS-errors, but makes the JS render blocking.','autoptimize'); ?></label></td> |
| 237 |
|
</tr> |
| 238 |
|
<?php if (autoptimizeOption::get_option('autoptimize_js_justhead')) { ?> |
| 239 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>js_sub ao_adv js_aggregate"> |
| 240 |
|
<th scope="row"><?php _e('Look for scripts only in <head>?','autoptimize'); echo ' <i>'. __('(deprecated)','autoptimize') . '</i>'; ?></th> |
| 241 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_js_justhead" <?php echo autoptimizeOption::get_option('autoptimize_js_justhead')?'checked="checked" ':''; ?>/> |
| 242 |
|
<?php _e('Mostly useful in combination with previous option when using jQuery-based templates, but might help keeping cache size under control.','autoptimize'); ?></label></td> |
| 243 |
|
</tr> |
| 244 |
|
<?php } ?> |
| 245 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>js_sub ao_adv"> |
| 246 |
|
<th scope="row"><?php _e('Exclude scripts from Autoptimize:','autoptimize'); ?></th> |
| 247 |
|
<td><label><input type="text" style="width:100%;" name="autoptimize_js_exclude" value="<?php echo autoptimizeOption::get_option('autoptimize_js_exclude',"wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js"); ?>"/><br /> |
|
@@ 280-286 (lines=7) @@
|
| 277 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_datauris" <?php echo autoptimizeOption::get_option('autoptimize_css_datauris')?'checked="checked" ':''; ?>/> |
| 278 |
|
<?php _e('Enable this to include small background-images in the CSS itself instead of as separate downloads.','autoptimize'); ?></label></td> |
| 279 |
|
</tr> |
| 280 |
|
<?php if (autoptimizeOption::get_option('autoptimize_css_justhead')) { ?> |
| 281 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>css_sub ao_adv css_aggregate"> |
| 282 |
|
<th scope="row"><?php _e('Look for styles only in <head>?','autoptimize'); echo ' <i>'. __('(deprecated)','autoptimize') . '</i>'; ?></th> |
| 283 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_justhead" <?php echo autoptimizeOption::get_option('autoptimize_css_justhead')?'checked="checked" ':''; ?>/> |
| 284 |
|
<?php _e('Don\'t autoptimize CSS outside the head-section. If the cache gets big, you might want to enable this.','autoptimize'); ?></label></td> |
| 285 |
|
</tr> |
| 286 |
|
<?php } ?> |
| 287 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>css_sub ao_adv"> |
| 288 |
|
<th scope="row"><?php _e('Inline and Defer CSS?','autoptimize'); ?></th> |
| 289 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_defer" id="autoptimize_css_defer" <?php echo autoptimizeOption::get_option('autoptimize_css_defer')?'checked="checked" ':''; ?>/> |