芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/wp-content/plugins/dexolix-core/library/codestar/fields/radio/radio.php
field, array( 'inline' => false, 'query_args' => array(), ) ); $inline_class = ( $args['inline'] ) ? ' class="csf--inline-list"' : ''; echo $this->field_before(); if ( isset( $this->field['options'] ) ) { $options = $this->field['options']; $options = ( is_array( $options ) ) ? $options : array_filter( $this->field_data( $options, false, $args['query_args'] ) ); if ( is_array( $options ) && ! empty( $options ) ) { echo '
'; foreach ( $options as $option_key => $option_value ) { if ( is_array( $option_value ) && ! empty( $option_value ) ) { echo '
'; echo '
'; echo '
'. esc_attr( $option_key ) .'
'; foreach ( $option_value as $sub_key => $sub_value ) { $checked = ( $sub_key == $this->value ) ? ' checked' : ''; echo '
'; echo '
'; echo '
field_attributes() . esc_attr( $checked ) .'/>'; echo '
'. esc_attr( $sub_value ) .'
'; echo '
'; echo '
'; } echo '
'; echo '
'; } else { $checked = ( $option_key == $this->value ) ? ' checked' : ''; echo '
'; echo '
'; echo '
field_attributes() . esc_attr( $checked ) .'/>'; echo '
'. esc_attr( $option_value ) .'
'; echo '
'; echo '
'; } } echo '
'; } else { echo ( ! empty( $this->field['empty_message'] ) ) ? esc_attr( $this->field['empty_message'] ) : esc_html__( 'No data available.', 'csf' ); } } else { $label = ( isset( $this->field['label'] ) ) ? $this->field['label'] : ''; echo '
field_attributes() . esc_attr( checked( $this->value, 1, false ) ) .'/>'; echo ( ! empty( $this->field['label'] ) ) ? '
'. esc_attr( $this->field['label'] ) .'
' : ''; echo '
'; } echo $this->field_after(); } } }