| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 4 | } |
| 5 | 5 | ?> |
| 6 | 6 | <div class="frmcenter frm_no_entries_form frm_placeholder_block"> |
| 7 | -<?php if ( $form && isset( $form->options['no_save'] ) && $form->options['no_save'] ) { ?> | |
| 7 | +<?php if ( $form && ! empty( $form->options['no_save'] ) ) { ?> | |
| 8 | 8 | <h3><?php esc_html_e( 'This form is not set to save any entries.', 'formidable' ); ?></h3> |
| 9 | 9 | <p> |
| 10 | 10 | <?php |
| 11 | 11 | printf( |
| @@ -31,12 +31,16 @@ | ||
| 31 | 31 | ?> |
| 32 | 32 | </div> |
| 33 | 33 | <p class="frm_no_entries_text"> |
| 34 | 34 | <?php |
| 35 | + $utm = array( | |
| 36 | + 'campaign' => 'entries', | |
| 37 | + 'content' => 'no-entries', | |
| 38 | + ); | |
| 35 | 39 | printf( |
| 36 | 40 | /* translators: %1$s: Start link HTML, %2$s: End link HTML, %3$s: Line break HTML */ |
| 37 | 41 | esc_html__( 'See the %1$sform documentation%2$s for instructions on publishing your form', 'formidable' ), |
| 38 | - '<a href="https://formidableforms.com/knowledgebase/publish-your-forms/?utm_source=WordPress&utm_medium=entries&utm_campaign=liteplugin" target="_blank">', | |
| 42 | + '<a href="' . esc_url( FrmAppHelper::admin_upgrade_link( $utm, 'knowledgebase/publish-your-forms/' ) ) . '" target="_blank">', | |
| 39 | 43 | '</a>' |
| 40 | 44 | ); |
| 41 | 45 | ?> |
| 42 | 46 | </p> |