← All changes
|
classes/views/onboarding-wizard/steps/install-addons-step.php
+8
-8
6.25
→
trunk
View file →
| @@ -17,12 +17,12 @@ | ||
| 17 | 17 | <div class="frm-card-box-content frm-fields"> |
| 18 | 18 | <h2 class="frm-card-box-title frmcenter"><?php esc_html_e( 'Install Formidable Add-ons', 'formidable' ); ?></h2> |
| 19 | 19 | <p class="frm-card-box-text frmcenter"> |
| 20 | 20 | <?php |
| 21 | - if ( ! $pro_is_installed ) { | |
| 21 | + if ( $pro_is_installed ) { | |
| 22 | + esc_html_e( 'Here\'s just a few of our most popular add-ons! You\'ll find even more on the add-ons page.', 'formidable' ); | |
| 23 | + } else { | |
| 22 | 24 | esc_html_e( 'A few of our add-ons come with every installation. But more are available on the add-ons page!', 'formidable' ); |
| 23 | - } else { | |
| 24 | - esc_html_e( 'Here\'s just a few of our most popular add-ons! You\'ll find even more on the add-ons page.', 'formidable' ); | |
| 25 | 25 | } |
| 26 | 26 | ?> |
| 27 | 27 | </p> |
| 28 | 28 | |
| @@ -54,20 +54,20 @@ | ||
| 54 | 54 | </span> |
| 55 | 55 | |
| 56 | 56 | <span class="frm-banner-text frm-text-xs"> |
| 57 | 57 | <?php |
| 58 | - if ( ! $pro_is_installed ) { | |
| 58 | + if ( $pro_is_installed ) { | |
| 59 | 59 | printf( |
| 60 | 60 | /* translators: %1$s: Open anchor tag, %2$s: Close anchor tag */ |
| 61 | - esc_html__( '%1$sUpgrade to PRO%2$s and get more out of Formidable Forms', 'formidable' ), | |
| 62 | - '<a href="' . esc_url( $upgrade_link ) . '" target="_blank">', | |
| 61 | + esc_html__( 'Check them all out on the %1$sadd-ons%2$s page.', 'formidable' ), | |
| 62 | + '<a href="' . esc_url( admin_url( 'admin.php?page=formidable-addons' ) ) . '" target="_blank">', | |
| 63 | 63 | '</a>' |
| 64 | 64 | ); |
| 65 | 65 | } else { |
| 66 | 66 | printf( |
| 67 | 67 | /* translators: %1$s: Open anchor tag, %2$s: Close anchor tag */ |
| 68 | - esc_html__( 'Check them all out on the %1$sadd-ons%2$s page.', 'formidable' ), | |
| 69 | - '<a href="' . esc_url( admin_url( 'admin.php?page=formidable-addons' ) ) . '" target="_blank">', | |
| 68 | + esc_html__( '%1$sUpgrade to PRO%2$s and get more out of Formidable Forms', 'formidable' ), | |
| 69 | + '<a href="' . esc_url( $upgrade_link ) . '" target="_blank">', | |
| 70 | 70 | '</a>' |
| 71 | 71 | ); |
| 72 | 72 | } |
| 73 | 73 | ?> |