Skip to content

Commit

Permalink
Coding standard updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
toolstack committed Oct 8, 2017
1 parent 5bed71a commit c1c0246
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions gp-templates/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,15 @@
</dd>
<dt><?php _e( 'Order:', 'glotpress' ); ?></dt>
<dd>
<?php echo gp_radio_buttons(
'sort[how]',
array(
'asc' => __( 'Ascending', 'glotpress' ),
'desc' => __( 'Descending', 'glotpress' ),
),
gp_array_get( $sort, 'how', $default_sort['how'] )
);
<?php
echo gp_radio_buttons(
'sort[how]',
array(
'asc' => __( 'Ascending', 'glotpress' ),
'desc' => __( 'Descending', 'glotpress' ),
),
gp_array_get( $sort, 'how', $default_sort['how'] )
);
?>
</dd>
<?php
Expand All @@ -262,7 +263,8 @@
*
* @since 2.1.0
*/
do_action( 'gp_translation_set_sort_form' ); ?>
do_action( 'gp_translation_set_sort_form' );
?>

<dd><input type="submit" value="<?php esc_attr_e( 'Sort', 'glotpress' ); ?>" name="sorts" /></dd>
</dl>
Expand Down

0 comments on commit c1c0246

Please sign in to comment.