| @@ -16,9 +16,8 @@ | ||
| 16 | 16 | <?php |
| 17 | 17 | if ( $is_active_style ) { |
| 18 | 18 | FrmAppHelper::icon_by_class( 'frmfont frm_checkmark_circle_icon' ); |
| 19 | 19 | } |
| 20 | - | |
| 21 | 20 | if ( ! empty( $is_locked ) ) { |
| 22 | 21 | FrmAppHelper::icon_by_class( 'frmfont frm_lock_icon' ); |
| 23 | 22 | } |
| 24 | 23 | ?> |
| @@ -46,11 +45,10 @@ | ||
| 46 | 45 | 'text-color' => $style->post_content['text_color'], |
| 47 | 46 | 'submit-bg-color' => $style->post_content['submit_bg_color'], |
| 48 | 47 | ); |
| 49 | 48 | $index = 0; |
| 50 | - | |
| 51 | 49 | foreach ( $colors as $css_var_name => $color ) { |
| 52 | - if ( ! str_starts_with( $color, 'rgb' ) ) { | |
| 50 | + if ( 0 !== strpos( $color, 'rgb' ) ) { | |
| 53 | 51 | $color = '#' . $color; |
| 54 | 52 | } |
| 55 | 53 | |
| 56 | 54 | $circle_params = array( |