PluginProbe
HTML Forms – Simple WordPress Forms Plugin / 1.3.11
HTML Forms – Simple WordPress Forms Plugin v1.3.11
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 1.3.17 All 66 releases
html-forms / views / tab-settings.php

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

56 lines 2.6 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 <table class="form-table">
4
5 <tr valign="top">
6 <th scope="row"><?php _e( 'Save form submissions?', 'html-forms' ); ?></th>
7 <td>
8 <label><input type="radio" name="form[settings][save_submissions]" value="1" <?php checked( $form->settings['save_submissions'], 1 ); ?>> <?php _e( 'Yes' ); ?></label> &nbsp;
9 <label><input type="radio" name="form[settings][save_submissions]" value="0" <?php checked( $form->settings['save_submissions'], 0 ); ?>> <?php _e( 'No' ); ?></label>
10
11 <p class="help"><?php _e( 'Select "yes" to store successful form submissions.', 'html-forms' ); ?></p>
12 </td>
13 </tr>
14
15 <tr valign="top">
16 <th scope="row"><?php _e( 'Hide form after a successful sign-up?', 'html-forms' ); ?></th>
17 <td class="nowrap">
18 <label>
19 <input type="radio" name="form[settings][hide_after_success]" value="1" <?php checked( $form->settings['hide_after_success'], 1 ); ?> />&rlm;
20 <?php _e( 'Yes' ); ?>
21 </label> &nbsp;
22 <label>
23 <input type="radio" name="form[settings][hide_after_success]" value="0" <?php checked( $form->settings['hide_after_success'], 0 ); ?> />&rlm;
24 <?php _e( 'No' ); ?>
25 </label>
26 <p class="help">
27 <?php _e( 'Select "yes" to hide the form fields after a successful sign-up.', 'html-forms' ); ?>
28 </p>
29 </td>
30 </tr>
31
32 <tr valign="top">
33 <th scope="row"><label for="hf_form_redirect"><?php _e( 'Redirect to URL after successful sign-ups', 'html-forms' ); ?></label></th>
34 <td>
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">
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 </p>
39 <p class="help">
40 <?php _e( 'You can use the following variables in the redirect URL: ', 'html-forms' ); ?><span class="hf-field-names"></span>
41 </p>
42 </td>
43 </tr>
44
45 <?php
46 /**
47 * Runs after the form settings are printed.
48 *
49 * @param $form
50 */
51 do_action( 'hf_output_form_settings', $form ); ?>
52
53 </table>
54
55 <?php submit_button(); ?>
56