| @@ 303-307 (lines=5) @@ | ||
| 300 | <td><label class="cb_label"><input type="checkbox" name="autoptimize_css_defer" id="autoptimize_css_defer" <?php echo get_option('autoptimize_css_defer')?'checked="checked" ':''; ?>/> | |
| 301 | <?php | |
| 302 | _e( 'Inline "above the fold CSS" while loading the main autoptimized CSS only after page load. <a href="http://wordpress.org/plugins/autoptimize/faq/" target="_blank">Check the FAQ</a> for more info.', 'autoptimize' ); | |
| 303 | if ( function_exists( 'is_plugin_active' ) && ! is_plugin_active( 'autoptimize-criticalcss/ao_criticss_aas.php' ) ) { | |
| 304 | echo ' '; | |
| 305 | $critcss_install_url = network_admin_url() . 'plugin-install.php?s=autoptimize+criticalcss&tab=search&type=term'; | |
| 306 | echo sprintf( __( 'This can be fully automated for different types of pages with the %s.', 'autoptimize' ), '<a href="'.$critcss_install_url.'">Autoptimize CriticalCSS Power-Up</a>' ); | |
| 307 | } | |
| 308 | ?> | |
| 309 | </label></td> | |
| 310 | </tr> | |
| @@ 896-901 (lines=6) @@ | ||
| 893 | _e( 'Great, you have WP YouTube Lyte installed.', 'autoptimize' ); | |
| 894 | $lyte_config_url = 'options-general.php?page=lyte_settings_page'; | |
| 895 | echo sprintf( ' <a href="' . $lyte_config_url . '">%s</a>', __( 'Click here to configure it.', 'autoptimize' ) ); | |
| 896 |                     } else { | |
| 897 | // translators: %s will be replaced by a link to "wp youtube lyte" plugin. | |
| 898 | echo sprintf( __( '%s allows you to “lazy load” your videos, by inserting responsive “Lite YouTube Embeds". ', 'autoptimize' ), '<a href="https://wordpress.org/plugins/wp-youtube-lyte" target="_blank">WP YouTube Lyte</a>' ); | |
| 899 | $lyte_install_url = network_admin_url() . 'plugin-install.php?s=lyte&tab=search&type=term'; | |
| 900 | echo sprintf( ' <a href="' . $lyte_install_url . '">%s</a>', __( 'Click here to install and activate it.', 'autoptimize' ) ); | |
| 901 | } | |
| 902 | ?> | |
| 903 | </td> | |
| 904 | </tr> | |