|
@@ 227-233 (lines=7) @@
|
| 224 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_js_forcehead" <?php echo get_option('autoptimize_js_forcehead')?'checked="checked" ':''; ?>/> |
| 225 |
|
<?php _e('Load JavaScript early, this can potentially fix some JS-errors, but makes the JS render blocking.','autoptimize'); ?></label></td> |
| 226 |
|
</tr> |
| 227 |
|
<?php if (get_option('autoptimize_js_justhead')) { ?> |
| 228 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>js_sub ao_adv"> |
| 229 |
|
<th scope="row"><?php _e('Look for scripts only in <head>?','autoptimize'); echo ' <i>'. __('(deprecated)','autoptimize') . '</i>'; ?></th> |
| 230 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_js_justhead" <?php echo get_option('autoptimize_js_justhead')?'checked="checked" ':''; ?>/> |
| 231 |
|
<?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> |
| 232 |
|
</tr> |
| 233 |
|
<?php } ?> |
| 234 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>js_sub ao_adv"> |
| 235 |
|
<th scope="row"><?php _e('Also aggregate inline JS?','autoptimize'); ?></th> |
| 236 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_js_include_inline" <?php echo get_option('autoptimize_js_include_inline')?'checked="checked" ':''; ?>/> |
|
@@ 264-270 (lines=7) @@
|
| 261 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_datauris" <?php echo get_option('autoptimize_css_datauris')?'checked="checked" ':''; ?>/> |
| 262 |
|
<?php _e('Enable this to include small background-images in the CSS itself instead of as separate downloads.','autoptimize'); ?></label></td> |
| 263 |
|
</tr> |
| 264 |
|
<?php if (get_option('autoptimize_css_justhead')) { ?> |
| 265 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>css_sub ao_adv"> |
| 266 |
|
<th scope="row"><?php _e('Look for styles only in <head>?','autoptimize'); echo ' <i>'. __('(deprecated)','autoptimize') . '</i>'; ?></th> |
| 267 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_justhead" <?php echo get_option('autoptimize_css_justhead')?'checked="checked" ':''; ?>/> |
| 268 |
|
<?php _e('Don\'t autoptimize CSS outside the head-section. If the cache gets big, you might want to enable this.','autoptimize'); ?></label></td> |
| 269 |
|
</tr> |
| 270 |
|
<?php } ?> |
| 271 |
|
<tr valign="top" class="<?php echo $hiddenClass;?>css_sub ao_adv"> |
| 272 |
|
<th scope="row"><?php _e('Also aggregate inline CSS?','autoptimize'); ?></th> |
| 273 |
|
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_include_inline" <?php echo get_option('autoptimize_css_include_inline','1')?'checked="checked" ':''; ?>/> |