| @@ -7,9 +7,9 @@ | ||
| 7 | 7 | <td> |
| 8 | 8 | <label><input type="radio" name="form[settings][save_submissions]" value="1" <?php checked( $form->settings['save_submissions'], 1 ); ?>> <?php _e( 'Yes' ); ?></label> |
| 9 | 9 | <label><input type="radio" name="form[settings][save_submissions]" value="0" <?php checked( $form->settings['save_submissions'], 0 ); ?>> <?php _e( 'No' ); ?></label> |
| 10 | 10 | |
| 11 | - <p class="help"><?php _e( 'Select "yes" to store successful form submissions.', 'html-forms' ); ?></p> | |
| 11 | + <p class="description"><?php _e( 'Select "yes" to store successful form submissions.', 'html-forms' ); ?></p> | |
| 12 | 12 | </td> |
| 13 | 13 | </tr> |
| 14 | 14 | |
| 15 | 15 | <tr valign="top"> |
| @@ -22,9 +22,9 @@ | ||
| 22 | 22 | <label> |
| 23 | 23 | <input type="radio" name="form[settings][hide_after_success]" value="0" <?php checked( $form->settings['hide_after_success'], 0 ); ?> />‏ |
| 24 | 24 | <?php _e( 'No' ); ?> |
| 25 | 25 | </label> |
| 26 | - <p class="help"> | |
| 26 | + <p class="description"> | |
| 27 | 27 | <?php _e( 'Select "yes" to hide the form fields after a successful sign-up.', 'html-forms' ); ?> |
| 28 | 28 | </p> |
| 29 | 29 | </td> |
| 30 | 30 | </tr> |
| @@ -32,24 +32,24 @@ | ||
| 32 | 32 | <tr valign="top"> |
| 33 | 33 | <th scope="row"><label for="hf_form_redirect"><?php _e( 'Redirect to URL after successful sign-ups', 'html-forms' ); ?></label></th> |
| 34 | 34 | <td> |
| 35 | 35 | <input type="text" class="widefat" name="form[settings][redirect_url]" id="hf_form_redirect" placeholder="<?php printf( __( 'Example: %s', 'html-forms' ), esc_attr( site_url( '/thank-you/' ) ) ); ?>" value="<?php echo esc_attr( $form->settings['redirect_url'] ); ?>" /> |
| 36 | - <p class="help"> | |
| 36 | + <p class="description"> | |
| 37 | 37 | <?php _e( 'Leave empty or enter <code>0</code> for no redirect. Otherwise, use complete (absolute) URLs, including <code>http://</code>.', 'html-forms' ); ?> |
| 38 | 38 | </p> |
| 39 | - <p class="help"> | |
| 39 | + <p class="description"> | |
| 40 | 40 | <?php _e( 'You can use the following variables in the redirect URL: ', 'html-forms' ); ?><span class="hf-field-names"></span> |
| 41 | 41 | </p> |
| 42 | 42 | </td> |
| 43 | 43 | </tr> |
| 44 | 44 | |
| 45 | - <?php | |
| 45 | + <?php | |
| 46 | 46 | /** |
| 47 | 47 | * Runs after the form settings are printed. |
| 48 | - * | |
| 48 | + * | |
| 49 | 49 | * @param $form |
| 50 | 50 | */ |
| 51 | 51 | do_action( 'hf_output_form_settings', $form ); ?> |
| 52 | - | |
| 52 | + | |
| 53 | 53 | </table> |
| 54 | 54 | |
| 55 | 55 | <?php submit_button(); ?> |