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
html-forms / views / tab-settings.php

tab-settings.php in HTML Forms – Simple WordPress Forms Plugin 1.3.34, at views/tab-settings.php

61 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <h2><?php echo __( 'Form Settings', 'html-forms' ); ?></h2>
2
3 <?php if ( ! defined( 'HF_PREMIUM_VERSION' ) ) : ?>
4 <p class="hf-premium">
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 </p>
7 <?php endif; ?>
8
9 <table class="form-table">
10 <tr valign="top">
11 <th scope="row"><?php _e( 'Save Form Submissions?', 'html-forms' ); ?></th>
12 <td>
13 <label><input type="radio" name="form[settings][save_submissions]" value="1" <?php checked( $form->settings['save_submissions'], 1 ); ?>> <?php _e( 'Yes' ); ?></label> &nbsp;
14 <label><input type="radio" name="form[settings][save_submissions]" value="0" <?php checked( $form->settings['save_submissions'], 0 ); ?>> <?php _e( 'No' ); ?></label>
15
16 <p class="description"><?php _e( 'Select "Yes" to store successful form submissions.', 'html-forms' ); ?></p>
17 </td>
18 </tr>
19
20 <tr valign="top">
21 <th scope="row"><?php _e( 'Hide Form After a Successful Sign-Up?', 'html-forms' ); ?></th>
22 <td class="nowrap">
23 <label>
24 <input type="radio" name="form[settings][hide_after_success]" value="1" <?php checked( $form->settings['hide_after_success'], 1 ); ?> />&rlm;
25 <?php _e( 'Yes' ); ?>
26 </label> &nbsp;
27 <label>
28 <input type="radio" name="form[settings][hide_after_success]" value="0" <?php checked( $form->settings['hide_after_success'], 0 ); ?> />&rlm;
29 <?php _e( 'No' ); ?>
30 </label>
31 <p class="description">
32 <?php _e(' Select "Yes" to hide the form fields after a successful sign-up.', 'html-forms' ); ?>
33 </p>
34 </td>
35 </tr>
36
37 <tr valign="top">
38 <th scope="row"><label for="hf_form_redirect"><?php _e( 'Redirect to URL After Successful Sign-Ups', 'html-forms' ); ?></label></th>
39 <td>
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'] ); ?>" />
41 <p class="description">
42 <?php _e( 'Leave empty or enter <code>0</code> for no redirect. Otherwise, use complete (absolute) URLs, including <code>http://</code>.', 'html-forms' ); ?>
43 </p>
44 <p class="description">
45 <?php _e( 'You can use the following variables in the redirect URL: ', 'html-forms' ); ?><span class="hf-field-names"></span>
46 </p>
47 </td>
48 </tr>
49
50 <?php
51 /**
52 * Runs after the form settings are printed.
53 *
54 * @param $form
55 */
56 do_action( 'hf_output_form_settings', $form ); ?>
57
58 </table>
59
60 <?php submit_button(); ?>
61