| @@ 306-310 (lines=5) @@ | ||
| 303 | case 'noheader': | |
| 304 | case 'nofooter': | |
| 305 | case 'noborders': | |
| 306 | case 'noscrollbar': | |
| 307 | 					if ( ! isset( $new_instance['chrome'] ) || ! in_array( $chrome, $new_instance['chrome'], true ) ) { | |
| 308 | $instance['chrome'][] = $chrome; | |
| 309 | } | |
| 310 | break; | |
| 311 | default: | |
| 312 | 					if ( isset( $new_instance['chrome'] ) && in_array( $chrome, $new_instance['chrome'], true ) ) { | |
| 313 | $instance['chrome'][] = $chrome; | |
| @@ 311-315 (lines=5) @@ | ||
| 308 | $instance['chrome'][] = $chrome; | |
| 309 | } | |
| 310 | break; | |
| 311 | default: | |
| 312 | 					if ( isset( $new_instance['chrome'] ) && in_array( $chrome, $new_instance['chrome'], true ) ) { | |
| 313 | $instance['chrome'][] = $chrome; | |
| 314 | } | |
| 315 | break; | |
| 316 | } | |
| 317 | } | |
| 318 | ||