| @@ -6,12 +6,8 @@ | ||
| 6 | 6 | <h2><?php _e( 'Form Messages', 'html-forms' ); ?></h2> |
| 7 | 7 | |
| 8 | 8 | <table class="form-table hf-form-messages"> |
| 9 | 9 | <tr valign="top"> |
| 10 | - <th scope="row" colspan="2" class="hf-settings-header"><?php echo __( 'Submissions', 'html-forms' ); ?></th> | |
| 11 | - </tr> | |
| 12 | - | |
| 13 | - <tr valign="top"> | |
| 14 | 10 | <th scope="row"><label for="hf_form_success"><?php _e( 'Success', 'html-forms' ); ?></label></th> |
| 15 | 11 | <td> |
| 16 | 12 | <input type="text" class="widefat" id="hf_form_success" name="form[messages][success]" value="<?php echo esc_attr( $form->messages['success'] ); ?>" required /> |
| 17 | 13 | <p class="description"><?php _e( 'The text that shows after a successful form submission.', 'html-forms' ); ?></p> |
| @@ -17,9 +13,9 @@ | ||
| 17 | 13 | <p class="description"><?php _e( 'The text that shows after a successful form submission.', 'html-forms' ); ?></p> |
| 18 | 14 | </td> |
| 19 | 15 | </tr> |
| 20 | 16 | <tr valign="top"> |
| 21 | - <th scope="row"><label for="hf_form_invalid_email"><?php _e( 'Invalid Email Address', 'html-forms' ); ?></label></th> | |
| 17 | + <th scope="row"><label for="hf_form_invalid_email"><?php _e( 'Invalid email address', 'html-forms' ); ?></label></th> | |
| 22 | 18 | <td> |
| 23 | 19 | <input type="text" class="widefat" id="hf_form_invalid_email" name="form[messages][invalid_email]" value="<?php echo esc_attr( $form->messages['invalid_email'] ); ?>" required /> |
| 24 | 20 | <p class="description"><?php _e( 'The text that shows when an invalid email address is given.', 'html-forms' ); ?></p> |
| 25 | 21 | </td> |
| @@ -24,9 +20,9 @@ | ||
| 24 | 20 | <p class="description"><?php _e( 'The text that shows when an invalid email address is given.', 'html-forms' ); ?></p> |
| 25 | 21 | </td> |
| 26 | 22 | </tr> |
| 27 | 23 | <tr valign="top"> |
| 28 | - <th scope="row"><label for="hf_form_required_field_missing"><?php _e( 'Required Field Missing', 'html-forms' ); ?></label></th> | |
| 24 | + <th scope="row"><label for="hf_form_required_field_missing"><?php _e( 'Required field missing', 'html-forms' ); ?></label></th> | |
| 29 | 25 | <td> |
| 30 | 26 | <input type="text" class="widefat" id="hf_form_required_field_missing" name="form[messages][required_field_missing]" value="<?php echo esc_attr( $form->messages['required_field_missing'] ); ?>" required /> |
| 31 | 27 | <p class="description"><?php _e( 'The text that shows when a required field for the selected list(s) is missing.', 'html-forms' ); ?></p> |
| 32 | 28 | </td> |
| @@ -32,9 +28,9 @@ | ||
| 32 | 28 | </td> |
| 33 | 29 | </tr> |
| 34 | 30 | |
| 35 | 31 | <tr valign="top"> |
| 36 | - <th scope="row"><label for="hf_form_error"><?php _e( 'General Error' ,'html-forms' ); ?></label></th> | |
| 32 | + <th scope="row"><label for="hf_form_error"><?php _e( 'General error' ,'html-forms' ); ?></label></th> | |
| 37 | 33 | <td> |
| 38 | 34 | <input type="text" class="widefat" id="hf_form_error" name="form[messages][error]" value="<?php echo esc_attr( $form->messages['error'] ); ?>" required /> |
| 39 | 35 | <p class="description"><?php _e( 'The text that shows when a general error occured.', 'html-forms' ); ?></p> |
| 40 | 36 | </td> |
| @@ -39,9 +35,8 @@ | ||
| 39 | 35 | <p class="description"><?php _e( 'The text that shows when a general error occured.', 'html-forms' ); ?></p> |
| 40 | 36 | </td> |
| 41 | 37 | </tr> |
| 42 | 38 | |
| 43 | - <?php do_action ('hf_admin_output_form_messages_submissions', $form ); ?> | |
| 44 | 39 | <?php do_action ('hf_admin_output_form_messages', $form ); ?> |
| 45 | 40 | |
| 46 | 41 | <tr valign="top"> |
| 47 | 42 | <th></th> |