PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.6.21
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.6.21
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
weforms / includes / admin / views / display-settings.php

display-settings.php in weForms – Easy Drag & Drop Contact Form Builder For WordPress 1.6.21, at includes/admin/views/display-settings.php

50 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <table class="form-table">
2
3 <tr class="wpuf-label-position">
4 <th><?php esc_html_e( 'Label Position', 'weforms' ); ?></th>
5 <td>
6 <select v-model="settings.label_position">
7 <?php
8 $positions = [
9 'above' => __( 'Above Element', 'weforms' ),
10 'left' => __( 'Left of Element', 'weforms' ),
11 'right' => __( 'Right of Element', 'weforms' ),
12 'hidden' => __( 'Hidden', 'weforms' ),
13 ];
14
15 foreach ($positions as $to => $label) {
16 printf( '<option value="%s"%s>%s</option>', esc_attr( $to ), '', esc_attr( $label ) );
17 }
18 ?>
19 </select>
20
21 <p class="description">
22 <?php esc_html_e( 'Where the labels of the form should display', 'weforms' ) ?>
23 </p>
24 </td>
25 </tr>
26
27 <tr class="wpuf-use-theme-css">
28 <th><?php esc_html_e( 'Use Theme CSS', 'weforms' ); ?></th>
29 <td>
30 <select v-model="settings.use_theme_css">
31 <?php
32 $options = [
33 'wpuf-theme-style' => __( 'Yes', 'weforms' ),
34 'wpuf-style' => __( 'No', 'weforms' ),
35 ];
36
37 foreach ($options as $key => $label) {
38 printf( '<option value="%s"%s>%s</option>', esc_attr( $key ), '', esc_attr( $label ) );
39 }
40 ?>
41 </select>
42
43 <p class="description">
44 <?php wp_kses_post( __( "Selecting <strong>Yes</strong> will use your theme's style for form fields.", "weforms" ) ) ?>
45 </p>
46 </td>
47 </tr>
48
49 </table>
50