Change Rounding to Decimal Places

This commit is contained in:
Brian Miyaji
2015-04-11 14:40:06 +10:00
parent ac83d14fa3
commit 35e8760500
4 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ class SP_Admin_CPT_Column extends SP_Admin_CPT {
'title' => __( 'Label', 'sportspress' ),
'sp_key' => __( 'Key', 'sportspress' ),
'sp_equation' => __( 'Equation', 'sportspress' ),
'sp_precision' => __( 'Rounding', 'sportspress' ),
'sp_precision' => __( 'Decimal Places', 'sportspress' ),
'sp_order' => __( 'Sort Order', 'sportspress' ),
'sp_description' => __( 'Description', 'sportspress' ),
);

View File

@@ -43,7 +43,7 @@ class SP_Admin_CPT_Statistic extends SP_Admin_CPT {
'title' => __( 'Label', 'sportspress' ),
'sp_key' => __( 'Key', 'sportspress' ),
'sp_equation' => __( 'Equation', 'sportspress' ),
'sp_precision' => __( 'Rounding', 'sportspress' ),
'sp_precision' => __( 'Decimal Places', 'sportspress' ),
'sp_description' => __( 'Description', 'sportspress' ),
);
return apply_filters( 'sportspress_statistic_admin_columns', $columns );

View File

@@ -36,7 +36,7 @@ class SP_Meta_Box_Column_Details extends SP_Meta_Box_Config {
<input name="sp_default_key" type="hidden" id="sp_default_key" value="<?php echo $post->post_name; ?>">
<input name="sp_key" type="text" id="sp_key" value="<?php echo $post->post_name; ?>">
</p>
<p><strong><?php _e( 'Rounding', 'sportspress' ); ?></strong></p>
<p><strong><?php _e( 'Decimal Places', 'sportspress' ); ?></strong></p>
<p class="sp-precision-selector">
<input name="sp_precision" type="text" size="4" id="sp_precision" value="<?php echo $precision; ?>" placeholder="0">
</p>

View File

@@ -33,7 +33,7 @@ class SP_Meta_Box_Statistic_Details extends SP_Meta_Box_Config {
<input name="sp_default_key" type="hidden" id="sp_default_key" value="<?php echo $post->post_name; ?>">
<input name="sp_key" type="text" id="sp_key" value="<?php echo $post->post_name; ?>">
</p>
<p><strong><?php _e( 'Rounding', 'sportspress' ); ?></strong></p>
<p><strong><?php _e( 'Decimal Places', 'sportspress' ); ?></strong></p>
<p class="sp-precision-selector">
<input name="sp_precision" type="text" size="4" id="sp_precision" value="<?php echo $precision; ?>" placeholder="0">
</p>