PluginProbe
WP Directory Kit / 1.4.8
WP Directory Kit v1.4.8
1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 1.4.0 All 36 releases
← All changes | application/views/fields_edit/STARS.php +4 -4 1.2.31.4.8 View file →
@@ -39,9 +39,9 @@
39 39 $required = '*';
40 40
41 41 ?>
42 42
43 -<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); ?>">
43 +<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); ?>">
44 44 <label for="<?php echo esc_attr($field_id); ?>"><?php echo esc_html($field_label).esc_html($required); ?></label>
45 45 <div class="wdk-field-container">
46 46 <fieldset class="wdk-rating-field">
47 47 <input type="radio" id="f_<?php echo esc_attr($field_id); ?>_star5" name="<?php echo esc_attr($field_id); ?>" value="5" <?php if((int)wmvc_show_data($field_id, $db_data)=='5') echo 'checked="checked"';?>/>
@@ -46,9 +46,9 @@
46 46 <fieldset class="wdk-rating-field">
47 47 <input type="radio" id="f_<?php echo esc_attr($field_id); ?>_star5" name="<?php echo esc_attr($field_id); ?>" value="5" <?php if((int)wmvc_show_data($field_id, $db_data)=='5') echo 'checked="checked"';?>/>
48 48 <label class="full" for="f_<?php echo esc_attr($field_id); ?>_star5" title="<?php echo esc_attr__('Awesome - 5 stars', 'wpdirectorykit');?>"></label>
49 49 <input type="radio" id="f_<?php echo esc_attr($field_id); ?>_star4" name="<?php echo esc_attr($field_id); ?>" value="4" <?php if((int)wmvc_show_data($field_id, $db_data)=='4') echo 'checked="checked"';?>/>
50 - <label class="full" for="f_<?php echo esc_attr($field_id); ?>_star4" title="<?php echo esc_attr__('Pretty good - 4 stars ', 'wpdirectorykit');?>"></label>
50 + <label class="full" for="f_<?php echo esc_attr($field_id); ?>_star4" title="<?php echo esc_attr__('Pretty good - 4 stars', 'wpdirectorykit');?>"></label>
51 51 <input type="radio" id="f_<?php echo esc_attr($field_id); ?>_star3" name="<?php echo esc_attr($field_id); ?>" value="3" <?php if((int)wmvc_show_data($field_id, $db_data)=='3') echo 'checked="checked"';?>/>
52 52 <label class="full" for="f_<?php echo esc_attr($field_id); ?>_star3" title="<?php echo esc_attr__('Meh - 3 stars', 'wpdirectorykit');?>"></label>
53 53 <input type="radio" id="f_<?php echo esc_attr($field_id); ?>_star2" name="<?php echo esc_attr($field_id); ?>" value="2" <?php if((int)wmvc_show_data($field_id, $db_data)=='2') echo 'checked="checked"';?>/>
54 54 <label class="full" for="f_<?php echo esc_attr($field_id); ?>_star2" title="<?php echo esc_attr__('Kinda bad - 2 stars', 'wpdirectorykit');?>"></label>
@@ -55,11 +55,11 @@
55 55 <input type="radio" id="f_<?php echo esc_attr($field_id); ?>_star1" name="<?php echo esc_attr($field_id); ?>" value="1" <?php if((int)wmvc_show_data($field_id, $db_data)=='1') echo 'checked="checked"';?>/>
56 56 <label class="full" for="f_<?php echo esc_attr($field_id); ?>_star1" title="<?php echo esc_attr__('Very bad - 1 star', 'wpdirectorykit');?>"></label>
57 57 </fieldset>
58 58 <span class="suffix"><?php
59 - echo esc_html($field->prefix);
59 + echo esc_html__($field->prefix, 'wpdirectorykit');
60 60 if(!empty($field->prefix) && !empty($field->suffix)) echo ' / ';
61 - echo esc_html($field->suffix);
61 + echo esc_html__($field->suffix, 'wpdirectorykit');
62 62 ?></span>
63 63 <?php if(!empty($field->hint)):?>
64 64 <p class="wdk-hint">
65 65 <?php echo esc_html($field->hint); ?>