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/_style-card.php +7 -3 6.5.3 → trunk View file →
@@ -16,13 +16,16 @@
16 16 <?php
17 17 if ( $is_active_style ) {
18 18 FrmAppHelper::icon_by_class( 'frmfont frm_checkmark_circle_icon' );
19 19 }
20 +
20 21 if ( ! empty( $is_locked ) ) {
21 22 FrmAppHelper::icon_by_class( 'frmfont frm_lock_icon' );
22 23 }
23 24 ?>
24 - <?php // The rename option uses the text content of .frm-style-card-title so don't leave any additional whitespace here. ?>
25 + <?php
26 + // The rename option uses the text content of .frm-style-card-title so don't leave any additional whitespace here.
27 + ?>
25 28 <span class="frm-style-card-title"><?php echo esc_html( $style->post_title ); ?></span>
26 29 <?php if ( $include_info ) { ?>
27 30 <span class="frm-style-card-info">
28 31 <?php
@@ -31,9 +34,9 @@
31 34 ?>
32 35 </span>
33 36 <?php } ?>
34 37 <?php if ( ! empty( $is_new_template ) ) { ?>
35 - <span class="frm-new-pill"><?php esc_html_e( 'NEW', 'formidable' ); ?></span>
38 + <span class="frm-meta-tag frm-new-pill"><?php esc_html_e( 'NEW', 'formidable' ); ?></span>
36 39 <?php } ?>
37 40 </div>
38 41 <div class="frm-style-card-preview">
39 42 <div class="frm-color-blocks">
@@ -43,10 +46,11 @@
43 46 'text-color' => $style->post_content['text_color'],
44 47 'submit-bg-color' => $style->post_content['submit_bg_color'],
45 48 );
46 49 $index = 0;
50 +
47 51 foreach ( $colors as $css_var_name => $color ) {
48 - if ( 0 !== strpos( $color, 'rgb' ) ) {
52 + if ( ! str_starts_with( $color, 'rgb' ) ) {
49 53 $color = '#' . $color;
50 54 }
51 55
52 56 $circle_params = array(