芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/socialdigivlms.com/wp-content/plugins/tutor/views/metabox/settings-tabs.php
* @link https://themeum.com * @since 1.0.0 */ $args = $this->args; ?>
$arg ) { $i++; $active = 1 === $i ? 'active' : ''; $label = tutor_utils()->array_get( 'label', $arg ); $icon_class = tutor_utils()->array_get( 'icon_class', $arg ); $url = add_query_arg( array( 'settings_tab' => $key ) ); $icon = ''; if ( $icon_class ) { $icon = $icon_class; } ?>
$tab ) { $i++; $label = tutor_utils()->array_get( 'label', $tab ); $callback = tutor_utils()->array_get( 'callback', $tab ); $fields = tutor_utils()->array_get( 'fields', $tab ); // Set first tab as active. $active = 1 === $i ? 'active' : ''; $display = 1 === $i ? 'block' : 'none'; ?>
count( $fields ) ) { foreach ( $fields as $field_key => $field ) { $type = tutor_utils()->array_get( 'type', $field ); $value = tutor_utils()->array_get( 'value', $field ); if ( 'line_break' == $type ) { echo '
'; continue; } ?>
'; break; case 'radio': foreach ( $field['options'] as $value => $label ) { $id_string = 'course_setting_radio_' . ( ! empty( $field['id'] ) ? $field['id'] : $value ); ?>
/>
/>
' . esc_html( $option['hint'] ) . ''; } ?>
/>
$option ) { ?>
>
'; } ?>