@@ 595-608 (lines=14) @@ | ||
592 | <fieldset> |
|
593 | <ul> |
|
594 | <?php |
|
595 | foreach ( $value['options'] as $key => $val ) { |
|
596 | ?> |
|
597 | <li> |
|
598 | <label><input |
|
599 | name="<?php echo esc_attr( $value['id'] ); ?>" |
|
600 | value="<?php echo $key; ?>" |
|
601 | type="radio" |
|
602 | style="<?php echo esc_attr( $value['css'] ); ?>" |
|
603 | <?php echo implode( ' ', $custom_attributes ); ?> |
|
604 | <?php checked( $key, $option_value ); ?> |
|
605 | /> <?php echo $val ?></label> |
|
606 | </li> |
|
607 | <?php |
|
608 | } |
|
609 | ?> |
|
610 | <?php echo $description; ?> |
|
611 | </fieldset> |
|
@@ 655-672 (lines=18) @@ | ||
652 | <fieldset> |
|
653 | <ul> |
|
654 | <?php |
|
655 | foreach ( $value['options'] as $key => $val ) { |
|
656 | ?> |
|
657 | <li> |
|
658 | <label> |
|
659 | <input |
|
660 | name="<?php echo esc_attr( $value['id'] ); ?>[]" |
|
661 | value="<?php echo $key; ?>" |
|
662 | type="checkbox" |
|
663 | style="<?php echo esc_attr( $value['css'] ); ?>" |
|
664 | <?php echo implode( ' ', $custom_attributes ); ?> |
|
665 | <?php if ( in_array( $key, $option_value ) ) { |
|
666 | echo 'checked="checked"'; |
|
667 | } ?> |
|
668 | /> <?php echo $val ?> |
|
669 | </label> |
|
670 | </li> |
|
671 | <?php |
|
672 | } |
|
673 | ?> |
|
674 | <?php echo $description; ?> |
|
675 | </fieldset> |