@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | '-' => 'down', |
| 192 | 192 | '+' => 'up', |
| 193 | 193 | ); |
| 194 | - $class = 'frm_arrow' . $arrow[ $icon ]; |
|
| 194 | + $class = 'frm_arrow' . $arrow[$icon]; |
|
| 195 | 195 | } else { |
| 196 | 196 | //frm_minus1_icon |
| 197 | 197 | $key = str_replace( 'p', '', $key ); |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | '-' => 'minus', |
| 200 | 200 | '+' => 'plus', |
| 201 | 201 | ); |
| 202 | - $class = 'frm_' . $plus[ $icon ]; |
|
| 202 | + $class = 'frm_' . $plus[$icon]; |
|
| 203 | 203 | } |
| 204 | 204 | |
| 205 | 205 | if ( $key ) { |
@@ -219,8 +219,8 @@ discard block |
||
| 219 | 219 | ?> |
| 220 | 220 | <div class="btn-group" id="frm_<?php echo esc_attr( $name ); ?>_select"> |
| 221 | 221 | <button class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" type="button"> |
| 222 | - <?php FrmAppHelper::icon_by_class( 'frmfont ' . self::icon_key_to_class( $style->post_content[ $name ], '+', $type ) ); ?> |
|
| 223 | - <?php FrmAppHelper::icon_by_class( 'frmfont ' . self::icon_key_to_class( $style->post_content[ $name ], '-', $type ) ); ?> |
|
| 222 | + <?php FrmAppHelper::icon_by_class( 'frmfont ' . self::icon_key_to_class( $style->post_content[$name], '+', $type ) ); ?> |
|
| 223 | + <?php FrmAppHelper::icon_by_class( 'frmfont ' . self::icon_key_to_class( $style->post_content[$name], '-', $type ) ); ?> |
|
| 224 | 224 | <b class="caret"></b> |
| 225 | 225 | </button> |
| 226 | 226 | <ul class="multiselect-container frm-dropdown-menu"> |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | <li <?php echo ( $style->post_content['collapse_icon'] == $key ) ? 'class="active"' : ''; ?>> |
| 229 | 229 | <a href="javascript:void(0);"> |
| 230 | 230 | <label> |
| 231 | - <input type="radio" value="<?php echo esc_attr( $key ); ?>" name="<?php echo esc_attr( $frm_style->get_field_name( $name ) ); ?>" <?php checked( $style->post_content[ $name ], $key ); ?>/> |
|
| 231 | + <input type="radio" value="<?php echo esc_attr( $key ); ?>" name="<?php echo esc_attr( $frm_style->get_field_name( $name ) ); ?>" <?php checked( $style->post_content[$name], $key ); ?>/> |
|
| 232 | 232 | <span> |
| 233 | 233 | <?php FrmAppHelper::icon_by_class( 'frmfont ' . self::icon_key_to_class( $key, '+', $type ) ); ?> |
| 234 | 234 | <?php FrmAppHelper::icon_by_class( 'frmfont ' . self::icon_key_to_class( $key, '-', $type ) ); ?> |
@@ -313,14 +313,14 @@ discard block |
||
| 313 | 313 | $settings['style_class'] = 'frm_style_' . $style->post_name . '.'; |
| 314 | 314 | } |
| 315 | 315 | |
| 316 | - $settings['style_class'] .= 'with_frm_style'; |
|
| 316 | + $settings['style_class'] .= 'with_frm_style'; |
|
| 317 | 317 | $settings['font'] = stripslashes( $settings['font'] ); |
| 318 | 318 | $settings['change_margin'] = self::description_margin_for_screensize( $settings['width'] ); |
| 319 | 319 | |
| 320 | 320 | $checkbox_opts = array( 'important_style', 'auto_width', 'submit_style', 'collapse_icon', 'center_form' ); |
| 321 | 321 | foreach ( $checkbox_opts as $opt ) { |
| 322 | - if ( ! isset( $settings[ $opt ] ) ) { |
|
| 323 | - $settings[ $opt ] = 0; |
|
| 322 | + if ( ! isset( $settings[$opt] ) ) { |
|
| 323 | + $settings[$opt] = 0; |
|
| 324 | 324 | } |
| 325 | 325 | } |
| 326 | 326 | |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | $css = ''; |
| 340 | 340 | } |
| 341 | 341 | foreach ( $opts as $opt ) { |
| 342 | - self::get_color_output( $css, $settings[ $opt ] ); |
|
| 342 | + self::get_color_output( $css, $settings[$opt] ); |
|
| 343 | 343 | } |
| 344 | 344 | } |
| 345 | 345 | } |