← All changes
|
classes/views/frm-form-actions/on_submit_settings.php
+7
-7
6.26
→
trunk
View file →
| @@ -19,19 +19,19 @@ | ||
| 19 | 19 | |
| 20 | 20 | $types = array( |
| 21 | 21 | 'message' => array( |
| 22 | 22 | 'label' => __( 'Show Message', 'formidable' ), |
| 23 | - 'icon' => 'frm_icon_font frm_chat_forms_icon frm_svg20', | |
| 23 | + 'icon' => 'frmfont frm_chat_forms_icon frm_svg20', | |
| 24 | 24 | 'sub_settings' => array( 'FrmOnSubmitHelper', 'show_message_settings' ), |
| 25 | 25 | ), |
| 26 | 26 | 'redirect' => array( |
| 27 | 27 | 'label' => __( 'Redirect to URL', 'formidable' ), |
| 28 | - 'icon' => 'frm_icon_font frm_globe_icon frm_svg20', | |
| 28 | + 'icon' => 'frmfont frm_globe_icon frm_svg20', | |
| 29 | 29 | 'sub_settings' => array( 'FrmOnSubmitHelper', 'show_redirect_settings' ), |
| 30 | 30 | ), |
| 31 | 31 | 'page' => array( |
| 32 | 32 | 'label' => __( 'Show Page Content', 'formidable' ), |
| 33 | - 'icon' => 'frm_icon_font frm_file_text_icon frm_svg20', | |
| 33 | + 'icon' => 'frmfont frm_file_text_icon frm_svg20', | |
| 34 | 34 | 'sub_settings' => array( 'FrmOnSubmitHelper', 'show_page_settings' ), |
| 35 | 35 | ), |
| 36 | 36 | ); |
| 37 | 37 | |
| @@ -48,9 +48,9 @@ | ||
| 48 | 48 | <?php |
| 49 | 49 | foreach ( $types as $type => $type_data ) : |
| 50 | 50 | $input_id = $this->get_field_id( 'success_action_' . $type ); |
| 51 | 51 | ?> |
| 52 | - <div class="frm_on_submit_type frm_form_field <?php echo esc_attr( $col_class ); ?>"> | |
| 52 | + <div class="frm_on_submit_type frm_form_field frm-m-0 <?php echo esc_attr( $col_class ); ?>"> | |
| 53 | 53 | <input |
| 54 | 54 | type="radio" |
| 55 | 55 | id="<?php echo esc_attr( $input_id ); ?>" |
| 56 | 56 | name="<?php echo esc_attr( $this->get_field_name( 'success_action' ) ); ?>" |
| @@ -56,11 +56,11 @@ | ||
| 56 | 56 | name="<?php echo esc_attr( $this->get_field_name( 'success_action' ) ); ?>" |
| 57 | 57 | value="<?php echo esc_attr( $type ); ?>" |
| 58 | 58 | <?php checked( $type, $success_action ); ?> |
| 59 | 59 | /> |
| 60 | - <label for="<?php echo esc_attr( $input_id ); ?>"> | |
| 61 | - <?php FrmAppHelper::icon_by_class( $type_data['icon'], array( 'echo' => true ) ); ?> | |
| 62 | - <?php echo esc_html( $type_data['label'] ); ?> | |
| 60 | + <label class="frm-cursor-pointer" for="<?php echo esc_attr( $input_id ); ?>"> | |
| 61 | + <?php FrmAppHelper::icon_by_class( $type_data['icon'] ); ?> | |
| 62 | + <span><?php echo esc_html( $type_data['label'] ); ?></span> | |
| 63 | 63 | </label> |
| 64 | 64 | </div> |
| 65 | 65 | <?php endforeach; ?> |
| 66 | 66 | </div> |