| @@ -9,9 +9,9 @@ | ||
| 9 | 9 | <tr valign="top"> |
| 10 | 10 | <th scope="row"><label for="hf_form_success"><?php _e( 'Success', 'html-forms' ); ?></label></th> |
| 11 | 11 | <td> |
| 12 | 12 | <input type="text" class="widefat" id="hf_form_success" name="form[messages][success]" value="<?php echo esc_attr( $form->messages['success'] ); ?>" required /> |
| 13 | - <p class="help"><?php _e( 'The text that shows after a successful form submission.', 'html-forms' ); ?></p> | |
| 13 | + <p class="description"><?php _e( 'The text that shows after a successful form submission.', 'html-forms' ); ?></p> | |
| 14 | 14 | </td> |
| 15 | 15 | </tr> |
| 16 | 16 | <tr valign="top"> |
| 17 | 17 | <th scope="row"><label for="hf_form_invalid_email"><?php _e( 'Invalid email address', 'html-forms' ); ?></label></th> |
| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | <tr valign="top"> |
| 17 | 17 | <th scope="row"><label for="hf_form_invalid_email"><?php _e( 'Invalid email address', 'html-forms' ); ?></label></th> |
| 18 | 18 | <td> |
| 19 | 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 /> |
| 20 | - <p class="help"><?php _e( 'The text that shows when an invalid email address is given.', 'html-forms' ); ?></p> | |
| 20 | + <p class="description"><?php _e( 'The text that shows when an invalid email address is given.', 'html-forms' ); ?></p> | |
| 21 | 21 | </td> |
| 22 | 22 | </tr> |
| 23 | 23 | <tr valign="top"> |
| 24 | 24 | <th scope="row"><label for="hf_form_required_field_missing"><?php _e( 'Required field missing', 'html-forms' ); ?></label></th> |
| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | <tr valign="top"> |
| 24 | 24 | <th scope="row"><label for="hf_form_required_field_missing"><?php _e( 'Required field missing', 'html-forms' ); ?></label></th> |
| 25 | 25 | <td> |
| 26 | 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 /> |
| 27 | - <p class="help"><?php _e( 'The text that shows when a required field for the selected list(s) is missing.', 'html-forms' ); ?></p> | |
| 27 | + <p class="description"><?php _e( 'The text that shows when a required field for the selected list(s) is missing.', 'html-forms' ); ?></p> | |
| 28 | 28 | </td> |
| 29 | 29 | </tr> |
| 30 | 30 | |
| 31 | 31 | <tr valign="top"> |
| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | <tr valign="top"> |
| 32 | 32 | <th scope="row"><label for="hf_form_error"><?php _e( 'General error' ,'html-forms' ); ?></label></th> |
| 33 | 33 | <td> |
| 34 | 34 | <input type="text" class="widefat" id="hf_form_error" name="form[messages][error]" value="<?php echo esc_attr( $form->messages['error'] ); ?>" required /> |
| 35 | - <p class="help"><?php _e( 'The text that shows when a general error occured.', 'html-forms' ); ?></p> | |
| 35 | + <p class="description"><?php _e( 'The text that shows when a general error occured.', 'html-forms' ); ?></p> | |
| 36 | 36 | </td> |
| 37 | 37 | </tr> |
| 38 | 38 | |
| 39 | 39 | <?php do_action ('hf_admin_output_form_messages', $form ); ?> |
| @@ -40,9 +40,9 @@ | ||
| 40 | 40 | |
| 41 | 41 | <tr valign="top"> |
| 42 | 42 | <th></th> |
| 43 | 43 | <td> |
| 44 | - <p class="help"><?php printf( __( 'HTML tags like %s are allowed in the message fields.', 'html-forms' ), '<code>' . esc_html( '<strong><em><a>' ) . '</code>' ); ?></p> | |
| 44 | + <p class="description"><?php printf( __( 'HTML tags like %s are allowed in the message fields.', 'html-forms' ), '<code>' . esc_html( '<strong><em><a>' ) . '</code>' ); ?></p> | |
| 45 | 45 | </td> |
| 46 | 46 | </tr> |
| 47 | 47 | |
| 48 | 48 | </table> |