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 / styles / _field-labels.php

_field-labels.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 5.2, at classes/views/styles/_field-labels.php

69 lines 3.7 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 <p class="frm4 frm_first frm_form_field">
7 <label><?php esc_html_e( 'Color', 'formidable' ); ?></label>
8 <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'label_color' ) ); ?>" id="frm_label_color" class="hex" value="<?php echo esc_attr( $style->post_content['label_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'label_color' ); ?> />
9 </p>
10 <p class="frm4 frm_form_field">
11 <label><?php esc_html_e( 'Weight', 'formidable' ); ?></label>
12 <select name="<?php echo esc_attr( $frm_style->get_field_name( 'weight' ) ); ?>" id="frm_weight">
13 <?php foreach ( FrmStyle::get_bold_options() as $value => $name ) { ?>
14 <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $style->post_content['weight'], $value ); ?>><?php echo esc_html( $name ); ?></option>
15 <?php } ?>
16 </select>
17 </p>
18 <p class="frm4 frm_form_field">
19 <label><?php esc_html_e( 'Size', 'formidable' ); ?></label>
20 <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'font_size' ) ); ?>" id="frm_font_size" value="<?php echo esc_attr( $style->post_content['font_size'] ); ?>" size="3" />
21 </p>
22
23 <p class="frm4 frm_first frm_form_field">
24 <label><?php esc_html_e( 'Position', 'formidable' ); ?></label>
25 <select name="<?php echo esc_attr( $frm_style->get_field_name( 'position' ) ); ?>" id="frm_position">
26 <?php foreach ( FrmStylesHelper::get_css_label_positions() as $pos => $pos_label ) { ?>
27 <option value="<?php echo esc_attr( $pos ); ?>" <?php selected( $style->post_content['position'], $pos ); ?>><?php echo esc_html( $pos_label ); ?></option>
28 <?php } ?>
29 </select>
30 </p>
31
32 <p class="frm4 frm_form_field">
33 <label for="frm_align"><?php esc_html_e( 'Align', 'formidable' ); ?></label>
34 <select name="<?php echo esc_attr( $frm_style->get_field_name( 'align' ) ); ?>" id="frm_align">
35 <option value="left" <?php selected( $style->post_content['align'], 'left' ); ?>>
36 <?php esc_html_e( 'left', 'formidable' ); ?>
37 </option>
38 <option value="right" <?php selected( $style->post_content['align'], 'right' ); ?>>
39 <?php esc_html_e( 'right', 'formidable' ); ?>
40 </option>
41 </select>
42 </p>
43
44 <p class="frm4 frm_form_field">
45 <label><?php esc_html_e( 'Width', 'formidable' ); ?></label>
46 <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'width' ) ); ?>" id="frm_width" value="<?php echo esc_attr( $style->post_content['width'] ); ?>" />
47 </p>
48
49 <p class="frm4 frm_first frm_form_field">
50 <label><?php esc_html_e( 'Padding', 'formidable' ); ?></label>
51 <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'label_padding' ) ); ?>" id="frm_label_padding" value="<?php echo esc_attr( $style->post_content['label_padding'] ); ?>" />
52 </p>
53
54 <h4 class="frm_clear">
55 <span><?php esc_html_e( 'Required Indicator', 'formidable' ); ?></span>
56 </h4>
57 <p class="frm4 frm_first frm_form_field">
58 <label class="background"><?php esc_html_e( 'Color', 'formidable' ); ?></label>
59 <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'required_color' ) ); ?>" id="frm_required_color" class="hex" value="<?php echo esc_attr( $style->post_content['required_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'required_color' ); ?> />
60 </p>
61 <p class="frm4 frm_form_field">
62 <label><?php esc_html_e( 'Weight', 'formidable' ); ?></label>
63 <select name="<?php echo esc_attr( $frm_style->get_field_name( 'required_weight' ) ); ?>" id="frm_required_weight">
64 <?php foreach ( FrmStyle::get_bold_options() as $value => $name ) { ?>
65 <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $style->post_content['required_weight'], $value ); ?>><?php echo esc_html( $name ); ?></option>
66 <?php } ?>
67 </select>
68 </p>
69