| @@ -35,13 +35,13 @@ | ||
| 35 | 35 | if(isset($field->is_required) && $field->is_required == 1) |
| 36 | 36 | $required = '*'; |
| 37 | 37 | |
| 38 | 38 | ?> |
| 39 | -<div class="wdk-field-edit <?php echo esc_attr($field->field_type); ?> wdk-col-<?php echo esc_attr($field->columns_number); ?> <?php echo esc_attr($field->class); ?>"> | |
| 39 | +<div class="wdk-field-<?php echo esc_attr($field_id);?> wdk-field-edit <?php echo esc_attr($field->field_type); ?> wdk-col-<?php echo esc_attr($field->columns_number); ?> <?php echo esc_attr($field->class); ?>"> | |
| 40 | 40 | <label for="<?php echo esc_attr($field_id); ?>"><?php echo esc_html($field_label).esc_html($required); ?></label> |
| 41 | 41 | <div class="wdk-field-container"> |
| 42 | 42 | <fieldset> |
| 43 | - <legend class="screen-reader-text"><span><?php echo __('Visible on','wpdirectorykit'); ?></span></legend> | |
| 43 | + <legend class="screen-reader-text"><span><?php echo esc_html__('Visible on','wpdirectorykit'); ?></span></legend> | |
| 44 | 44 | <?php foreach($field->values as $field_key => $field_value): ?> |
| 45 | 45 | <input name="<?php echo esc_attr($field_key); ?>" type="checkbox" id="<?php echo esc_attr($field_key); ?>" value="1" <?php echo !empty(wmvc_show_data($field_key, $db_data, ''))?'checked':''; ?>> |
| 46 | 46 | <label for="<?php echo esc_attr($field_key); ?>"><?php echo esc_html($field_value); ?></label> |
| 47 | 47 | <?php endforeach; ?> |