PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.2
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / frm-forms / settings-html.php

settings-html.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 5.2, at classes/views/frm-forms/settings-html.php

46 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5 ?>
6 <div class="frm_field_html_box frm_top_container">
7 <p>
8 <label><?php esc_html_e( 'Form Classes', 'formidable' ); ?></label>
9 <input type="text" name="options[form_class]" value="<?php echo esc_attr( $values['form_class'] ); ?>" />
10 </p>
11 <div class="clear"></div>
12
13 <p class="frm_has_shortcodes">
14 <label><?php esc_html_e( 'Before Fields', 'formidable' ); ?></label>
15 <textarea name="options[before_html]" rows="4" id="before_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea( $values['before_html'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></textarea>
16 </p>
17
18 <div id="add_html_fields">
19 <?php
20 if ( isset( $values['fields'] ) ) {
21 foreach ( $values['fields'] as $field ) {
22 if ( FrmFieldFactory::field_has_html( $field['type'] ) ) {
23 ?>
24 <p class="frm_has_shortcodes">
25 <label><?php echo esc_html( $field['name'] ); ?></label>
26 <textarea name="field_options[custom_html_<?php echo esc_attr( $field['id'] ); ?>]" rows="7" id="custom_html_<?php echo esc_attr( $field['id'] ); ?>" class="field_custom_html frm_long_input"><?php echo FrmAppHelper::esc_textarea( $field['custom_html'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></textarea>
27 </p>
28 <?php
29 }
30 unset( $field );
31 }
32 }
33 ?>
34 </div>
35
36 <p class="frm_has_shortcodes">
37 <label><?php esc_html_e( 'After Fields', 'formidable' ); ?></label>
38 <textarea name="options[after_html]" rows="3" id="after_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea( $values['after_html'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></textarea>
39 </p>
40
41 <p class="frm_has_shortcodes">
42 <label><?php esc_html_e( 'Submit Button', 'formidable' ); ?></label>
43 <textarea name="options[submit_html]" rows="3" id="submit_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea( $values['submit_html'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></textarea>
44 </p>
45 </div>
46