PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/views/styles/components/templates/background-image.php +12 -3 6.25 → trunk View file →
@@ -21,18 +21,27 @@
21 21 'style' => $component['style'],
22 22 'image_id_input_name' => $component['image_id_input_name'],
23 23 )
24 24 );
25 +
25 26 if ( ! FrmAppHelper::pro_is_installed() ) {
27 + $image_preview_wrapper_attrs = array(
28 + 'class' => 'frm_image_preview_wrapper',
29 + 'data-upgrade' => __( 'Background image styles', 'formidable' ),
30 + 'data-message' => __( 'Elevate your form\'s design by adding full-width background images to your forms.', 'formidable' ),
31 + 'data-upsell-image' => FrmAppHelper::plugin_url() . '/images/upsell/background-image-styles-preview.webp',
32 + 'data-medium' => 'background-image',
33 + 'data-learn-more' => FrmAppHelper::get_doc_url( 'visual-form-styler/#kb-add-a-background-image', 'form-styler' ),
34 + );
26 35 ?>
27 - <div class="frm_image_preview_wrapper" data-upgrade="<?php esc_attr_e( 'Background image styles', 'formidable' ); ?>" data-medium="background-image">
36 + <div <?php FrmAppHelper::array_to_html_params( $image_preview_wrapper_attrs, true ); ?>>
28 37 <button type="button" class="frm_choose_image_box frm_button frm-flex-center frm_no_style_button frm_noallow" tabindex="0">
29 - <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_upload_icon' ); ?>
38 + <?php FrmAppHelper::icon_by_class( 'frmfont frm_upload_icon' ); ?>
30 39 <?php esc_attr_e( 'Upload background image', 'formidable' ); ?>
31 40 </button>
32 41 </div>
33 42 <?php
34 - }
43 + }//end if
35 44 ?>
36 45 </div>
37 46 </div>
38 47 </div>