PluginProbe ʕ •ᴥ•ʔ
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More / 1.9.7.2
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More v1.9.7.2
1.10.1.1 1.10.1 1.10.0.5 trunk 1.1.4 1.1.4.2 1.1.5 1.1.5.1 1.1.6 1.1.6.1 1.1.7 1.1.7.1 1.1.7.2 1.1.8 1.1.8.1 1.1.8.2 1.1.8.3 1.1.8.4 1.10.0.1 1.10.0.2 1.10.0.3 1.10.0.4 1.2.0 1.2.0.1 1.2.1 1.2.2 1.2.2.1 1.2.2.2 1.2.3 1.2.3.1 1.2.3.2 1.2.4 1.2.4.1 1.2.5 1.2.5.1 1.2.6 1.2.7 1.2.8 1.2.8.1 1.2.9 1.3.0 1.3.1 1.3.1.1 1.3.1.2 1.3.2 1.3.3 1.3.5 1.3.6 1.3.6.1 1.3.6.2 1.3.7.2 1.3.7.3 1.3.7.4 1.3.8 1.3.9.1 1.4.0.1 1.4.1.1 1.4.2 1.4.2.1 1.4.2.2 1.4.3 1.4.4 1.4.4.1 1.4.5 1.4.5.1 1.4.5.2 1.4.5.3 1.4.6 1.4.7.1 1.4.7.2 1.4.8.1 1.4.9 1.5.0.1 1.5.0.3 1.5.0.4 1.5.1 1.5.1.1 1.5.1.3 1.5.2.1 1.5.2.2 1.5.2.3 1.5.3 1.5.3.1 1.5.4.1 1.5.4.2 1.5.5 1.5.5.1 1.5.6 1.5.6.2 1.5.7 1.5.8.2 1.5.9.1 1.5.9.4 1.5.9.5 1.6.0.1 1.6.0.2 1.6.1 1.6.2.2 1.6.2.3 1.6.3.1 1.6.4 1.6.4.1 1.6.5 1.6.6 1.6.7 1.6.7.1 1.6.7.2 1.6.7.3 1.6.8 1.6.8.1 1.6.9 1.7.0 1.7.1.1 1.7.1.2 1.7.2 1.7.2.1 1.7.3 1.7.4 1.7.4.1 1.7.4.2 1.7.5.1 1.7.5.2 1.7.5.3 1.7.5.5 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.7.9.1 1.8.0.1 1.8.0.2 1.8.1.1 1.8.1.2 1.8.1.3 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.3.1 1.8.4 1.8.4.1 1.8.5.2 1.8.5.3 1.8.5.4 1.8.6.2 1.8.6.3 1.8.6.4 1.8.7.2 1.8.8.2 1.8.8.3 1.8.9.1 1.8.9.2 1.8.9.4 1.8.9.5 1.8.9.6 1.9.0.1 1.9.0.2 1.9.0.3 1.9.0.4 1.9.1.1 1.9.1.2 1.9.1.3 1.9.1.4 1.9.1.5 1.9.1.6 1.9.2.1 1.9.2.2 1.9.2.3 1.9.3.1 1.9.3.2 1.9.4.1 1.9.4.2 1.9.5 1.9.5.1 1.9.5.2 1.9.6 1.9.6.1 1.9.6.2 1.9.7.1 1.9.7.2 1.9.7.3 1.9.8.1 1.9.8.2 1.9.8.4 1.9.8.7 1.9.9.2 1.9.9.3 1.9.9.4
wpforms-lite / templates / builder / field-context-menu.php
wpforms-lite / templates / builder Last commit date
antispam 3 years ago fullscreen 2 years ago notifications 2 years ago payment 1 year ago revisions 2 years ago themes 10 months ago field-context-menu.php 2 years ago help.php 3 years ago templates-item.php 2 years ago
field-context-menu.php
129 lines
1 <?php
2 /**
3 * WPForms Builder Field Context Menu (right click) Template.
4 *
5 * @since 1.8.6
6 */
7
8 use WPForms\Admin\Education\Helpers;
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit;
12 }
13
14 ?>
15
16 <div class="wpforms-context-menu" id="wpforms-field-context-menu">
17 <ul class="wpforms-context-menu-list">
18 <li class="wpforms-context-menu-list-item" data-action="edit">
19 <span class="wpforms-context-menu-list-item-icon">
20 <i class="fa fa-pencil-square-o"></i>
21 </span>
22
23 <span class="wpforms-context-menu-list-item-text">
24 <?php esc_html_e( 'Edit', 'wpforms-lite' ); ?>
25 </span>
26 </li>
27
28 <li class="wpforms-context-menu-list-item" data-action="duplicate">
29 <span class="wpforms-context-menu-list-item-icon">
30 <i class="fa fa-files-o"></i>
31 </span>
32
33 <span class="wpforms-context-menu-list-item-text">
34 <?php esc_html_e( 'Duplicate', 'wpforms-lite' ); ?>
35 </span>
36 </li>
37
38 <li class="wpforms-context-menu-list-item" data-action="delete">
39 <span class="wpforms-context-menu-list-item-icon">
40 <i class="fa fa-trash-o"></i>
41 </span>
42
43 <span class="wpforms-context-menu-list-item-text">
44 <?php esc_html_e( 'Delete', 'wpforms-lite' ); ?>
45 </span>
46 </li>
47
48 <li class="wpforms-context-menu-list-divider" data-visibility="required, label, field-size"></li>
49
50 <li class="wpforms-context-menu-list-item wpforms-context-menu-list-item-selective" data-action="required">
51 <span class="wpforms-context-menu-list-item-icon">
52 <i class="fa fa-asterisk"></i>
53 </span>
54
55 <span class="wpforms-context-menu-list-item-text" data-active-text="<?php esc_html_e( 'Mark as Optional', 'wpforms-lite' ); ?>">
56 <?php esc_html_e( 'Mark as Required', 'wpforms-lite' ); ?>
57 </span>
58 </li>
59
60 <li class="wpforms-context-menu-list-item wpforms-context-menu-list-item-selective" data-action="label">
61 <span class="wpforms-context-menu-list-item-icon">
62 <i class="fa fa-tag"></i>
63 </span>
64
65 <span class="wpforms-context-menu-list-item-text" data-active-text="<?php esc_html_e( 'Show Label', 'wpforms-lite' ); ?>">
66 <?php esc_html_e( 'Hide Label', 'wpforms-lite' ); ?>
67 </span>
68 </li>
69
70 <li class="wpforms-context-menu-list-item wpforms-context-menu-list-item-has-child" data-action="field-size">
71 <span class="wpforms-context-menu-list-item-icon">
72 <i class="fa fa-arrows-h"></i>
73 </span>
74
75 <span class="wpforms-context-menu-list-item-text">
76 <?php esc_html_e( 'Field Size', 'wpforms-lite' ); ?>
77 </span>
78
79 <ul class="wpforms-context-menu-list wpforms-context-menu-list-selective">
80 <li class="wpforms-context-menu-list-item wpforms-context-menu-list-item-selective" data-action="field-size" data-value="small">
81 <span class="wpforms-context-menu-list-item-icon">
82 <i class="fa fa-check"></i>
83 </span>
84
85 <span class="wpforms-context-menu-list-item-text">
86 <?php esc_html_e( 'Small', 'wpforms-lite' ); ?>
87 </span>
88 </li>
89
90 <li class="wpforms-context-menu-list-item wpforms-context-menu-list-item-selective" data-action="field-size" data-value="medium">
91 <span class="wpforms-context-menu-list-item-icon">
92 <i class="fa fa-check"></i>
93 </span>
94
95 <span class="wpforms-context-menu-list-item-text">
96 <?php esc_html_e( 'Medium', 'wpforms-lite' ); ?>
97 </span>
98 </li>
99
100 <li class="wpforms-context-menu-list-item wpforms-context-menu-list-item-selective" data-action="field-size" data-value="large">
101 <span class="wpforms-context-menu-list-item-icon">
102 <i class="fa fa-check"></i>
103 </span>
104
105 <span class="wpforms-context-menu-list-item-text">
106 <?php esc_html_e( 'Large', 'wpforms-lite' ); ?>
107 </span>
108 </li>
109 </ul>
110 </li>
111
112 <li class="wpforms-context-menu-list-divider" data-visibility="smart-logic"></li>
113
114 <li class="wpforms-context-menu-list-item" data-action="smart-logic">
115 <span class="wpforms-context-menu-list-item-icon">
116 <i class="fa fa-random"></i>
117 </span>
118
119 <span class="wpforms-context-menu-list-item-text">
120 <?php esc_html_e( 'Edit Smart Logic', 'wpforms-lite' ); ?>
121 </span>
122
123 <?php if ( ! wpforms()->is_pro() ) : ?>
124 <?php Helpers::print_badge( 'Pro', 'sm', 'inline', 'stone' ); ?>
125 <?php endif; ?>
126 </li>
127 </ul>
128 </div>
129