Version Description
Fix for submitting multiple forms on a single page. Other bug fixes and improvements.
Download this release
Release Info
Developer | mmuro |
Plugin | Visual Form Builder |
Version | 1.5 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.5
- class-entries-list.php +2 -3
- css/nav-menu.css +705 -0
- nav-menu.css +705 -0
- readme.txt +10 -1
- sprite.png +0 -0
- visual-form-builder-admin.css +55 -0
- visual-form-builder.css +120 -0
- visual-form-builder.php +10 -12
class-entries-list.php
CHANGED
@@ -128,10 +128,9 @@ class VisualFormBuilder_Entries_List extends WP_List_Table {
|
|
128 |
$where = '';
|
129 |
|
130 |
/* If the form filter dropdown is used */
|
131 |
-
if ( $this->current_filter_action()
|
132 |
$where = 'WHERE forms.form_id = ' . $this->current_filter_action();
|
133 |
-
|
134 |
-
|
135 |
$sql_order = sanitize_sql_orderby( "$order_col $order" );
|
136 |
$query = "SELECT forms.form_title, entries.* FROM $this->form_table_name AS forms INNER JOIN $this->entries_table_name AS entries ON entries.form_id = forms.form_id $where ORDER BY $sql_order";
|
137 |
|
128 |
$where = '';
|
129 |
|
130 |
/* If the form filter dropdown is used */
|
131 |
+
if ( $this->current_filter_action() )
|
132 |
$where = 'WHERE forms.form_id = ' . $this->current_filter_action();
|
133 |
+
|
|
|
134 |
$sql_order = sanitize_sql_orderby( "$order_col $order" );
|
135 |
$query = "SELECT forms.form_title, entries.* FROM $this->form_table_name AS forms INNER JOIN $this->entries_table_name AS entries ON entries.form_id = forms.form_id $where ORDER BY $sql_order";
|
136 |
|
css/nav-menu.css
ADDED
@@ -0,0 +1,705 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* WordPress Administration Custom Navigation
|
3 |
+
* Interface CSS
|
4 |
+
*
|
5 |
+
* @version 2.0.0
|
6 |
+
*
|
7 |
+
* @package WordPress
|
8 |
+
* @subpackage Administration
|
9 |
+
*/
|
10 |
+
|
11 |
+
html,
|
12 |
+
body {
|
13 |
+
min-width: 950px;
|
14 |
+
}
|
15 |
+
|
16 |
+
#nav-menus-frame {
|
17 |
+
margin-left: 300px;
|
18 |
+
}
|
19 |
+
|
20 |
+
#wpbody-content #menu-settings-column {
|
21 |
+
display:inline;
|
22 |
+
width:281px;
|
23 |
+
margin-left: -300px;
|
24 |
+
clear: both;
|
25 |
+
float: left;
|
26 |
+
padding-top: 24px;
|
27 |
+
}
|
28 |
+
.no-js #wpbody-content #menu-settings-column {
|
29 |
+
padding-top: 31px;
|
30 |
+
}
|
31 |
+
|
32 |
+
#menu-settings-column .inside {
|
33 |
+
clear: both;
|
34 |
+
}
|
35 |
+
|
36 |
+
.metabox-holder-disabled .postbox {
|
37 |
+
opacity: 0.5;
|
38 |
+
filter: alpha(opacity=50);
|
39 |
+
}
|
40 |
+
|
41 |
+
.metabox-holder-disabled .button-controls .select-all {
|
42 |
+
display: none;
|
43 |
+
}
|
44 |
+
#wpbody {
|
45 |
+
position: relative;
|
46 |
+
}
|
47 |
+
|
48 |
+
/* Menu Container */
|
49 |
+
#menu-management-liquid {
|
50 |
+
float: left;
|
51 |
+
min-width: 100%;
|
52 |
+
}
|
53 |
+
|
54 |
+
#menu-management {
|
55 |
+
position: relative;
|
56 |
+
margin-right: 20px;
|
57 |
+
margin-top: -3px;
|
58 |
+
width: 100%;
|
59 |
+
}
|
60 |
+
|
61 |
+
#menu-management .menu-edit {
|
62 |
+
border: 1px solid;
|
63 |
+
-moz-border-radius: 3px;
|
64 |
+
-webkit-border-radius: 3px;
|
65 |
+
-khtml-border-radius: 3px;
|
66 |
+
border-radius: 3px;
|
67 |
+
margin-bottom: 20px;
|
68 |
+
}
|
69 |
+
|
70 |
+
#post-body {
|
71 |
+
padding: 10px;
|
72 |
+
border-width: 1px 0;
|
73 |
+
border-style: solid;
|
74 |
+
}
|
75 |
+
|
76 |
+
#nav-menu-header,
|
77 |
+
#nav-menu-footer {
|
78 |
+
padding: 0 10px;
|
79 |
+
}
|
80 |
+
|
81 |
+
#nav-menu-header {
|
82 |
+
border-bottom: 1px solid;
|
83 |
+
}
|
84 |
+
|
85 |
+
#nav-menu-footer {
|
86 |
+
border-top: 1px solid;
|
87 |
+
}
|
88 |
+
|
89 |
+
#post-body div.updated, #post-body div.error {
|
90 |
+
margin: 0;
|
91 |
+
}
|
92 |
+
|
93 |
+
#post-body-content {
|
94 |
+
position: relative;
|
95 |
+
}
|
96 |
+
|
97 |
+
#menu-management .menu-add-new abbr {
|
98 |
+
font-weight:bold;
|
99 |
+
}
|
100 |
+
|
101 |
+
/* Menu Tabs */
|
102 |
+
|
103 |
+
#menu-management .nav-tabs-nav {
|
104 |
+
margin: 0 20px;
|
105 |
+
}
|
106 |
+
|
107 |
+
#menu-management .nav-tabs-arrow {
|
108 |
+
width: 10px;
|
109 |
+
padding: 0 5px 4px;
|
110 |
+
cursor: pointer;
|
111 |
+
position: absolute;
|
112 |
+
top: 0;
|
113 |
+
line-height: 22px;
|
114 |
+
font-size: 18px;
|
115 |
+
text-shadow: 0 1px 0 #fff;
|
116 |
+
}
|
117 |
+
|
118 |
+
#menu-management .nav-tabs-arrow a:hover{
|
119 |
+
}
|
120 |
+
|
121 |
+
#menu-management .nav-tabs-arrow a:active {
|
122 |
+
}
|
123 |
+
|
124 |
+
#menu-management .nav-tabs-arrow-left {
|
125 |
+
left: 0;
|
126 |
+
}
|
127 |
+
|
128 |
+
#menu-management .nav-tabs-arrow-right {
|
129 |
+
right: 0;
|
130 |
+
text-align: right;
|
131 |
+
}
|
132 |
+
|
133 |
+
#menu-management .nav-tabs-wrapper {
|
134 |
+
width: 100%;
|
135 |
+
height: 28px;
|
136 |
+
margin-bottom: -1px;
|
137 |
+
overflow: hidden;
|
138 |
+
}
|
139 |
+
|
140 |
+
#menu-management .nav-tabs {
|
141 |
+
padding-left: 20px;
|
142 |
+
padding-right: 10px;
|
143 |
+
}
|
144 |
+
|
145 |
+
.js #menu-management .nav-tabs {
|
146 |
+
float: left;
|
147 |
+
margin-left: 0px;
|
148 |
+
margin-right: -400px;
|
149 |
+
}
|
150 |
+
|
151 |
+
#menu-management .nav-tab {
|
152 |
+
margin-bottom: 0;
|
153 |
+
font-size: 14px;
|
154 |
+
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
155 |
+
}
|
156 |
+
|
157 |
+
|
158 |
+
#select-nav-menu-container {
|
159 |
+
text-align: right;
|
160 |
+
padding: 0 10px 3px 10px;
|
161 |
+
margin-bottom: 5px;
|
162 |
+
}
|
163 |
+
|
164 |
+
#select-nav-menu {
|
165 |
+
width: 100px;
|
166 |
+
display: inline;
|
167 |
+
}
|
168 |
+
|
169 |
+
#menu-name-label {
|
170 |
+
margin-top: -2px;
|
171 |
+
}
|
172 |
+
|
173 |
+
#wpbody .open-label {
|
174 |
+
display: block;
|
175 |
+
float:left;
|
176 |
+
}
|
177 |
+
|
178 |
+
#wpbody .open-label span {
|
179 |
+
padding-right: 10px;
|
180 |
+
}
|
181 |
+
|
182 |
+
.js .input-with-default-title {
|
183 |
+
font-style: italic;
|
184 |
+
}
|
185 |
+
|
186 |
+
#menu-management .inside {
|
187 |
+
padding: 0 10px;
|
188 |
+
}
|
189 |
+
|
190 |
+
/* Add Menu Item Boxes */
|
191 |
+
.postbox .howto input {
|
192 |
+
width: 180px;
|
193 |
+
float: right;
|
194 |
+
}
|
195 |
+
|
196 |
+
.customlinkdiv .howto input {
|
197 |
+
width: 200px;
|
198 |
+
}
|
199 |
+
|
200 |
+
#nav-menu-theme-locations .howto select {
|
201 |
+
width: 100%;
|
202 |
+
}
|
203 |
+
|
204 |
+
#nav-menu-theme-locations .button-controls {
|
205 |
+
text-align: right;
|
206 |
+
}
|
207 |
+
|
208 |
+
.add-menu-item-view-all {
|
209 |
+
height: 400px;
|
210 |
+
}
|
211 |
+
|
212 |
+
/* Button Primary Actions */
|
213 |
+
#menu-container .submit {
|
214 |
+
margin: 0px 0px 10px;
|
215 |
+
padding: 0px;
|
216 |
+
}
|
217 |
+
|
218 |
+
.meta-sep,
|
219 |
+
.submitdelete,
|
220 |
+
.submitcancel {
|
221 |
+
display:block;
|
222 |
+
float:left;
|
223 |
+
font-size: 12px;
|
224 |
+
margin: 4px 0;
|
225 |
+
line-height: 15px;
|
226 |
+
}
|
227 |
+
|
228 |
+
.meta-sep {
|
229 |
+
padding: 0 2px;
|
230 |
+
}
|
231 |
+
|
232 |
+
#cancel-save {
|
233 |
+
text-decoration: underline;
|
234 |
+
font-size: 12px;
|
235 |
+
margin-left: 20px;
|
236 |
+
margin-top: 5px;
|
237 |
+
}
|
238 |
+
|
239 |
+
/* Button Secondary Actions */
|
240 |
+
.list-controls {
|
241 |
+
float: left;
|
242 |
+
margin-top: 5px;
|
243 |
+
}
|
244 |
+
|
245 |
+
.add-to-menu {
|
246 |
+
float: right;
|
247 |
+
}
|
248 |
+
|
249 |
+
.postbox img.waiting {
|
250 |
+
display: none;
|
251 |
+
vertical-align: middle;
|
252 |
+
}
|
253 |
+
|
254 |
+
.button-controls {
|
255 |
+
clear:both;
|
256 |
+
margin: 10px 0;
|
257 |
+
}
|
258 |
+
|
259 |
+
.show-all, .hide-all {
|
260 |
+
cursor: pointer;
|
261 |
+
}
|
262 |
+
|
263 |
+
.hide-all {
|
264 |
+
display: none;
|
265 |
+
}
|
266 |
+
|
267 |
+
/* Create Menu */
|
268 |
+
#menu-name {
|
269 |
+
width: 270px;
|
270 |
+
}
|
271 |
+
|
272 |
+
#manage-menu .inside {
|
273 |
+
padding: 0px 0px;
|
274 |
+
}
|
275 |
+
|
276 |
+
/* Custom Links */
|
277 |
+
#available-links dt {
|
278 |
+
display: block;
|
279 |
+
}
|
280 |
+
|
281 |
+
#add-custom-link .howto {
|
282 |
+
font-size: 12px;
|
283 |
+
}
|
284 |
+
|
285 |
+
#add-custom-link label span {
|
286 |
+
display: block;
|
287 |
+
float: left;
|
288 |
+
margin-top: 5px;
|
289 |
+
padding-right: 5px;
|
290 |
+
}
|
291 |
+
|
292 |
+
.menu-item-textbox {
|
293 |
+
width: 180px;
|
294 |
+
}
|
295 |
+
|
296 |
+
.howto span {
|
297 |
+
margin-top: 4px;
|
298 |
+
display: block;
|
299 |
+
float: left;
|
300 |
+
}
|
301 |
+
|
302 |
+
/* Menu item types */
|
303 |
+
.quick-search {
|
304 |
+
width: 190px;
|
305 |
+
}
|
306 |
+
|
307 |
+
.list-wrap {
|
308 |
+
display: none;
|
309 |
+
clear: both;
|
310 |
+
margin-bottom: 10px;
|
311 |
+
}
|
312 |
+
|
313 |
+
.list-container {
|
314 |
+
max-height: 200px;
|
315 |
+
overflow-y: auto;
|
316 |
+
padding: 10px 10px 5px;
|
317 |
+
border: 1px solid;
|
318 |
+
-moz-border-radius: 3px;
|
319 |
+
}
|
320 |
+
|
321 |
+
.postbox p.submit {
|
322 |
+
margin-bottom: 0;
|
323 |
+
}
|
324 |
+
|
325 |
+
/* Listings */
|
326 |
+
.list li {
|
327 |
+
display: none;
|
328 |
+
margin: 0;
|
329 |
+
margin-bottom: 5px;
|
330 |
+
}
|
331 |
+
|
332 |
+
.list li .menu-item-title {
|
333 |
+
cursor: pointer;
|
334 |
+
display: block;
|
335 |
+
}
|
336 |
+
|
337 |
+
.list li .menu-item-title input {
|
338 |
+
margin-right: 3px;
|
339 |
+
margin-top: -3px;
|
340 |
+
}
|
341 |
+
|
342 |
+
/* Nav Menu */
|
343 |
+
#menu-container .inside {
|
344 |
+
padding-bottom: 10px;
|
345 |
+
}
|
346 |
+
|
347 |
+
.menu {
|
348 |
+
padding-top:1em;
|
349 |
+
}
|
350 |
+
|
351 |
+
#menu-to-edit {
|
352 |
+
padding: 1em 0;
|
353 |
+
}
|
354 |
+
|
355 |
+
.menu ul {
|
356 |
+
width: 100%;
|
357 |
+
}
|
358 |
+
|
359 |
+
.menu ul.sub-menu {
|
360 |
+
}
|
361 |
+
|
362 |
+
.menu li {
|
363 |
+
margin-bottom: 0;
|
364 |
+
position:relative;
|
365 |
+
}
|
366 |
+
|
367 |
+
.menu-item-bar {
|
368 |
+
clear:both;
|
369 |
+
line-height:1.5em;
|
370 |
+
position:relative;
|
371 |
+
margin-top: 13px;
|
372 |
+
}
|
373 |
+
|
374 |
+
.menu-item-handle {
|
375 |
+
border: 1px solid #dfdfdf;
|
376 |
+
position: relative;
|
377 |
+
padding-left: 10px;
|
378 |
+
height: auto;
|
379 |
+
width: 400px;
|
380 |
+
line-height: 35px;
|
381 |
+
text-shadow: 0 1px 0 #FFFFFF;
|
382 |
+
overflow: hidden;
|
383 |
+
word-wrap: break-word;
|
384 |
+
border-radius: 3px;
|
385 |
+
-webkit-border-radius: 3px;
|
386 |
+
-moz-border-radius: 3px;
|
387 |
+
-khtml-border-radius: 3px;
|
388 |
+
}
|
389 |
+
|
390 |
+
#menu-to-edit .menu-item-invalid .menu-item-handle {
|
391 |
+
background-color: #f6c9cc; /* Fallback */
|
392 |
+
background-image: -ms-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* IE10 */
|
393 |
+
background-image: -moz-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* Firefox */
|
394 |
+
background-image: -o-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* Opera */
|
395 |
+
background-image: -webkit-gradient(linear, left bottom, left top, from(#f6c9cc), to(#fdf8ff)); /* old Webkit */
|
396 |
+
background-image: -webkit-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* new Webkit */
|
397 |
+
background-image: linear-gradient(bottom, #f6c9cc, #fdf8ff); /* proposed W3C Markup */
|
398 |
+
}
|
399 |
+
|
400 |
+
.menu-item-edit-active .menu-item-handle {
|
401 |
+
-moz-border-radius: 3px 3px 0 0;
|
402 |
+
-webkit-border-bottom-right-radius: 0;
|
403 |
+
-webkit-border-bottom-left-radius: 0;
|
404 |
+
-khtml-border-bottom-right-radius: 0;
|
405 |
+
-khtml-border-bottom-left-radius: 0;
|
406 |
+
border-bottom-right-radius: 0;
|
407 |
+
border-bottom-left-radius: 0;
|
408 |
+
}
|
409 |
+
|
410 |
+
.no-js .menu-item-edit-active .item-edit {
|
411 |
+
display: none;
|
412 |
+
}
|
413 |
+
|
414 |
+
.js .menu-item-handle {
|
415 |
+
cursor: move;
|
416 |
+
}
|
417 |
+
|
418 |
+
.menu li.deleting .menu-item-handle {
|
419 |
+
background-image: none;
|
420 |
+
text-shadow: 0 0 0;
|
421 |
+
}
|
422 |
+
|
423 |
+
.menu-item-handle .item-title {
|
424 |
+
font-size: 12px;
|
425 |
+
font-weight: bold;
|
426 |
+
padding: 7px 0;
|
427 |
+
line-height: 20px;
|
428 |
+
display:block;
|
429 |
+
margin-right:13em;
|
430 |
+
}
|
431 |
+
|
432 |
+
/* Sortables */
|
433 |
+
li.menu-item.ui-sortable-helper dl {
|
434 |
+
margin-top: 0;
|
435 |
+
}
|
436 |
+
|
437 |
+
li.menu-item.ui-sortable-helper .menu-item-transport dl {
|
438 |
+
margin-top: 13px;
|
439 |
+
}
|
440 |
+
|
441 |
+
.menu .sortable-placeholder {
|
442 |
+
height: 35px;
|
443 |
+
width: 410px;
|
444 |
+
margin-top: 13px;
|
445 |
+
}
|
446 |
+
|
447 |
+
/* WARNING: The factor of 30px is hardcoded into the nav-menus javascript. */
|
448 |
+
.menu-item-depth-0 { margin-left: 0px; }
|
449 |
+
.menu-item-depth-1 { margin-left: 30px; }
|
450 |
+
.menu-item-depth-2 { margin-left: 60px; }
|
451 |
+
.menu-item-depth-3 { margin-left: 90px; }
|
452 |
+
.menu-item-depth-4 { margin-left: 120px; }
|
453 |
+
.menu-item-depth-5 { margin-left: 150px; }
|
454 |
+
.menu-item-depth-6 { margin-left: 180px; }
|
455 |
+
.menu-item-depth-7 { margin-left: 210px; }
|
456 |
+
.menu-item-depth-8 { margin-left: 240px; }
|
457 |
+
.menu-item-depth-9 { margin-left: 270px; }
|
458 |
+
.menu-item-depth-10 { margin-left: 300px; }
|
459 |
+
.menu-item-depth-11 { margin-left: 330px; }
|
460 |
+
|
461 |
+
.menu-item-depth-0 .menu-item-transport { margin-left: 0px; }
|
462 |
+
.menu-item-depth-1 .menu-item-transport { margin-left: -30px; }
|
463 |
+
.menu-item-depth-2 .menu-item-transport { margin-left: -60px; }
|
464 |
+
.menu-item-depth-3 .menu-item-transport { margin-left: -90px; }
|
465 |
+
.menu-item-depth-4 .menu-item-transport { margin-left: -120px; }
|
466 |
+
.menu-item-depth-5 .menu-item-transport { margin-left: -150px; }
|
467 |
+
.menu-item-depth-6 .menu-item-transport { margin-left: -180px; }
|
468 |
+
.menu-item-depth-7 .menu-item-transport { margin-left: -210px; }
|
469 |
+
.menu-item-depth-8 .menu-item-transport { margin-left: -240px; }
|
470 |
+
.menu-item-depth-9 .menu-item-transport { margin-left: -270px; }
|
471 |
+
.menu-item-depth-10 .menu-item-transport { margin-left: -300px; }
|
472 |
+
.menu-item-depth-11 .menu-item-transport { margin-left: -330px; }
|
473 |
+
|
474 |
+
body.menu-max-depth-0 { min-width: 950px !important; }
|
475 |
+
body.menu-max-depth-1 { min-width: 980px !important; }
|
476 |
+
body.menu-max-depth-2 { min-width: 1010px !important; }
|
477 |
+
body.menu-max-depth-3 { min-width: 1040px !important; }
|
478 |
+
body.menu-max-depth-4 { min-width: 1070px !important; }
|
479 |
+
body.menu-max-depth-5 { min-width: 1100px !important; }
|
480 |
+
body.menu-max-depth-6 { min-width: 1130px !important; }
|
481 |
+
body.menu-max-depth-7 { min-width: 1160px !important; }
|
482 |
+
body.menu-max-depth-8 { min-width: 1190px !important; }
|
483 |
+
body.menu-max-depth-9 { min-width: 1220px !important; }
|
484 |
+
body.menu-max-depth-10 { min-width: 1250px !important; }
|
485 |
+
body.menu-max-depth-11 { min-width: 1280px !important; }
|
486 |
+
|
487 |
+
/* Menu item controls */
|
488 |
+
.item-type {
|
489 |
+
font-size: 12px;
|
490 |
+
padding-right: 10px;
|
491 |
+
}
|
492 |
+
|
493 |
+
.item-controls {
|
494 |
+
font-size: 12px;
|
495 |
+
position: absolute;
|
496 |
+
right: 20px;
|
497 |
+
top: -1px;
|
498 |
+
}
|
499 |
+
|
500 |
+
.item-controls a {
|
501 |
+
text-decoration: none;
|
502 |
+
}
|
503 |
+
|
504 |
+
.item-controls a:hover {
|
505 |
+
cursor: pointer;
|
506 |
+
}
|
507 |
+
|
508 |
+
.item-controls .item-order {
|
509 |
+
padding-right: 10px;
|
510 |
+
}
|
511 |
+
|
512 |
+
.item-controls .item-order a {
|
513 |
+
font-weight:bold;
|
514 |
+
}
|
515 |
+
|
516 |
+
body.js .item-order {
|
517 |
+
display:none;
|
518 |
+
}
|
519 |
+
|
520 |
+
.item-controls .menu-item-delete:hover {
|
521 |
+
}
|
522 |
+
|
523 |
+
.item-edit {
|
524 |
+
position: absolute;
|
525 |
+
right: -20px;
|
526 |
+
top: 0;
|
527 |
+
display: block;
|
528 |
+
width:30px;
|
529 |
+
height: 36px;
|
530 |
+
overflow: hidden;
|
531 |
+
text-indent:-999em;
|
532 |
+
border-bottom: 1px solid;
|
533 |
+
-moz-border-radius-bottomleft: 3px;
|
534 |
+
-webkit-border-bottom-left-radius: 3px;
|
535 |
+
-khtml-border-bottom-left-radius: 3px;
|
536 |
+
border-bottom-left-radius: 3px;
|
537 |
+
}
|
538 |
+
|
539 |
+
.item-edit:hover {
|
540 |
+
}
|
541 |
+
|
542 |
+
/* Menu editing */
|
543 |
+
.menu-instructions-inactive {
|
544 |
+
display: none;
|
545 |
+
}
|
546 |
+
|
547 |
+
.menu-item-settings {
|
548 |
+
display:block;
|
549 |
+
width: 400px;
|
550 |
+
padding: 10px 0 10px 10px;
|
551 |
+
border: solid;
|
552 |
+
border-width: 0 1px 1px 1px;
|
553 |
+
-moz-border-radius: 0 0 3px 3px;
|
554 |
+
-webkit-border-bottom-right-radius: 3px;
|
555 |
+
-webkit-border-bottom-left-radius: 3px;
|
556 |
+
-khtml-border-bottom-right-radius: 3px;
|
557 |
+
-khtml-border-bottom-left-radius: 3px;
|
558 |
+
}
|
559 |
+
|
560 |
+
.menu-item-edit-active .menu-item-settings {
|
561 |
+
display:block;
|
562 |
+
}
|
563 |
+
|
564 |
+
.menu-item-edit-inactive .menu-item-settings {
|
565 |
+
display:none;
|
566 |
+
}
|
567 |
+
|
568 |
+
.add-menu-item-pagelinks {
|
569 |
+
margin:.5em auto;
|
570 |
+
text-align:center;
|
571 |
+
}
|
572 |
+
|
573 |
+
.link-to-original {
|
574 |
+
display: block;
|
575 |
+
margin: 0 0 10px;
|
576 |
+
padding: 3px 5px 5px;
|
577 |
+
font-size: 12px;
|
578 |
+
font-style: italic;
|
579 |
+
border: 1px solid;
|
580 |
+
border-radius: 3px;
|
581 |
+
-webkit-border-radius: 3px;
|
582 |
+
-moz-border-radius: 3px;
|
583 |
+
-khtml-border-radius: 3px;
|
584 |
+
}
|
585 |
+
|
586 |
+
.link-to-original a {
|
587 |
+
padding-left: 4px;
|
588 |
+
font-style: normal;
|
589 |
+
}
|
590 |
+
|
591 |
+
.hidden-field {
|
592 |
+
display: none;
|
593 |
+
}
|
594 |
+
|
595 |
+
.menu-item-settings .description-thin,
|
596 |
+
.menu-item-settings .description-wide {
|
597 |
+
margin-right: 10px;
|
598 |
+
float: left;
|
599 |
+
}
|
600 |
+
|
601 |
+
.description-thin {
|
602 |
+
width: 190px;
|
603 |
+
height: 40px;
|
604 |
+
}
|
605 |
+
|
606 |
+
.description-wide {
|
607 |
+
width: 390px;
|
608 |
+
}
|
609 |
+
|
610 |
+
.menu-item-actions {
|
611 |
+
padding-top: 15px;
|
612 |
+
}
|
613 |
+
|
614 |
+
#cancel-save {
|
615 |
+
cursor: pointer;
|
616 |
+
}
|
617 |
+
|
618 |
+
#cancel-save:hover {
|
619 |
+
}
|
620 |
+
|
621 |
+
#update-menu-item {
|
622 |
+
}
|
623 |
+
|
624 |
+
#update-menu-item:hover,
|
625 |
+
#update-menu-item:active,
|
626 |
+
#update-menu-item:focus {
|
627 |
+
}
|
628 |
+
|
629 |
+
/* Major/minor publishing actions (classes) */
|
630 |
+
.major-publishing-actions {
|
631 |
+
clear:both;
|
632 |
+
padding: 3px 0 5px;
|
633 |
+
}
|
634 |
+
|
635 |
+
.major-publishing-actions .publishing-action {
|
636 |
+
text-align: right;
|
637 |
+
float: right;
|
638 |
+
line-height: 23px;
|
639 |
+
margin: 5px 0 1px;
|
640 |
+
}
|
641 |
+
|
642 |
+
.major-publishing-actions .delete-action {
|
643 |
+
vertical-align: middle;
|
644 |
+
text-align: left;
|
645 |
+
float: left;
|
646 |
+
padding-right: 15px;
|
647 |
+
margin-top: 5px;
|
648 |
+
}
|
649 |
+
|
650 |
+
.menu-name-label span, .auto-add-pages label {
|
651 |
+
font-size: 12px;
|
652 |
+
font-style: normal;
|
653 |
+
}
|
654 |
+
|
655 |
+
.menu-name-label {
|
656 |
+
margin-right: 15px;
|
657 |
+
}
|
658 |
+
|
659 |
+
.auto-add-pages input {
|
660 |
+
margin-top: 0;
|
661 |
+
}
|
662 |
+
|
663 |
+
.auto-add-pages {
|
664 |
+
margin-top: 4px;
|
665 |
+
float: left;
|
666 |
+
}
|
667 |
+
|
668 |
+
.submitbox .submitcancel {
|
669 |
+
border-bottom: 1px solid;
|
670 |
+
padding: 1px 2px;
|
671 |
+
text-decoration: none;
|
672 |
+
}
|
673 |
+
|
674 |
+
.submitbox .submitcancel:hover {
|
675 |
+
}
|
676 |
+
|
677 |
+
.major-publishing-actions .form-invalid {
|
678 |
+
padding-left: 4px;
|
679 |
+
margin-left: -4px;
|
680 |
+
border-radius: 3px;
|
681 |
+
-webkit-border-radius: 3px;
|
682 |
+
-moz-border-radius: 3px;
|
683 |
+
-khtml-border-radius: 3px;
|
684 |
+
}
|
685 |
+
|
686 |
+
/* Clearfix */
|
687 |
+
#menu-item-name-wrap:after,
|
688 |
+
#menu-item-url-wrap:after,
|
689 |
+
#menu-name-label:after,
|
690 |
+
#menu-settings-column .inside:after,
|
691 |
+
#nav-menus-frame:after,
|
692 |
+
#post-body-content:after,
|
693 |
+
.button-controls:after,
|
694 |
+
.major-publishing-actions:after,
|
695 |
+
.menu-item-settings:after {
|
696 |
+
clear: both;
|
697 |
+
content: ".";
|
698 |
+
display: block;
|
699 |
+
height: 0;
|
700 |
+
visibility: hidden;
|
701 |
+
}
|
702 |
+
|
703 |
+
#nav-menus-frame, .button-controls, #menu-item-url-wrap, #menu-item-name-wrap {
|
704 |
+
display: block;
|
705 |
+
}
|
nav-menu.css
ADDED
@@ -0,0 +1,705 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* WordPress Administration Custom Navigation
|
3 |
+
* Interface CSS
|
4 |
+
*
|
5 |
+
* @version 2.0.0
|
6 |
+
*
|
7 |
+
* @package WordPress
|
8 |
+
* @subpackage Administration
|
9 |
+
*/
|
10 |
+
|
11 |
+
html,
|
12 |
+
body {
|
13 |
+
min-width: 950px;
|
14 |
+
}
|
15 |
+
|
16 |
+
#nav-menus-frame {
|
17 |
+
margin-left: 300px;
|
18 |
+
}
|
19 |
+
|
20 |
+
#wpbody-content #menu-settings-column {
|
21 |
+
display:inline;
|
22 |
+
width:281px;
|
23 |
+
margin-left: -300px;
|
24 |
+
clear: both;
|
25 |
+
float: left;
|
26 |
+
padding-top: 24px;
|
27 |
+
}
|
28 |
+
.no-js #wpbody-content #menu-settings-column {
|
29 |
+
padding-top: 31px;
|
30 |
+
}
|
31 |
+
|
32 |
+
#menu-settings-column .inside {
|
33 |
+
clear: both;
|
34 |
+
}
|
35 |
+
|
36 |
+
.metabox-holder-disabled .postbox {
|
37 |
+
opacity: 0.5;
|
38 |
+
filter: alpha(opacity=50);
|
39 |
+
}
|
40 |
+
|
41 |
+
.metabox-holder-disabled .button-controls .select-all {
|
42 |
+
display: none;
|
43 |
+
}
|
44 |
+
#wpbody {
|
45 |
+
position: relative;
|
46 |
+
}
|
47 |
+
|
48 |
+
/* Menu Container */
|
49 |
+
#menu-management-liquid {
|
50 |
+
float: left;
|
51 |
+
min-width: 100%;
|
52 |
+
}
|
53 |
+
|
54 |
+
#menu-management {
|
55 |
+
position: relative;
|
56 |
+
margin-right: 20px;
|
57 |
+
margin-top: -3px;
|
58 |
+
width: 100%;
|
59 |
+
}
|
60 |
+
|
61 |
+
#menu-management .menu-edit {
|
62 |
+
border: 1px solid;
|
63 |
+
-moz-border-radius: 3px;
|
64 |
+
-webkit-border-radius: 3px;
|
65 |
+
-khtml-border-radius: 3px;
|
66 |
+
border-radius: 3px;
|
67 |
+
margin-bottom: 20px;
|
68 |
+
}
|
69 |
+
|
70 |
+
#post-body {
|
71 |
+
padding: 10px;
|
72 |
+
border-width: 1px 0;
|
73 |
+
border-style: solid;
|
74 |
+
}
|
75 |
+
|
76 |
+
#nav-menu-header,
|
77 |
+
#nav-menu-footer {
|
78 |
+
padding: 0 10px;
|
79 |
+
}
|
80 |
+
|
81 |
+
#nav-menu-header {
|
82 |
+
border-bottom: 1px solid;
|
83 |
+
}
|
84 |
+
|
85 |
+
#nav-menu-footer {
|
86 |
+
border-top: 1px solid;
|
87 |
+
}
|
88 |
+
|
89 |
+
#post-body div.updated, #post-body div.error {
|
90 |
+
margin: 0;
|
91 |
+
}
|
92 |
+
|
93 |
+
#post-body-content {
|
94 |
+
position: relative;
|
95 |
+
}
|
96 |
+
|
97 |
+
#menu-management .menu-add-new abbr {
|
98 |
+
font-weight:bold;
|
99 |
+
}
|
100 |
+
|
101 |
+
/* Menu Tabs */
|
102 |
+
|
103 |
+
#menu-management .nav-tabs-nav {
|
104 |
+
margin: 0 20px;
|
105 |
+
}
|
106 |
+
|
107 |
+
#menu-management .nav-tabs-arrow {
|
108 |
+
width: 10px;
|
109 |
+
padding: 0 5px 4px;
|
110 |
+
cursor: pointer;
|
111 |
+
position: absolute;
|
112 |
+
top: 0;
|
113 |
+
line-height: 22px;
|
114 |
+
font-size: 18px;
|
115 |
+
text-shadow: 0 1px 0 #fff;
|
116 |
+
}
|
117 |
+
|
118 |
+
#menu-management .nav-tabs-arrow a:hover{
|
119 |
+
}
|
120 |
+
|
121 |
+
#menu-management .nav-tabs-arrow a:active {
|
122 |
+
}
|
123 |
+
|
124 |
+
#menu-management .nav-tabs-arrow-left {
|
125 |
+
left: 0;
|
126 |
+
}
|
127 |
+
|
128 |
+
#menu-management .nav-tabs-arrow-right {
|
129 |
+
right: 0;
|
130 |
+
text-align: right;
|
131 |
+
}
|
132 |
+
|
133 |
+
#menu-management .nav-tabs-wrapper {
|
134 |
+
width: 100%;
|
135 |
+
height: 28px;
|
136 |
+
margin-bottom: -1px;
|
137 |
+
overflow: hidden;
|
138 |
+
}
|
139 |
+
|
140 |
+
#menu-management .nav-tabs {
|
141 |
+
padding-left: 20px;
|
142 |
+
padding-right: 10px;
|
143 |
+
}
|
144 |
+
|
145 |
+
.js #menu-management .nav-tabs {
|
146 |
+
float: left;
|
147 |
+
margin-left: 0px;
|
148 |
+
margin-right: -400px;
|
149 |
+
}
|
150 |
+
|
151 |
+
#menu-management .nav-tab {
|
152 |
+
margin-bottom: 0;
|
153 |
+
font-size: 14px;
|
154 |
+
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
155 |
+
}
|
156 |
+
|
157 |
+
|
158 |
+
#select-nav-menu-container {
|
159 |
+
text-align: right;
|
160 |
+
padding: 0 10px 3px 10px;
|
161 |
+
margin-bottom: 5px;
|
162 |
+
}
|
163 |
+
|
164 |
+
#select-nav-menu {
|
165 |
+
width: 100px;
|
166 |
+
display: inline;
|
167 |
+
}
|
168 |
+
|
169 |
+
#menu-name-label {
|
170 |
+
margin-top: -2px;
|
171 |
+
}
|
172 |
+
|
173 |
+
#wpbody .open-label {
|
174 |
+
display: block;
|
175 |
+
float:left;
|
176 |
+
}
|
177 |
+
|
178 |
+
#wpbody .open-label span {
|
179 |
+
padding-right: 10px;
|
180 |
+
}
|
181 |
+
|
182 |
+
.js .input-with-default-title {
|
183 |
+
font-style: italic;
|
184 |
+
}
|
185 |
+
|
186 |
+
#menu-management .inside {
|
187 |
+
padding: 0 10px;
|
188 |
+
}
|
189 |
+
|
190 |
+
/* Add Menu Item Boxes */
|
191 |
+
.postbox .howto input {
|
192 |
+
width: 180px;
|
193 |
+
float: right;
|
194 |
+
}
|
195 |
+
|
196 |
+
.customlinkdiv .howto input {
|
197 |
+
width: 200px;
|
198 |
+
}
|
199 |
+
|
200 |
+
#nav-menu-theme-locations .howto select {
|
201 |
+
width: 100%;
|
202 |
+
}
|
203 |
+
|
204 |
+
#nav-menu-theme-locations .button-controls {
|
205 |
+
text-align: right;
|
206 |
+
}
|
207 |
+
|
208 |
+
.add-menu-item-view-all {
|
209 |
+
height: 400px;
|
210 |
+
}
|
211 |
+
|
212 |
+
/* Button Primary Actions */
|
213 |
+
#menu-container .submit {
|
214 |
+
margin: 0px 0px 10px;
|
215 |
+
padding: 0px;
|
216 |
+
}
|
217 |
+
|
218 |
+
.meta-sep,
|
219 |
+
.submitdelete,
|
220 |
+
.submitcancel {
|
221 |
+
display:block;
|
222 |
+
float:left;
|
223 |
+
font-size: 12px;
|
224 |
+
margin: 4px 0;
|
225 |
+
line-height: 15px;
|
226 |
+
}
|
227 |
+
|
228 |
+
.meta-sep {
|
229 |
+
padding: 0 2px;
|
230 |
+
}
|
231 |
+
|
232 |
+
#cancel-save {
|
233 |
+
text-decoration: underline;
|
234 |
+
font-size: 12px;
|
235 |
+
margin-left: 20px;
|
236 |
+
margin-top: 5px;
|
237 |
+
}
|
238 |
+
|
239 |
+
/* Button Secondary Actions */
|
240 |
+
.list-controls {
|
241 |
+
float: left;
|
242 |
+
margin-top: 5px;
|
243 |
+
}
|
244 |
+
|
245 |
+
.add-to-menu {
|
246 |
+
float: right;
|
247 |
+
}
|
248 |
+
|
249 |
+
.postbox img.waiting {
|
250 |
+
display: none;
|
251 |
+
vertical-align: middle;
|
252 |
+
}
|
253 |
+
|
254 |
+
.button-controls {
|
255 |
+
clear:both;
|
256 |
+
margin: 10px 0;
|
257 |
+
}
|
258 |
+
|
259 |
+
.show-all, .hide-all {
|
260 |
+
cursor: pointer;
|
261 |
+
}
|
262 |
+
|
263 |
+
.hide-all {
|
264 |
+
display: none;
|
265 |
+
}
|
266 |
+
|
267 |
+
/* Create Menu */
|
268 |
+
#menu-name {
|
269 |
+
width: 270px;
|
270 |
+
}
|
271 |
+
|
272 |
+
#manage-menu .inside {
|
273 |
+
padding: 0px 0px;
|
274 |
+
}
|
275 |
+
|
276 |
+
/* Custom Links */
|
277 |
+
#available-links dt {
|
278 |
+
display: block;
|
279 |
+
}
|
280 |
+
|
281 |
+
#add-custom-link .howto {
|
282 |
+
font-size: 12px;
|
283 |
+
}
|
284 |
+
|
285 |
+
#add-custom-link label span {
|
286 |
+
display: block;
|
287 |
+
float: left;
|
288 |
+
margin-top: 5px;
|
289 |
+
padding-right: 5px;
|
290 |
+
}
|
291 |
+
|
292 |
+
.menu-item-textbox {
|
293 |
+
width: 180px;
|
294 |
+
}
|
295 |
+
|
296 |
+
.howto span {
|
297 |
+
margin-top: 4px;
|
298 |
+
display: block;
|
299 |
+
float: left;
|
300 |
+
}
|
301 |
+
|
302 |
+
/* Menu item types */
|
303 |
+
.quick-search {
|
304 |
+
width: 190px;
|
305 |
+
}
|
306 |
+
|
307 |
+
.list-wrap {
|
308 |
+
display: none;
|
309 |
+
clear: both;
|
310 |
+
margin-bottom: 10px;
|
311 |
+
}
|
312 |
+
|
313 |
+
.list-container {
|
314 |
+
max-height: 200px;
|
315 |
+
overflow-y: auto;
|
316 |
+
padding: 10px 10px 5px;
|
317 |
+
border: 1px solid;
|
318 |
+
-moz-border-radius: 3px;
|
319 |
+
}
|
320 |
+
|
321 |
+
.postbox p.submit {
|
322 |
+
margin-bottom: 0;
|
323 |
+
}
|
324 |
+
|
325 |
+
/* Listings */
|
326 |
+
.list li {
|
327 |
+
display: none;
|
328 |
+
margin: 0;
|
329 |
+
margin-bottom: 5px;
|
330 |
+
}
|
331 |
+
|
332 |
+
.list li .menu-item-title {
|
333 |
+
cursor: pointer;
|
334 |
+
display: block;
|
335 |
+
}
|
336 |
+
|
337 |
+
.list li .menu-item-title input {
|
338 |
+
margin-right: 3px;
|
339 |
+
margin-top: -3px;
|
340 |
+
}
|
341 |
+
|
342 |
+
/* Nav Menu */
|
343 |
+
#menu-container .inside {
|
344 |
+
padding-bottom: 10px;
|
345 |
+
}
|
346 |
+
|
347 |
+
.menu {
|
348 |
+
padding-top:1em;
|
349 |
+
}
|
350 |
+
|
351 |
+
#menu-to-edit {
|
352 |
+
padding: 1em 0;
|
353 |
+
}
|
354 |
+
|
355 |
+
.menu ul {
|
356 |
+
width: 100%;
|
357 |
+
}
|
358 |
+
|
359 |
+
.menu ul.sub-menu {
|
360 |
+
}
|
361 |
+
|
362 |
+
.menu li {
|
363 |
+
margin-bottom: 0;
|
364 |
+
position:relative;
|
365 |
+
}
|
366 |
+
|
367 |
+
.menu-item-bar {
|
368 |
+
clear:both;
|
369 |
+
line-height:1.5em;
|
370 |
+
position:relative;
|
371 |
+
margin-top: 13px;
|
372 |
+
}
|
373 |
+
|
374 |
+
.menu-item-handle {
|
375 |
+
border: 1px solid #dfdfdf;
|
376 |
+
position: relative;
|
377 |
+
padding-left: 10px;
|
378 |
+
height: auto;
|
379 |
+
width: 400px;
|
380 |
+
line-height: 35px;
|
381 |
+
text-shadow: 0 1px 0 #FFFFFF;
|
382 |
+
overflow: hidden;
|
383 |
+
word-wrap: break-word;
|
384 |
+
border-radius: 3px;
|
385 |
+
-webkit-border-radius: 3px;
|
386 |
+
-moz-border-radius: 3px;
|
387 |
+
-khtml-border-radius: 3px;
|
388 |
+
}
|
389 |
+
|
390 |
+
#menu-to-edit .menu-item-invalid .menu-item-handle {
|
391 |
+
background-color: #f6c9cc; /* Fallback */
|
392 |
+
background-image: -ms-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* IE10 */
|
393 |
+
background-image: -moz-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* Firefox */
|
394 |
+
background-image: -o-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* Opera */
|
395 |
+
background-image: -webkit-gradient(linear, left bottom, left top, from(#f6c9cc), to(#fdf8ff)); /* old Webkit */
|
396 |
+
background-image: -webkit-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* new Webkit */
|
397 |
+
background-image: linear-gradient(bottom, #f6c9cc, #fdf8ff); /* proposed W3C Markup */
|
398 |
+
}
|
399 |
+
|
400 |
+
.menu-item-edit-active .menu-item-handle {
|
401 |
+
-moz-border-radius: 3px 3px 0 0;
|
402 |
+
-webkit-border-bottom-right-radius: 0;
|
403 |
+
-webkit-border-bottom-left-radius: 0;
|
404 |
+
-khtml-border-bottom-right-radius: 0;
|
405 |
+
-khtml-border-bottom-left-radius: 0;
|
406 |
+
border-bottom-right-radius: 0;
|
407 |
+
border-bottom-left-radius: 0;
|
408 |
+
}
|
409 |
+
|
410 |
+
.no-js .menu-item-edit-active .item-edit {
|
411 |
+
display: none;
|
412 |
+
}
|
413 |
+
|
414 |
+
.js .menu-item-handle {
|
415 |
+
cursor: move;
|
416 |
+
}
|
417 |
+
|
418 |
+
.menu li.deleting .menu-item-handle {
|
419 |
+
background-image: none;
|
420 |
+
text-shadow: 0 0 0;
|
421 |
+
}
|
422 |
+
|
423 |
+
.menu-item-handle .item-title {
|
424 |
+
font-size: 12px;
|
425 |
+
font-weight: bold;
|
426 |
+
padding: 7px 0;
|
427 |
+
line-height: 20px;
|
428 |
+
display:block;
|
429 |
+
margin-right:13em;
|
430 |
+
}
|
431 |
+
|
432 |
+
/* Sortables */
|
433 |
+
li.menu-item.ui-sortable-helper dl {
|
434 |
+
margin-top: 0;
|
435 |
+
}
|
436 |
+
|
437 |
+
li.menu-item.ui-sortable-helper .menu-item-transport dl {
|
438 |
+
margin-top: 13px;
|
439 |
+
}
|
440 |
+
|
441 |
+
.menu .sortable-placeholder {
|
442 |
+
height: 35px;
|
443 |
+
width: 410px;
|
444 |
+
margin-top: 13px;
|
445 |
+
}
|
446 |
+
|
447 |
+
/* WARNING: The factor of 30px is hardcoded into the nav-menus javascript. */
|
448 |
+
.menu-item-depth-0 { margin-left: 0px; }
|
449 |
+
.menu-item-depth-1 { margin-left: 30px; }
|
450 |
+
.menu-item-depth-2 { margin-left: 60px; }
|
451 |
+
.menu-item-depth-3 { margin-left: 90px; }
|
452 |
+
.menu-item-depth-4 { margin-left: 120px; }
|
453 |
+
.menu-item-depth-5 { margin-left: 150px; }
|
454 |
+
.menu-item-depth-6 { margin-left: 180px; }
|
455 |
+
.menu-item-depth-7 { margin-left: 210px; }
|
456 |
+
.menu-item-depth-8 { margin-left: 240px; }
|
457 |
+
.menu-item-depth-9 { margin-left: 270px; }
|
458 |
+
.menu-item-depth-10 { margin-left: 300px; }
|
459 |
+
.menu-item-depth-11 { margin-left: 330px; }
|
460 |
+
|
461 |
+
.menu-item-depth-0 .menu-item-transport { margin-left: 0px; }
|
462 |
+
.menu-item-depth-1 .menu-item-transport { margin-left: -30px; }
|
463 |
+
.menu-item-depth-2 .menu-item-transport { margin-left: -60px; }
|
464 |
+
.menu-item-depth-3 .menu-item-transport { margin-left: -90px; }
|
465 |
+
.menu-item-depth-4 .menu-item-transport { margin-left: -120px; }
|
466 |
+
.menu-item-depth-5 .menu-item-transport { margin-left: -150px; }
|
467 |
+
.menu-item-depth-6 .menu-item-transport { margin-left: -180px; }
|
468 |
+
.menu-item-depth-7 .menu-item-transport { margin-left: -210px; }
|
469 |
+
.menu-item-depth-8 .menu-item-transport { margin-left: -240px; }
|
470 |
+
.menu-item-depth-9 .menu-item-transport { margin-left: -270px; }
|
471 |
+
.menu-item-depth-10 .menu-item-transport { margin-left: -300px; }
|
472 |
+
.menu-item-depth-11 .menu-item-transport { margin-left: -330px; }
|
473 |
+
|
474 |
+
body.menu-max-depth-0 { min-width: 950px !important; }
|
475 |
+
body.menu-max-depth-1 { min-width: 980px !important; }
|
476 |
+
body.menu-max-depth-2 { min-width: 1010px !important; }
|
477 |
+
body.menu-max-depth-3 { min-width: 1040px !important; }
|
478 |
+
body.menu-max-depth-4 { min-width: 1070px !important; }
|
479 |
+
body.menu-max-depth-5 { min-width: 1100px !important; }
|
480 |
+
body.menu-max-depth-6 { min-width: 1130px !important; }
|
481 |
+
body.menu-max-depth-7 { min-width: 1160px !important; }
|
482 |
+
body.menu-max-depth-8 { min-width: 1190px !important; }
|
483 |
+
body.menu-max-depth-9 { min-width: 1220px !important; }
|
484 |
+
body.menu-max-depth-10 { min-width: 1250px !important; }
|
485 |
+
body.menu-max-depth-11 { min-width: 1280px !important; }
|
486 |
+
|
487 |
+
/* Menu item controls */
|
488 |
+
.item-type {
|
489 |
+
font-size: 12px;
|
490 |
+
padding-right: 10px;
|
491 |
+
}
|
492 |
+
|
493 |
+
.item-controls {
|
494 |
+
font-size: 12px;
|
495 |
+
position: absolute;
|
496 |
+
right: 20px;
|
497 |
+
top: -1px;
|
498 |
+
}
|
499 |
+
|
500 |
+
.item-controls a {
|
501 |
+
text-decoration: none;
|
502 |
+
}
|
503 |
+
|
504 |
+
.item-controls a:hover {
|
505 |
+
cursor: pointer;
|
506 |
+
}
|
507 |
+
|
508 |
+
.item-controls .item-order {
|
509 |
+
padding-right: 10px;
|
510 |
+
}
|
511 |
+
|
512 |
+
.item-controls .item-order a {
|
513 |
+
font-weight:bold;
|
514 |
+
}
|
515 |
+
|
516 |
+
body.js .item-order {
|
517 |
+
display:none;
|
518 |
+
}
|
519 |
+
|
520 |
+
.item-controls .menu-item-delete:hover {
|
521 |
+
}
|
522 |
+
|
523 |
+
.item-edit {
|
524 |
+
position: absolute;
|
525 |
+
right: -20px;
|
526 |
+
top: 0;
|
527 |
+
display: block;
|
528 |
+
width:30px;
|
529 |
+
height: 36px;
|
530 |
+
overflow: hidden;
|
531 |
+
text-indent:-999em;
|
532 |
+
border-bottom: 1px solid;
|
533 |
+
-moz-border-radius-bottomleft: 3px;
|
534 |
+
-webkit-border-bottom-left-radius: 3px;
|
535 |
+
-khtml-border-bottom-left-radius: 3px;
|
536 |
+
border-bottom-left-radius: 3px;
|
537 |
+
}
|
538 |
+
|
539 |
+
.item-edit:hover {
|
540 |
+
}
|
541 |
+
|
542 |
+
/* Menu editing */
|
543 |
+
.menu-instructions-inactive {
|
544 |
+
display: none;
|
545 |
+
}
|
546 |
+
|
547 |
+
.menu-item-settings {
|
548 |
+
display:block;
|
549 |
+
width: 400px;
|
550 |
+
padding: 10px 0 10px 10px;
|
551 |
+
border: solid;
|
552 |
+
border-width: 0 1px 1px 1px;
|
553 |
+
-moz-border-radius: 0 0 3px 3px;
|
554 |
+
-webkit-border-bottom-right-radius: 3px;
|
555 |
+
-webkit-border-bottom-left-radius: 3px;
|
556 |
+
-khtml-border-bottom-right-radius: 3px;
|
557 |
+
-khtml-border-bottom-left-radius: 3px;
|
558 |
+
}
|
559 |
+
|
560 |
+
.menu-item-edit-active .menu-item-settings {
|
561 |
+
display:block;
|
562 |
+
}
|
563 |
+
|
564 |
+
.menu-item-edit-inactive .menu-item-settings {
|
565 |
+
display:none;
|
566 |
+
}
|
567 |
+
|
568 |
+
.add-menu-item-pagelinks {
|
569 |
+
margin:.5em auto;
|
570 |
+
text-align:center;
|
571 |
+
}
|
572 |
+
|
573 |
+
.link-to-original {
|
574 |
+
display: block;
|
575 |
+
margin: 0 0 10px;
|
576 |
+
padding: 3px 5px 5px;
|
577 |
+
font-size: 12px;
|
578 |
+
font-style: italic;
|
579 |
+
border: 1px solid;
|
580 |
+
border-radius: 3px;
|
581 |
+
-webkit-border-radius: 3px;
|
582 |
+
-moz-border-radius: 3px;
|
583 |
+
-khtml-border-radius: 3px;
|
584 |
+
}
|
585 |
+
|
586 |
+
.link-to-original a {
|
587 |
+
padding-left: 4px;
|
588 |
+
font-style: normal;
|
589 |
+
}
|
590 |
+
|
591 |
+
.hidden-field {
|
592 |
+
display: none;
|
593 |
+
}
|
594 |
+
|
595 |
+
.menu-item-settings .description-thin,
|
596 |
+
.menu-item-settings .description-wide {
|
597 |
+
margin-right: 10px;
|
598 |
+
float: left;
|
599 |
+
}
|
600 |
+
|
601 |
+
.description-thin {
|
602 |
+
width: 190px;
|
603 |
+
height: 40px;
|
604 |
+
}
|
605 |
+
|
606 |
+
.description-wide {
|
607 |
+
width: 390px;
|
608 |
+
}
|
609 |
+
|
610 |
+
.menu-item-actions {
|
611 |
+
padding-top: 15px;
|
612 |
+
}
|
613 |
+
|
614 |
+
#cancel-save {
|
615 |
+
cursor: pointer;
|
616 |
+
}
|
617 |
+
|
618 |
+
#cancel-save:hover {
|
619 |
+
}
|
620 |
+
|
621 |
+
#update-menu-item {
|
622 |
+
}
|
623 |
+
|
624 |
+
#update-menu-item:hover,
|
625 |
+
#update-menu-item:active,
|
626 |
+
#update-menu-item:focus {
|
627 |
+
}
|
628 |
+
|
629 |
+
/* Major/minor publishing actions (classes) */
|
630 |
+
.major-publishing-actions {
|
631 |
+
clear:both;
|
632 |
+
padding: 3px 0 5px;
|
633 |
+
}
|
634 |
+
|
635 |
+
.major-publishing-actions .publishing-action {
|
636 |
+
text-align: right;
|
637 |
+
float: right;
|
638 |
+
line-height: 23px;
|
639 |
+
margin: 5px 0 1px;
|
640 |
+
}
|
641 |
+
|
642 |
+
.major-publishing-actions .delete-action {
|
643 |
+
vertical-align: middle;
|
644 |
+
text-align: left;
|
645 |
+
float: left;
|
646 |
+
padding-right: 15px;
|
647 |
+
margin-top: 5px;
|
648 |
+
}
|
649 |
+
|
650 |
+
.menu-name-label span, .auto-add-pages label {
|
651 |
+
font-size: 12px;
|
652 |
+
font-style: normal;
|
653 |
+
}
|
654 |
+
|
655 |
+
.menu-name-label {
|
656 |
+
margin-right: 15px;
|
657 |
+
}
|
658 |
+
|
659 |
+
.auto-add-pages input {
|
660 |
+
margin-top: 0;
|
661 |
+
}
|
662 |
+
|
663 |
+
.auto-add-pages {
|
664 |
+
margin-top: 4px;
|
665 |
+
float: left;
|
666 |
+
}
|
667 |
+
|
668 |
+
.submitbox .submitcancel {
|
669 |
+
border-bottom: 1px solid;
|
670 |
+
padding: 1px 2px;
|
671 |
+
text-decoration: none;
|
672 |
+
}
|
673 |
+
|
674 |
+
.submitbox .submitcancel:hover {
|
675 |
+
}
|
676 |
+
|
677 |
+
.major-publishing-actions .form-invalid {
|
678 |
+
padding-left: 4px;
|
679 |
+
margin-left: -4px;
|
680 |
+
border-radius: 3px;
|
681 |
+
-webkit-border-radius: 3px;
|
682 |
+
-moz-border-radius: 3px;
|
683 |
+
-khtml-border-radius: 3px;
|
684 |
+
}
|
685 |
+
|
686 |
+
/* Clearfix */
|
687 |
+
#menu-item-name-wrap:after,
|
688 |
+
#menu-item-url-wrap:after,
|
689 |
+
#menu-name-label:after,
|
690 |
+
#menu-settings-column .inside:after,
|
691 |
+
#nav-menus-frame:after,
|
692 |
+
#post-body-content:after,
|
693 |
+
.button-controls:after,
|
694 |
+
.major-publishing-actions:after,
|
695 |
+
.menu-item-settings:after {
|
696 |
+
clear: both;
|
697 |
+
content: ".";
|
698 |
+
display: block;
|
699 |
+
height: 0;
|
700 |
+
visibility: hidden;
|
701 |
+
}
|
702 |
+
|
703 |
+
#nav-menus-frame, .button-controls, #menu-item-url-wrap, #menu-item-name-wrap {
|
704 |
+
display: block;
|
705 |
+
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: mmuro
|
|
3 |
Tags: form, forms, form to email, email form, email, input, validation, jquery, shortcode
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 3.2.1
|
6 |
-
Stable tag: 1.
|
7 |
|
8 |
Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
|
9 |
|
@@ -102,6 +102,12 @@ To Export Selected:
|
|
102 |
|
103 |
== Changelog ==
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
**Version 1.4**
|
106 |
|
107 |
* Fix bug where database charset wasn't being set and causing character encoding issues
|
@@ -149,6 +155,9 @@ To Export Selected:
|
|
149 |
|
150 |
== Upgrade Notice ==
|
151 |
|
|
|
|
|
|
|
152 |
= 1.4 =
|
153 |
Export entries to a CSV, file uploads, and various bug fixes.
|
154 |
|
3 |
Tags: form, forms, form to email, email form, email, input, validation, jquery, shortcode
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 3.2.1
|
6 |
+
Stable tag: 1.5
|
7 |
|
8 |
Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
|
9 |
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
**Version 1.5**
|
106 |
+
|
107 |
+
* Fix bug where multiple forms on same page could not be submitted individually
|
108 |
+
* Fix bug where Entries form filter did not work
|
109 |
+
* Update admin CSS to use it's own file instead of one loaded form WordPress
|
110 |
+
|
111 |
**Version 1.4**
|
112 |
|
113 |
* Fix bug where database charset wasn't being set and causing character encoding issues
|
155 |
|
156 |
== Upgrade Notice ==
|
157 |
|
158 |
+
= 1.5 =
|
159 |
+
Fix for submitting multiple forms on a single page. Other bug fixes and improvements.
|
160 |
+
|
161 |
= 1.4 =
|
162 |
Export entries to a CSV, file uploads, and various bug fixes.
|
163 |
|
sprite.png
ADDED
Binary file
|
visual-form-builder-admin.css
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
label.error{color:red;display:block;}
|
2 |
+
#visual-form-builder-update input.error, #visual-form-builder-update textarea.error{border:1px solid red;}
|
3 |
+
.menu-item-handle.fieldset, #form-element-fieldset{
|
4 |
+
background-image: -moz-linear-gradient(top, #E3E3E3 0%, #CCCCCC 100%);
|
5 |
+
background-image: -o-linear-gradient(top, #E3E3E3 0%, #CCCCCC 100%);
|
6 |
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #E3E3E3), color-stop(1, #CCCCCC));
|
7 |
+
background-image: linear-gradient(top, #E3E3E3 0%, #CCCCCC 100%);
|
8 |
+
box-shadow:0 1px 0 #e3e3e3 inset;
|
9 |
+
}
|
10 |
+
.sender-labels{width:80px;}
|
11 |
+
.is-field-required{color:#BC1212; vertical-align:middle;}
|
12 |
+
.visual-form-builder-inline-edit{width:100%;}
|
13 |
+
.visual-form-builder-inline-edit-col{padding:0 0.5em;}
|
14 |
+
.visual-form-builder-inline-edit label{display:block;margin:0.2em 0;}
|
15 |
+
.visual-form-builder-inline-edit .title{display:block;float:left;width:5em;font-style:italic;}
|
16 |
+
.visual-form-builder-inline-edit .input-text-wrap{display:block;margin-left:5em;}
|
17 |
+
.visual-form-builder-inline-edit .input-text-wrap input[type="text"]{width:100%;border:#DDD solid 1px;border-radius:3px;}
|
18 |
+
.subsubsub{float:none;}
|
19 |
+
.nav-tabs-arrow-left{display:none;}
|
20 |
+
#form-items input{width:104px;float:left;margin:0 5px 10px 0;}
|
21 |
+
#form-element-text{background:url(sprite.png) 0 -89px no-repeat transparent;}
|
22 |
+
#form-element-textarea{background:url(sprite.png) 0 -173px no-repeat transparent;}
|
23 |
+
#form-element-checkbox{background:url(sprite.png) 0 -259px no-repeat transparent;}
|
24 |
+
#form-element-radio{background:url(sprite.png) 0 -51px no-repeat transparent;}
|
25 |
+
#form-element-select{background:url(sprite.png) 0 -7px no-repeat transparent;}
|
26 |
+
#form-element-address{background:url(sprite.png) 0 -129px no-repeat transparent;}
|
27 |
+
#form-element-datepicker{background:url(sprite.png) 0 -215px no-repeat transparent;}
|
28 |
+
#form-element-email{background:url(sprite.png) 0 -304px no-repeat transparent;}
|
29 |
+
#form-element-url{background:url(sprite.png) 0 -356px no-repeat transparent;}
|
30 |
+
#form-element-currency{background:url(sprite.png) 0 -405px no-repeat transparent;}
|
31 |
+
#form-element-digits{background:url(sprite.png) 0 -452px no-repeat transparent;}
|
32 |
+
#form-element-time{background:url(sprite.png) 0 -489px no-repeat transparent;}
|
33 |
+
#form-element-phone{background:url(sprite.png) 0 -529px no-repeat transparent;}
|
34 |
+
#form-element-html{background:url(sprite.png) 0 -559px no-repeat transparent;}
|
35 |
+
#form-element-file{background:url(sprite.png) 0 -587px no-repeat transparent;}
|
36 |
+
#form-details-nav{font-size:1.0em;font-weight:bold;padding-top:10px;}
|
37 |
+
#form-details-nav a{padding:5px 10px;text-decoration:none;}
|
38 |
+
#form-details-nav a.current{
|
39 |
+
background-color:#777;
|
40 |
+
background-image: -ms-linear-gradient(bottom, #6d6d6d, #808080); /* IE10 */
|
41 |
+
background-image: -moz-linear-gradient(bottom, #6d6d6d, #808080); /* Firefox */
|
42 |
+
background-image: -o-linear-gradient(bottom, #6d6d6d, #808080); /* Opera */
|
43 |
+
background-image: -webkit-gradient(linear, left bottom, left top, from(#6d6d6d), to(#808080)); /* old Webkit */
|
44 |
+
background-image: -webkit-linear-gradient(bottom, #6d6d6d, #808080); /* new Webkit */
|
45 |
+
background-image: linear-gradient(bottom, #6d6d6d, #808080); /* proposed W3C Markup */
|
46 |
+
color:white;
|
47 |
+
border-radius:5px;
|
48 |
+
height:40px;
|
49 |
+
text-shadow:0 -1px 0 #333333;
|
50 |
+
border-color: #dfdfdf;
|
51 |
+
}
|
52 |
+
.form-details, #form-success-message-text, #form-success-message-page, #form-success-message-redirect{display:none;}
|
53 |
+
.form-details-current, .active{display:block;}
|
54 |
+
#confirmation-message textarea{font-family:Consolas,Monaco,monospace;width:75%;height:10em;margin-top:10px;}
|
55 |
+
#form-success-message-page, #form-success-message-redirect{margin-top:10px;}
|
visual-form-builder.css
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
form.visual-form-builder{
|
2 |
+
font-family:"Lucida Sans",Lucida Sans Unicode,Verdana,Arial,sans-serif;
|
3 |
+
margin:20px 0;
|
4 |
+
}
|
5 |
+
form.visual-form-builder li{width:auto !important;}
|
6 |
+
.visual-form-builder ul{
|
7 |
+
list-style:none;
|
8 |
+
margin:0 14px;
|
9 |
+
padding:0;
|
10 |
+
font-size:12px;
|
11 |
+
}
|
12 |
+
.visual-form-builder li{
|
13 |
+
clear:both;
|
14 |
+
margin:0;
|
15 |
+
padding:6px 1% 9px;
|
16 |
+
width:64%;
|
17 |
+
}
|
18 |
+
.visual-form-builder li div span, span.full input, span.full select{
|
19 |
+
display:block;
|
20 |
+
float:left;
|
21 |
+
width:100%;
|
22 |
+
}
|
23 |
+
.visual-form-builder span.left{
|
24 |
+
float:left;
|
25 |
+
width:48%;
|
26 |
+
}
|
27 |
+
.visual-form-builder span.right{
|
28 |
+
float:right;
|
29 |
+
width:48%;
|
30 |
+
}
|
31 |
+
.visual-form-builder span.right input, .visual-form-builder span.right select, .visual-form-builder span.left input, .visual-form-builder span.left select{width:100%;}
|
32 |
+
.visual-form-builder span.time{float:left;margin:0 0.3em 0 0;}
|
33 |
+
.visual-form-builder li div label, .visual-form-builder li span label{font-size:90%;}
|
34 |
+
.visual-form-builder fieldset{
|
35 |
+
background-color:#eeeeee;
|
36 |
+
-webkit-box-shadow:2px 2px 10px #ADADAD;
|
37 |
+
-moz-box-shadow:2px 2px 10px #ADADAD;
|
38 |
+
box-shadow:2px 2px 10px #ADADAD;
|
39 |
+
margin:15px 0;
|
40 |
+
clear:both;
|
41 |
+
}
|
42 |
+
.visual-form-builder .legend{
|
43 |
+
margin:5px 14px;
|
44 |
+
padding:0 6px;
|
45 |
+
color:#990000;
|
46 |
+
border-bottom:1px dotted #CCCCCC;
|
47 |
+
font-size:inherit;
|
48 |
+
}
|
49 |
+
.visual-form-builder .legend h3{font-size:20px;}
|
50 |
+
.visual-form-builder label, label.desc{
|
51 |
+
display:block;
|
52 |
+
margin:0;
|
53 |
+
padding-bottom:3px;
|
54 |
+
color:#000;
|
55 |
+
}
|
56 |
+
label.desc{font-weight:bold;}
|
57 |
+
.visual-form-builder label.choice{
|
58 |
+
font-size:100%;
|
59 |
+
line-height:150%;
|
60 |
+
margin:-17px 0 0 23px;
|
61 |
+
padding:0 0 5px;
|
62 |
+
width:88%;
|
63 |
+
}
|
64 |
+
.visual-form-builder label span{
|
65 |
+
color:#BC1212;
|
66 |
+
vertical-align:middle;
|
67 |
+
}
|
68 |
+
input.text, textarea.textarea, select.select{
|
69 |
+
font-size:100%;
|
70 |
+
font-family:"Lucida Sans",Lucida Sans Unicode,Verdana,Arial,sans-serif;
|
71 |
+
margin:0;
|
72 |
+
padding:2px 0;
|
73 |
+
}
|
74 |
+
input.medium, select.medium{width:50%;}
|
75 |
+
input.large, select.large, textarea.textarea{width:100%;}
|
76 |
+
textarea.medium{height:10em;}
|
77 |
+
textarea.large{height:20em;}
|
78 |
+
.submit{font-size:1.1em;}
|
79 |
+
input.checkbox, input.radio{
|
80 |
+
font-size:1.1em;
|
81 |
+
display:block;
|
82 |
+
height:13px;
|
83 |
+
width:13px;
|
84 |
+
margin:4px 0 0;
|
85 |
+
}
|
86 |
+
label.error{
|
87 |
+
color:red;
|
88 |
+
font-weight:bold;
|
89 |
+
font-size:90%;
|
90 |
+
}
|
91 |
+
input.error, select.error, textarea.error{border:1px solid red;}
|
92 |
+
p#form_success{
|
93 |
+
color:green;
|
94 |
+
font-weight:bold;
|
95 |
+
}
|
96 |
+
#ui-datepicker-div { display: none; }
|
97 |
+
.ed_button{
|
98 |
+
font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;
|
99 |
+
font-size:12px;
|
100 |
+
background-image: -moz-linear-gradient(top, #fcfcfc 0%, #e9e8e8 100%);
|
101 |
+
background-image: -o-linear-gradient(top, #fcfcfc 0%, #e9e8e8 100%);
|
102 |
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fcfcfc), color-stop(1, #e9e8e8));
|
103 |
+
background-image: linear-gradient(top, #fcfcfc 0%, #e9e8e8 100%);
|
104 |
+
min-width:26px;
|
105 |
+
margin:3px 1px 4px;
|
106 |
+
padding:2px 4px;
|
107 |
+
box-shadow:0 1px 0 #e3e3e3;
|
108 |
+
border-radius:3px 3px 3px 3px;
|
109 |
+
border:#C3C3C3 1px solid;
|
110 |
+
text-transform:lowercase;
|
111 |
+
}
|
112 |
+
.ed_button:hover{
|
113 |
+
background:none repeat scroll 0 0 #dddddd;
|
114 |
+
border-color:#aaaaaa;
|
115 |
+
cursor:pointer;
|
116 |
+
}
|
117 |
+
.ed_button.ed_bold{font-weight:bold;}
|
118 |
+
.ed_button.ed_italic{font-style:italic;}
|
119 |
+
.ed_button.ed_link{color:#0000FF;text-decoration:underline;}
|
120 |
+
.ed_button.ed_del{text-decoration:line-through;}
|
visual-form-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Visual Form Builder
|
4 |
Description: Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
|
5 |
Author: Matthew Muro
|
6 |
-
Version: 1.
|
7 |
*/
|
8 |
|
9 |
/*
|
@@ -27,7 +27,7 @@ $visual_form_builder = new Visual_Form_Builder();
|
|
27 |
/* Restrict Categories class */
|
28 |
class Visual_Form_Builder{
|
29 |
|
30 |
-
public $vfb_db_version = '1.
|
31 |
|
32 |
public function __construct(){
|
33 |
global $wpdb;
|
@@ -56,10 +56,6 @@ class Visual_Form_Builder{
|
|
56 |
/* Adds a Settings link to the Plugins page */
|
57 |
add_filter( 'plugin_action_links', array( &$this, 'visual_form_builder_plugin_action_links' ), 10, 2 );
|
58 |
|
59 |
-
/* Load the nav-menu CSS if we're on our plugin page */
|
60 |
-
if ( isset( $_REQUEST['page'] ) && $_REQUEST['page'] == 'visual-form-builder' )
|
61 |
-
wp_admin_css( 'nav-menu' );
|
62 |
-
|
63 |
/* Add a database version to help with upgrades and run SQL install */
|
64 |
if ( !get_option( 'vfb_db_version' ) ) {
|
65 |
update_option( 'vfb_db_version', $this->vfb_db_version );
|
@@ -290,6 +286,7 @@ class Visual_Form_Builder{
|
|
290 |
*/
|
291 |
public function form_admin_css(){
|
292 |
wp_enqueue_style( 'visual-form-builder-style', plugins_url( 'visual-form-builder' ) . '/css/visual-form-builder-admin.css' );
|
|
|
293 |
}
|
294 |
|
295 |
/**
|
@@ -331,9 +328,9 @@ class Visual_Form_Builder{
|
|
331 |
* @since 1.8
|
332 |
* @return $links array Links to add to plugin name
|
333 |
*/
|
334 |
-
public function visual_form_builder_plugin_action_links($links, $file){
|
335 |
-
if ( $file == plugin_basename(__FILE__) )
|
336 |
-
$links[] = '<a href="options-general.php?page=visual-form-builder">'.__('Settings').'</a>';
|
337 |
|
338 |
return $links;
|
339 |
}
|
@@ -346,7 +343,7 @@ class Visual_Form_Builder{
|
|
346 |
* @uses add_options_page() Creates a menu item under the Settings menu.
|
347 |
*/
|
348 |
public function add_admin() {
|
349 |
-
add_options_page( __('Visual Form Builder', 'visual-form-builder'), __('Visual Form Builder', 'visual-form-builder'), 'create_users', 'visual-form-builder', array( &$this, 'admin' ) );
|
350 |
}
|
351 |
|
352 |
|
@@ -648,7 +645,8 @@ class Visual_Form_Builder{
|
|
648 |
<?php $entries_list->display(); ?>
|
649 |
</form>
|
650 |
<?php
|
651 |
-
|
|
|
652 |
/* Display the Forms */
|
653 |
else:
|
654 |
echo ( isset( $this->message ) ) ? $this->message : ''; ?>
|
@@ -1082,7 +1080,7 @@ class Visual_Form_Builder{
|
|
1082 |
$open_fieldset = false;
|
1083 |
|
1084 |
/* If form is submitted, show success message, otherwise the form */
|
1085 |
-
if ( isset( $_REQUEST['visual-form-builder-submit'] ) && in_array( $_REQUEST['visual-form-builder-submit'], array( 'Submit', 'submit' ) ) && wp_verify_nonce( $_REQUEST['_wpnonce'], 'visual-form-builder-nonce' ) ) {
|
1086 |
$output = $this->confirmation();
|
1087 |
}
|
1088 |
else {
|
3 |
Plugin Name: Visual Form Builder
|
4 |
Description: Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
|
5 |
Author: Matthew Muro
|
6 |
+
Version: 1.5
|
7 |
*/
|
8 |
|
9 |
/*
|
27 |
/* Restrict Categories class */
|
28 |
class Visual_Form_Builder{
|
29 |
|
30 |
+
public $vfb_db_version = '1.5';
|
31 |
|
32 |
public function __construct(){
|
33 |
global $wpdb;
|
56 |
/* Adds a Settings link to the Plugins page */
|
57 |
add_filter( 'plugin_action_links', array( &$this, 'visual_form_builder_plugin_action_links' ), 10, 2 );
|
58 |
|
|
|
|
|
|
|
|
|
59 |
/* Add a database version to help with upgrades and run SQL install */
|
60 |
if ( !get_option( 'vfb_db_version' ) ) {
|
61 |
update_option( 'vfb_db_version', $this->vfb_db_version );
|
286 |
*/
|
287 |
public function form_admin_css(){
|
288 |
wp_enqueue_style( 'visual-form-builder-style', plugins_url( 'visual-form-builder' ) . '/css/visual-form-builder-admin.css' );
|
289 |
+
wp_enqueue_style( 'visual-form-builder-main', plugins_url( 'visual-form-builder' ) . '/css/nav-menu.css' );
|
290 |
}
|
291 |
|
292 |
/**
|
328 |
* @since 1.8
|
329 |
* @return $links array Links to add to plugin name
|
330 |
*/
|
331 |
+
public function visual_form_builder_plugin_action_links( $links, $file ) {
|
332 |
+
if ( $file == plugin_basename( __FILE__ ) )
|
333 |
+
$links[] = '<a href="options-general.php?page=visual-form-builder">' . __( 'Settings' ) . '</a>';
|
334 |
|
335 |
return $links;
|
336 |
}
|
343 |
* @uses add_options_page() Creates a menu item under the Settings menu.
|
344 |
*/
|
345 |
public function add_admin() {
|
346 |
+
add_options_page( __( 'Visual Form Builder', 'visual-form-builder' ), __( 'Visual Form Builder', 'visual-form-builder' ), 'create_users', 'visual-form-builder', array( &$this, 'admin' ) );
|
347 |
}
|
348 |
|
349 |
|
645 |
<?php $entries_list->display(); ?>
|
646 |
</form>
|
647 |
<?php
|
648 |
+
endif;
|
649 |
+
|
650 |
/* Display the Forms */
|
651 |
else:
|
652 |
echo ( isset( $this->message ) ) ? $this->message : ''; ?>
|
1080 |
$open_fieldset = false;
|
1081 |
|
1082 |
/* If form is submitted, show success message, otherwise the form */
|
1083 |
+
if ( isset( $_REQUEST['visual-form-builder-submit'] ) && in_array( $_REQUEST['visual-form-builder-submit'], array( 'Submit', 'submit' ) ) && wp_verify_nonce( $_REQUEST['_wpnonce'], 'visual-form-builder-nonce' ) && isset( $_REQUEST['form_id'] ) && $_REQUEST['form_id'] == $form_id ) {
|
1084 |
$output = $this->confirmation();
|
1085 |
}
|
1086 |
else {
|