PluginProbe
HTML Forms – Simple WordPress Forms Plugin / 1.3.34
HTML Forms – Simple WordPress Forms Plugin v1.3.34
1.7.0 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.3.0 1.3.1 1.3.10 1.3.11 1.3.12 1.3.13 1.3.14 1.3.15 1.3.16 All 67 releases
← All changes | views/tab-settings.php +8 -22 trunk1.3.34 View file →
@@ -1,22 +1,15 @@
1 1 <h2><?php echo __( 'Form Settings', 'html-forms' ); ?></h2>
2 2
3 3 <?php if ( ! defined( 'HF_PREMIUM_VERSION' ) ) : ?>
4 4 <p class="hf-premium">
5 - <?php echo sprintf( __('Enable submission notifications, set a form submission limit, require users to login, and more with <a href="%s">HTML Forms Premium</a>', 'html-forms' ), 'https://htmlformsplugin.com/premium/#utm_source=wp-plugin&amp;utm_medium=html-forms&amp;utm_campaign=actions-tab' ); ?>.
5 + <?php echo sprintf( __('Enable admin notifications and set a form submission limit with <a href="%s">HTML Forms Premium</a>', 'html-forms' ), 'https://htmlformsplugin.com/premium/#utm_source=wp-plugin&amp;utm_medium=html-forms&amp;utm_campaign=actions-tab' ); ?>.
6 6 </p>
7 7 <?php endif; ?>
8 8
9 9 <table class="form-table">
10 10 <tr valign="top">
11 - <th scope="row" colspan="2" class="hf-settings-header"><?php echo __( 'Submissions', 'html-forms' ); ?></th>
12 - </tr>
13 -
14 - <tr valign="top">
15 - <th scope="row">
16 - <?php _e( 'Save Form Submissions', 'html-forms' ); ?>
17 - <a target="_blank" tabindex="-1" class="html-forms-help" href="https://htmlformsplugin.com/kb/save-form-submissions/"><span class="dashicons dashicons-editor-help"></span></a>
18 - </th>
11 + <th scope="row"><?php _e( 'Save Form Submissions?', 'html-forms' ); ?></th>
19 12 <td>
20 13 <label><input type="radio" name="form[settings][save_submissions]" value="1" <?php checked( $form->settings['save_submissions'], 1 ); ?>> <?php _e( 'Yes' ); ?></label> &nbsp;
21 14 <label><input type="radio" name="form[settings][save_submissions]" value="0" <?php checked( $form->settings['save_submissions'], 0 ); ?>> <?php _e( 'No' ); ?></label>
22 15
@@ -24,12 +17,9 @@
24 17 </td>
25 18 </tr>
26 19
27 20 <tr valign="top">
28 - <th scope="row">
29 - <?php _e( 'Hide Form After Successful Submission', 'html-forms' ); ?>
30 - <a target="_blank" tabindex="-1" class="html-forms-help" href="https://htmlformsplugin.com/kb/hide-form-fields-after-submission/"><span class="dashicons dashicons-editor-help"></span></a>
31 - </th>
21 + <th scope="row"><?php _e( 'Hide Form After a Successful Sign-Up?', 'html-forms' ); ?></th>
32 22 <td class="nowrap">
33 23 <label>
34 24 <input type="radio" name="form[settings][hide_after_success]" value="1" <?php checked( $form->settings['hide_after_success'], 1 ); ?> />&rlm;
35 25 <?php _e( 'Yes' ); ?>
@@ -38,18 +28,15 @@
38 28 <input type="radio" name="form[settings][hide_after_success]" value="0" <?php checked( $form->settings['hide_after_success'], 0 ); ?> />&rlm;
39 29 <?php _e( 'No' ); ?>
40 30 </label>
41 31 <p class="description">
42 - <?php _e(' Select "Yes" to hide the form fields after a successful submission.', 'html-forms' ); ?>
32 + <?php _e(' Select "Yes" to hide the form fields after a successful sign-up.', 'html-forms' ); ?>
43 33 </p>
44 34 </td>
45 35 </tr>
46 36
47 37 <tr valign="top">
48 - <th scope="row">
49 - <label for="hf_form_redirect"><?php _e( 'Redirect to URL After Successful Submission', 'html-forms' ); ?></label>
50 - <a target="_blank" tabindex="-1" class="html-forms-help" href="https://htmlformsplugin.com/kb/redirect-url-form-submission/"><span class="dashicons dashicons-editor-help"></span></a>
51 - </th>
38 + <th scope="row"><label for="hf_form_redirect"><?php _e( 'Redirect to URL After Successful Sign-Ups', 'html-forms' ); ?></label></th>
52 39 <td>
53 40 <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'] ); ?>" />
54 41 <p class="description">
55 42 <?php _e( 'Leave empty or enter <code>0</code> for no redirect. Otherwise, use complete (absolute) URLs, including <code>http://</code>.', 'html-forms' ); ?>
@@ -54,9 +41,9 @@
54 41 <p class="description">
55 42 <?php _e( 'Leave empty or enter <code>0</code> for no redirect. Otherwise, use complete (absolute) URLs, including <code>http://</code>.', 'html-forms' ); ?>
56 43 </p>
57 44 <p class="description">
58 - <?php _e( 'You can use the following variables in the redirect URL: ', 'html-forms' ); ?><br /><span class="hf-field-names"></span>
45 + <?php _e( 'You can use the following variables in the redirect URL: ', 'html-forms' ); ?><span class="hf-field-names"></span>
59 46 </p>
60 47 </td>
61 48 </tr>
62 49
@@ -65,10 +52,9 @@
65 52 * Runs after the form settings are printed.
66 53 *
67 54 * @param $form
68 55 */
69 - do_action( 'hf_output_form_settings_submissions', $form );
70 - do_action( 'hf_output_form_settings', $form );
71 -?>
56 + do_action( 'hf_output_form_settings', $form ); ?>
57 +
72 58 </table>
73 59
74 60 <?php submit_button(); ?>