| @@ 292-296 (lines=5) @@ | ||
| 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" ':''; ?>/> |
|
| 290 | <?php |
|
| 291 | _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' ); |
|
| 292 | if ( function_exists( 'is_plugin_active' ) && ! is_plugin_active( 'autoptimize-criticalcss/ao_criticss_aas.php' ) ) { |
|
| 293 | echo ' '; |
|
| 294 | $critcss_install_url = network_admin_url() . 'plugin-install.php?s=autoptimize+criticalcss&tab=search&type=term'; |
|
| 295 | 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>' ); |
|
| 296 | } |
|
| 297 | ?> |
|
| 298 | </label></td> |
|
| 299 | </tr> |
|
| @@ 441-446 (lines=6) @@ | ||
| 438 | _e( 'Great, you have WP YouTube Lyte installed.', 'autoptimize' ); |
|
| 439 | $lyte_config_url = 'options-general.php?page=lyte_settings_page'; |
|
| 440 | echo sprintf( ' <a href="' . $lyte_config_url . '">%s</a>', __( 'Click here to configure it.', 'autoptimize' ) ); |
|
| 441 | } else { |
|
| 442 | // translators: %s will be replaced by a link to "wp youtube lyte" plugin. |
|
| 443 | 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>' ); |
|
| 444 | $lyte_install_url = network_admin_url() . 'plugin-install.php?s=lyte&tab=search&type=term'; |
|
| 445 | echo sprintf( ' <a href="' . $lyte_install_url . '">%s</a>', __( 'Click here to install and activate it.', 'autoptimize' ) ); |
|
| 446 | } |
|
| 447 | ?> |
|
| 448 | </td> |
|
| 449 | </tr> |
|