|
@@ 262-268 (lines=7) @@
|
| 259 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_js_forcehead" <?php echo autoptimizeOption::get_option('autoptimize_js_forcehead')?'checked="checked" ':''; ?>/> |
| 260 |
|
<?php _e('Load JavaScript early, this can potentially fix some JS-errors, but makes the JS render blocking.','autoptimize'); ?></label></td> |
| 261 |
|
</tr> |
| 262 |
|
<?php if (autoptimizeOption::get_option('autoptimize_js_justhead')) { ?> |
| 263 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>js_sub ao_adv js_aggregate"> |
| 264 |
|
<th scope="row"><?php _e('Look for scripts only in <head>?','autoptimize'); echo ' <i>'. __('(deprecated)','autoptimize') . '</i>'; ?></th> |
| 265 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_js_justhead" <?php echo autoptimizeOption::get_option('autoptimize_js_justhead')?'checked="checked" ':''; ?>/> |
| 266 |
|
<?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> |
| 267 |
|
</tr> |
| 268 |
|
<?php } ?> |
| 269 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>js_sub ao_adv"> |
| 270 |
|
<th scope="row"><?php _e('Exclude scripts from Autoptimize:','autoptimize'); ?></th> |
| 271 |
|
<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 /> |
|
@@ 304-310 (lines=7) @@
|
| 301 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_datauris" <?php echo autoptimizeOption::get_option('autoptimize_css_datauris')?'checked="checked" ':''; ?>/> |
| 302 |
|
<?php _e('Enable this to include small background-images in the CSS itself instead of as separate downloads.','autoptimize'); ?></label></td> |
| 303 |
|
</tr> |
| 304 |
|
<?php if (autoptimizeOption::get_option('autoptimize_css_justhead')) { ?> |
| 305 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>css_sub ao_adv css_aggregate"> |
| 306 |
|
<th scope="row"><?php _e('Look for styles only in <head>?','autoptimize'); echo ' <i>'. __('(deprecated)','autoptimize') . '</i>'; ?></th> |
| 307 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_justhead" <?php echo autoptimizeOption::get_option('autoptimize_css_justhead')?'checked="checked" ':''; ?>/> |
| 308 |
|
<?php _e('Don\'t autoptimize CSS outside the head-section. If the cache gets big, you might want to enable this.','autoptimize'); ?></label></td> |
| 309 |
|
</tr> |
| 310 |
|
<?php } ?> |
| 311 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>css_sub ao_adv"> |
| 312 |
|
<th scope="row"><?php _e('Inline and Defer CSS?','autoptimize'); ?></th> |
| 313 |
|
<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" ':''; ?>/> |