Version Description
Popover forms will be added in September 2010.
Download this release
Release Info
Developer | tlovett1 |
Plugin | Custom Contact Forms |
Version | 4.0.0.b6 |
Comparing to | |
See all releases |
Code changes from version 4.0.0.b5 to 4.0.0.b6
- css/custom-contact-forms-admin.css +10 -9
- custom-contact-forms-admin.php +2114 -1233
- custom-contact-forms-front.php +367 -0
- custom-contact-forms-static.php +4 -0
- custom-contact-forms-widget.php +5 -5
- custom-contact-forms.php +49 -721
- export/_notes/dwsync.xml +21 -0
- export/ccf-export-10-oct-2010--07-53-45.sql +55 -0
- export/ccf-export-15-oct-2010--05-27-33.sql +69 -0
- export/ccf-export-15-oct-2010--06-06-41.sql +77 -0
- export/ccf-export-15-oct-2010--06-26-24.sql +13 -0
- export/ccf-export-15-oct-2010--06-35-08.sql +13 -0
- export/ccf-export-15-oct-2010--06-41-23.sql +69 -0
- export/ccf-export-15-oct-2010--09-20-46.sql +69 -0
- export/ccf-export-16-oct-2010--04-31-24.sql +68 -0
- export/ccf-export-22-sep-2010--06-32-32.html +57 -0
- export/ccf-export-26-sep-2010--08-13-40.sql +8 -0
- export/ccf-export-7-oct-2010--08-57-12.sql +42 -0
- export/ccf-export-8-oct-2010--02-57-14.sql +42 -0
- export/ccf-export-8-oct-2010--02-58-04.sql +42 -0
- export/ccf-export-8-oct-2010--03-00-12.sql +42 -0
- export/ccf-export-8-oct-2010--03-00-54.sql +42 -0
- export/ccf-export-8-oct-2010--05-35-11.sql +55 -0
- export/ccf-export-8-oct-2010--05-44-19.sql +55 -0
- images/_notes/dwsync.xml +36 -0
- lang/custom-contact-forms.mo +0 -0
- lang/custom-contact-forms.po +379 -348
- readme.txt +1 -1
css/custom-contact-forms-admin.css
CHANGED
@@ -109,19 +109,20 @@
|
|
109 |
#customcontactforms-admin #form-submissions table.second { margin-left:48%; border-collapse:collapse; width:48%; }
|
110 |
|
111 |
|
112 |
-
#customcontactforms-admin #import-export {
|
113 |
clear:both;
|
114 |
width:1000px;
|
115 |
margin:20px 1em 1em 5px;
|
116 |
}
|
117 |
-
#customcontactforms-admin #import
|
118 |
-
#customcontactforms-admin #import
|
119 |
-
#customcontactforms-admin #import
|
120 |
-
#customcontactforms-admin #import
|
121 |
-
#customcontactforms-admin #import
|
122 |
-
#customcontactforms-admin #import
|
123 |
-
#customcontactforms-admin #import
|
124 |
-
#customcontactforms-admin #import
|
|
|
125 |
|
126 |
#customcontactforms-admin #field-options {
|
127 |
clear:both;
|
109 |
#customcontactforms-admin #form-submissions table.second { margin-left:48%; border-collapse:collapse; width:48%; }
|
110 |
|
111 |
|
112 |
+
#customcontactforms-admin #import, #customcontactforms-admin #export {
|
113 |
clear:both;
|
114 |
width:1000px;
|
115 |
margin:20px 1em 1em 5px;
|
116 |
}
|
117 |
+
#customcontactforms-admin #import { margin:0; padding:0 0 12px 0; }
|
118 |
+
#customcontactforms-admin #import { padding:9px 0 0px 0; border-top:1px solid #cccccc; }
|
119 |
+
#customcontactforms-admin #import .choose_import { font-size:1.1em; clear:both; font-weight:bold; }
|
120 |
+
#customcontactforms-admin #import input[type=file] { margin:6px; }
|
121 |
+
#customcontactforms-admin #import ul { margin:6px; }
|
122 |
+
#customcontactforms-admin #import ul li { width:130px; float:left; }
|
123 |
+
#customcontactforms-admin #import ul li label { font-size:.9em; }
|
124 |
+
#customcontactforms-admin #import input[type=checkbox] { margin-left:9px; }
|
125 |
+
#customcontactforms-admin #import p { padding:0 0 5px 0; margin:0; }
|
126 |
|
127 |
#customcontactforms-admin #field-options {
|
128 |
clear:both;
|
custom-contact-forms-admin.php
CHANGED
@@ -1,1234 +1,2115 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
$
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
$
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
}
|
226 |
-
?>
|
227 |
-
</select>
|
228 |
-
<?php } ?>
|
229 |
-
<input type="submit" class="dettach-button" name="dettach_field_option" value="<?php _e("Dettach Field Option", 'custom-contact-forms'); ?>" />
|
230 |
-
<br />
|
231 |
-
<span class="red bold">*</span> <?php _e("Dettach field options you", 'custom-contact-forms'); ?> <a href="#create-field-options"><?php _e("create", 'custom-contact-forms'); ?></a>. </div>
|
232 |
-
<?php $all_options = $this->getFieldOptionsForm(); ?>
|
233 |
-
<div class="attach-field-options">
|
234 |
-
<?php if (empty($all_options)) { ?>
|
235 |
-
<b>No Field Options to Attach</b>
|
236 |
-
<?php } else { ?>
|
237 |
-
<select name="attach_object_id" class="onObject<?php echo $fields[$i]->id ?> objectTypeField">
|
238 |
-
<?php echo $all_options; ?>
|
239 |
-
</select>
|
240 |
-
<input type="submit" class="attach-button" name="attach_field_option" value="<?php _e("Attach Field Option", 'custom-contact-forms'); ?>" />
|
241 |
-
<?php } ?>
|
242 |
-
<br />
|
243 |
-
<span class="red bold">*</span> <?php _e("Attach field options in the order you want them to display.", 'custom-contact-forms'); ?> </div>
|
244 |
-
<?php } ?>
|
245 |
-
</td>
|
246 |
-
</tr>
|
247 |
-
</form>
|
248 |
-
<?php
|
249 |
-
}
|
250 |
-
?>
|
251 |
-
</tbody>
|
252 |
-
|
253 |
-
<tfoot>
|
254 |
-
<tr>
|
255 |
-
<th scope="col" class="manage-column field-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
256 |
-
<th scope="col" class="manage-column field-label"><?php _e("Label", 'custom-contact-forms'); ?></th>
|
257 |
-
<th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
|
258 |
-
<th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
|
259 |
-
<th scope="col" class="manage-column field-required"><?php _e("Required", 'custom-contact-forms'); ?></th>
|
260 |
-
<th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
|
261 |
-
<th scope="col" class="manage-column field-action"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
262 |
-
</tr>
|
263 |
-
</tfoot>
|
264 |
-
</table>
|
265 |
-
<a name="manage-fixed-fields"></a>
|
266 |
-
<h3 class="manage-h3"><?php _e("Manage Fixed Fields", 'custom-contact-forms'); ?></h3>
|
267 |
-
<table class="widefat post" id="manage-fixed-fields" cellspacing="0">
|
268 |
-
<thead>
|
269 |
-
<tr>
|
270 |
-
<th scope="col" class="manage-column field-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
271 |
-
<th scope="col" class="manage-column field-label"><?php _e("Label", 'custom-contact-forms'); ?></th>
|
272 |
-
<th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
|
273 |
-
<th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
|
274 |
-
<th scope="col" class="manage-column field-value"><?php _e("Required", 'custom-contact-forms'); ?></th>
|
275 |
-
<th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
|
276 |
-
<th scope="col" class="manage-column field-action"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
277 |
-
</tr>
|
278 |
-
</thead>
|
279 |
-
<tbody>
|
280 |
-
<?php
|
281 |
-
$fields = parent::selectAllFields();
|
282 |
-
for ($i = 0, $z = 0; $i < count($fields); $i++, $z++) {
|
283 |
-
if ($fields[$i]->user_field == 1) { $z--; continue;}
|
284 |
-
$field_types = '<option>Text</option><option>Textarea</option><option>Hidden</option><option>Checkbox</option>';
|
285 |
-
$field_types = str_replace('<option>'.$fields[$i]->field_type.'</option>', '<option selected="selected">'.$fields[$i]->field_type.'</option>', $field_types);
|
286 |
-
|
287 |
-
?>
|
288 |
-
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
289 |
-
<tr <?php if ($z % 2 == 0) echo ' class="evenrow"'; ?>>
|
290 |
-
<td><?php echo $fields[$i]->field_slug; ?></td>
|
291 |
-
<td><?php if ($fields[$i]->field_slug == 'resetButton') { _e('None', 'custom-contact-forms'); } else { ?>
|
292 |
-
<input type="text" name="field[field_label]" maxlength="100" value="<?php echo $fields[$i]->field_label; ?>" />
|
293 |
-
<?php } ?></td>
|
294 |
-
<td><?php echo $fields[$i]->field_type; ?>
|
295 |
-
<td><?php if ($fields[$i]->field_type != 'Checkbox') { ?>
|
296 |
-
<input type="text" name="field[field_value]" class="width75" maxlength="50" value="<?php echo $fields[$i]->field_value; ?>" />
|
297 |
-
<?php } else {
|
298 |
-
echo $fields[$i]->field_value;
|
299 |
-
?>
|
300 |
-
<?php } ?>
|
301 |
-
</td>
|
302 |
-
<td><?php if ($fields[$i]->field_slug == 'fixedEmail') { ?>
|
303 |
-
<select name="field[field_required]">
|
304 |
-
<option value="1"><?php _e("Yes", 'custom-contact-forms'); ?></option>
|
305 |
-
<option <?php if($fields[$i]->field_required != 1) echo 'selected="selected"'; ?> value="0"><?php _e("No", 'custom-contact-forms'); ?></option>
|
306 |
-
</select>
|
307 |
-
<?php } else {
|
308 |
-
if ($fields[$i]->field_slug == 'resetButton') {
|
309 |
-
echo '-';
|
310 |
-
} else {
|
311 |
-
_e("Yes", 'custom-contact-forms');
|
312 |
-
}
|
313 |
-
}
|
314 |
-
?>
|
315 |
-
</td>
|
316 |
-
<td><?php if ($fields[$i]->field_type != 'Checkbox' && $fields[$i]->field_slug != 'resetButton') { ?>
|
317 |
-
<input type="text" class="width50" name="field[field_maxlength]" value="<?php echo $fields[$i]->field_maxlength; ?>" />
|
318 |
-
<?php } else { _e('None', 'custom-contact-forms'); } ?>
|
319 |
-
</td>
|
320 |
-
<td><input type="hidden" class="object-type" name="object_type" value="field" />
|
321 |
-
<input type="hidden" class="object-id" name="fid" value="<?php echo $fields[$i]->id; ?>" />
|
322 |
-
<span class="fixed-fields-options-expand"></span>
|
323 |
-
<input type="submit" name="field_edit" class="edit-button" value="<?php _e("Save", 'custom-contact-forms'); ?>" /></td>
|
324 |
-
</tr>
|
325 |
-
<tr <?php if ($z % 2 == 0) echo ' class="evenrow"'; ?>>
|
326 |
-
<td class="fixed-fields-extra-options" colspan="7">
|
327 |
-
<label for="field_class"><?php _e('Field Class:', 'custom-contact-forms'); ?></label>
|
328 |
-
<input type="text" value="<?php echo $fields[$i]->field_class; ?>" name="field[field_class]" />
|
329 |
-
<?php if ($fields[$i]->field_slug != 'resetButton') { ?>
|
330 |
-
<label for="field_instructions"><?php _e("Field Instructions:", 'custom-contact-forms'); ?></label>
|
331 |
-
<input type="text" name="field[field_instructions]" class="width200" value="<?php echo $fields[$i]->field_instructions; ?>" />
|
332 |
-
<br /><?php } echo $GLOBALS['ccf_fixed_fields'][$fields[$i]->field_slug]; ?></td>
|
333 |
-
</tr>
|
334 |
-
</form>
|
335 |
-
<?php
|
336 |
-
}
|
337 |
-
?>
|
338 |
-
</tbody>
|
339 |
-
|
340 |
-
<tfoot>
|
341 |
-
<tr>
|
342 |
-
<th scope="col" class="manage-column field-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
343 |
-
<th scope="col" class="manage-column field-label"><?php _e("Label", 'custom-contact-forms'); ?></th>
|
344 |
-
<th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
|
345 |
-
<th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
|
346 |
-
<th scope="col" class="manage-column field-value"><?php _e("Required", 'custom-contact-forms'); ?></th>
|
347 |
-
<th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
|
348 |
-
<th scope="col" class="manage-column field-action"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
349 |
-
</tr>
|
350 |
-
</tfoot>
|
351 |
-
</table>
|
352 |
-
<a name="manage-field-options"></a>
|
353 |
-
<div id="field-options" class="postbox">
|
354 |
-
<h3 class="hndle"><span><?php _e("Manage Field Options (for Dropdown and Radio Fields)", 'custom-contact-forms'); ?></span></h3>
|
355 |
-
<div class="inside">
|
356 |
-
<div class="option-header">
|
357 |
-
<div class="slug"><?php _e("Slug", 'custom-contact-forms'); ?></div>
|
358 |
-
<div class="label"><?php _e("Label", 'custom-contact-forms'); ?></div>
|
359 |
-
<div class="option-value"><?php _e("Value", 'custom-contact-forms'); ?></div>
|
360 |
-
<div class="action"><?php _e("Action", 'custom-contact-forms'); ?></div>
|
361 |
-
</div>
|
362 |
-
<table id="edit-field-options">
|
363 |
-
<?php
|
364 |
-
$options = parent::selectAllFieldOptions();
|
365 |
-
$i = 0;
|
366 |
-
foreach ($options as $option) {
|
367 |
-
?>
|
368 |
-
<tr<?php if ($i % 2 == 1) echo ' class="evenrow-field-options"'; ?>>
|
369 |
-
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']?>">
|
370 |
-
<td class="slug"><input type="text" maxlength="20" name="option[option_slug]" value="<?php echo $option->option_slug; ?>" class="width50" /></td>
|
371 |
-
<td class="label"><input type="text" name="option[option_label]" value="<?php echo $option->option_label; ?>" class="width100" /></td>
|
372 |
-
<td class="option-value"><input type="text" name="option[option_value]" value="<?php echo $option->option_value; ?>" class="width100" /></td>
|
373 |
-
<td class="action"><input type="submit" value="<?php _e("Save", 'custom-contact-forms'); ?>" class="edit-button" name="edit_field_option" />
|
374 |
-
<input type="submit" class="delete-button" value="<?php _e("Delete", 'custom-contact-forms'); ?>" name="delete_field_option" />
|
375 |
-
</td>
|
376 |
-
<input type="hidden" class="object-type" name="object_type" value="field_option" />
|
377 |
-
<input type="hidden" class="object-id" name="oid" value="<?php echo $option->id; ?>" />
|
378 |
-
</form>
|
379 |
-
</tr>
|
380 |
-
<?php
|
381 |
-
$i++;
|
382 |
-
} if (empty($options)) {
|
383 |
-
?>
|
384 |
-
<tr>
|
385 |
-
<td class="ccf-center"><?php _e("No field options have been created.", 'custom-contact-forms'); ?></td>
|
386 |
-
</tr>
|
387 |
-
<?php
|
388 |
-
}
|
389 |
-
?>
|
390 |
-
</table>
|
391 |
-
<div class="option-header">
|
392 |
-
<div class="slug"><?php _e("Slug", 'custom-contact-forms'); ?></div>
|
393 |
-
<div class="label"><?php _e("Label", 'custom-contact-forms'); ?></div>
|
394 |
-
<div class="option-value"><?php _e("Value", 'custom-contact-forms'); ?></div>
|
395 |
-
<div class="action"><?php _e("Action", 'custom-contact-forms'); ?></div>
|
396 |
-
</div>
|
397 |
-
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']?>">
|
398 |
-
<input type="hidden" name="object_type" value="field_option" />
|
399 |
-
<div class="create-field-options-header"><?php _e("Create a Field Option", 'custom-contact-forms'); ?></div>
|
400 |
-
<ul id="create-field-options">
|
401 |
-
<li>
|
402 |
-
<label for="option[option_slug]">* <?php _e("Option Slug:", 'custom-contact-forms'); ?></label>
|
403 |
-
<input maxlength="20" type="text" name="option[option_slug]" />
|
404 |
-
<br />
|
405 |
-
<?php _e("(Used to identify this option, solely for admin purposes; must be unique, and contain only letters, numbers, and underscores. Example: 'slug_one')", 'custom-contact-forms'); ?></li>
|
406 |
-
<li>
|
407 |
-
<label for="option[option_label]">* <?php _e("Option Label:", 'custom-contact-forms'); ?></label>
|
408 |
-
<input type="text" name="option[option_label]" />
|
409 |
-
<br />
|
410 |
-
<?php _e("(This is what is shown to the user in the dropdown or radio field. Example:)", 'custom-contact-forms'); ?></li>
|
411 |
-
<li>
|
412 |
-
<label for="option[option_value]"><?php _e("Option Value:", 'custom-contact-forms'); ?></label>
|
413 |
-
<input type="text" name="option[option_value]" />
|
414 |
-
<br />
|
415 |
-
<?php _e('(This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: "The color green" => "green" or "Yes" => "1".)', 'custom-contact-forms'); ?></li>
|
416 |
-
<li>
|
417 |
-
<input type="submit" class="create-button" name="create_field_option" value="<?php _e("Create Field Option", 'custom-contact-forms'); ?>" />
|
418 |
-
</li>
|
419 |
-
</ul>
|
420 |
-
<p id="edit-field-comments"><b>*</b> <?php _e("The option value is behind the scences; unseen by the user, but when a user fills out the form, the option value is what is actually sent in the email to you. For dropdown fields the option value is optional, for radio fields it is required.", 'custom-contact-forms'); ?></p>
|
421 |
-
</form>
|
422 |
-
</div>
|
423 |
-
</div>
|
424 |
-
<a name="manage-forms"></a>
|
425 |
-
<h3 class="manage-h3"><?php _e("Manage Forms", 'custom-contact-forms'); ?></h3>
|
426 |
-
<table class="widefat post" id="manage-forms" cellspacing="0">
|
427 |
-
<thead>
|
428 |
-
<tr>
|
429 |
-
<th scope="col" class="manage-column form-code"><?php _e("Form Display Code", 'custom-contact-forms'); ?></th>
|
430 |
-
<th scope="col" class="manage-column form-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
431 |
-
<th scope="col" class="manage-column form-title"><?php _e("Title", 'custom-contact-forms'); ?></th>
|
432 |
-
<th scope="col" class="manage-column form-submit"><?php _e("Button Text", 'custom-contact-forms'); ?></th>
|
433 |
-
<th scope="col" class="manage-column form-submit"><?php _e("Style", 'custom-contact-forms'); ?></th>
|
434 |
-
<th scope="col" class="manage-column form-submit"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
435 |
-
</tr>
|
436 |
-
</thead>
|
437 |
-
<tbody>
|
438 |
-
<?php
|
439 |
-
$forms = parent::selectAllForms();
|
440 |
-
for ($i = 0; $i < count($forms); $i++) {
|
441 |
-
$form_methods = '<option>Post</option><option>Get</option>';
|
442 |
-
$form_methods = str_replace('<option>'.$forms[$i]->form_method.'</option>', '<option selected="selected">'.$forms[$i]->form_method.'</option>', $form_methods);
|
443 |
-
$add_fields = $this->getFieldsForm();
|
444 |
-
$this_style = parent::selectStyle($forms[$i]->form_style, '');
|
445 |
-
$sty_opt = str_replace('<option value="'.$forms[$i]->form_style.'">'.$this_style->style_slug.'</option>', '<option value="'.$forms[$i]->form_style.'" selected="selected">'.$this_style->style_slug.'</option>', $style_options);
|
446 |
-
?>
|
447 |
-
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
448 |
-
<tr class="<?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
449 |
-
<td><span class="bold">[customcontact form=<?php echo $forms[$i]->id ?>]</span></td>
|
450 |
-
<td><input type="text" class="width75" name="form[form_slug]" value="<?php echo $forms[$i]->form_slug; ?>" /></td>
|
451 |
-
<td><input type="text" class="width125" name="form[form_title]" value="<?php echo $forms[$i]->form_title; ?>" /></td>
|
452 |
-
<td><input class="width100" type="text" name="form[submit_button_text]" value="<?php echo $forms[$i]->submit_button_text; ?>" /></td>
|
453 |
-
<td><select name="form[form_style]" class="form_style_input">
|
454 |
-
<?php echo $sty_opt; ?>
|
455 |
-
</select></td>
|
456 |
-
<td><input type="hidden" class="object-id" name="fid" value="<?php echo $forms[$i]->id; ?>" />
|
457 |
-
<input type="hidden" class="object-type" name="object_type" value="form" />
|
458 |
-
<span class="form-options-expand"></span>
|
459 |
-
<input type="submit" name="form_edit" class="edit-button" value="<?php _e("Save", 'custom-contact-forms'); ?>" />
|
460 |
-
<input type="submit" name="form_delete" class="delete-button" value="<?php _e("Delete", 'custom-contact-forms'); ?>" />
|
461 |
-
</td>
|
462 |
-
</tr>
|
463 |
-
<tr class="<?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
464 |
-
<td class="form-extra-options textcenter" colspan="8"><table class="form-extra-options-table">
|
465 |
-
<tbody>
|
466 |
-
<tr>
|
467 |
-
<td class="bold"><?php _e("Method", 'custom-contact-forms'); ?></td>
|
468 |
-
<td class="bold"><?php _e("Form Action", 'custom-contact-forms'); ?></td>
|
469 |
-
<td class="bold"><?php _e("Destination Email", 'custom-contact-forms'); ?></td>
|
470 |
-
<td class="bold"><?php _e("Success Message Title", 'custom-contact-forms'); ?></td>
|
471 |
-
<td class="bold"><?php _e("Success Message", 'custom-contact-forms'); ?></td>
|
472 |
-
<td class="bold"><?php _e("Custom Success URL", 'custom-contact-forms'); ?></td>
|
473 |
-
</tr>
|
474 |
-
<tr>
|
475 |
-
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("The Form Method is the method by which information is transfer through your form. If you aren't an expert with HTML and PHP, leave this as Post.", 'custom-contact-forms'); ?>">(?)</a>
|
476 |
-
<select name="form[form_method]">
|
477 |
-
<?php echo $form_methods; ?>
|
478 |
-
</select></td>
|
479 |
-
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("This lets you process your forms through alternate scripts. If you use a service like InfusionSoft or Aweber, set this to be the same form action as the code provided to you by that service, otherwise leave this blank.", 'custom-contact-forms'); ?>">(?)</a>
|
480 |
-
<input class="width100" type="text" name="form[form_action]" value="<?php echo $forms[$i]->form_action; ?>" /></td>
|
481 |
-
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("This email address will recieve form emails (provided that Email Form Submissions is set to Yes in general settings).", 'custom-contact-forms'); ?>">(?)</a>
|
482 |
-
<input class="width100" type="text" name="form[form_email]" value="<?php echo $forms[$i]->form_email; ?>" /></td>
|
483 |
-
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("This will be displayed as the header in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>">(?)</a>
|
484 |
-
<input class="width100" type="text" name="form[form_success_title]" value="<?php echo $forms[$i]->form_success_title; ?>" /></td>
|
485 |
-
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("This will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>">(?)</a>
|
486 |
-
<input type="text" name="form[form_success_message]" class="width100" value="<?php echo $forms[$i]->form_success_message; ?>" /></td>
|
487 |
-
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("If this is filled out, users will be sent to this thank you page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success.", 'custom-contact-forms'); ?>">(?)</a>
|
488 |
-
<input type="text" class="width100" name="form[form_thank_you_page]" value="<?php echo $forms[$i]->form_thank_you_page; ?>" /></td>
|
489 |
-
</tr>
|
490 |
-
<tr>
|
491 |
-
<td colspan="3"><label for="dettach_object_id"><span><?php _e("Attached Fields:", 'custom-contact-forms'); ?></span></label>
|
492 |
-
<?php
|
493 |
-
$attached_fields = parent::getAttachedFieldsArray($forms[$i]->id);
|
494 |
-
if (empty($attached_fields)) echo '<select name="dettach_object_id"><option value="-1">Nothing Attached!</option></select> ';
|
495 |
-
else {
|
496 |
-
echo '<select name="dettach_object_id" class="onObject' . $forms[$i]->id . '" objectTypeForm>';
|
497 |
-
foreach($attached_fields as $attached_field) {
|
498 |
-
$this_field = parent::selectField($attached_field, '');
|
499 |
-
echo $this_field->field_slug . ' <option value="'.$this_field->id.'">'.$this_field->field_slug.'</option>';
|
500 |
-
}
|
501 |
-
echo '</select>';
|
502 |
-
}
|
503 |
-
?>
|
504 |
-
<input type="submit" class="dettach-button" value="<?php _e("Dettach Field", 'custom-contact-forms'); ?>" name="dettach_field" />
|
505 |
-
<br />
|
506 |
-
<span class="red bold">*</span> <?php _e("Attach fields in the order you want them displayed.", 'custom-contact-forms'); ?> </td>
|
507 |
-
<td colspan="3"><label for="field_id"><span><?php _e("Attach Field:", 'custom-contact-forms'); ?></span></label>
|
508 |
-
<select class="onObject<?php echo $forms[$i]->id; ?> objectTypeForm" name="attach_object_id">
|
509 |
-
<?php echo $add_fields; ?>
|
510 |
-
</select>
|
511 |
-
<input class="attach-button" type="submit" name="form_add_field" value="<?php _e("Attach Field", 'custom-contact-forms'); ?>" />
|
512 |
-
<br />
|
513 |
-
<span class="red bold">*</span> <?php _e("Attach fixed fields or ones you", 'custom-contact-forms'); ?> <a href="#create-fields"><?php _e("create", 'custom-contact-forms'); ?></a>. </td>
|
514 |
-
</tr>
|
515 |
-
<tr>
|
516 |
-
<td colspan="6"><label for="theme_code_<?php echo $forms[$i]->id; ?>"><a href="javascript:void(0)" class="toollink" title="<?php _e("The form display code above ([customcontact form=x]) will only work in Wordpress pages and posts. If you want to display this form in a theme file such as page.php, header.php, index.php, category.php, etc, then insert this PHP snippet.", 'custom-contact-forms'); ?>">(?)</a> <span><?php _e("Code to Display Form in Theme Files:", 'custom-contact-forms'); ?></span></label>
|
517 |
-
<input type="text" class="width225" value="<?php if (function_exists('serveCustomContactForm')) { serveCustomContactForm(<?php echo $forms[$i]->id; ?>); } ?>" name="theme_code_<?php echo $forms[$i]->id; ?>" />
|
518 |
-
<label for="form[custom_code]"><a href="javascript:void(0)" class="toollink" title="<?php _e("This field allows you to insert HTML directly after the starting <form> tag.", 'custom-contact-forms'); ?>">(?)</a> <?php _e("Custom Code:", 'custom-contact-forms'); ?></label>
|
519 |
-
<input name="form[custom_code]" type="text" value="<?php echo $forms[$i]->custom_code; ?>" /></td>
|
520 |
-
</tr>
|
521 |
-
</tbody>
|
522 |
-
</table></td>
|
523 |
-
</tr>
|
524 |
-
</form>
|
525 |
-
<?php
|
526 |
-
}
|
527 |
-
$remember_check = ($admin_options['remember_field_values'] == 0) ? 'selected="selected"' : '';
|
528 |
-
$remember_fields = '<option value="1">'.__('Yes', 'custom-contact-forms').'</option><option '.$remember_check.' value="0">'.__('No', 'custom-contact-forms').'</option>';
|
529 |
-
$border_style_options = '<option>solid</option><option>dashed</option>
|
530 |
-
<option>grooved</option><option>double</option><option>dotted</option><option>ridged</option><option>none</option>
|
531 |
-
<option>inset</option><option>outset</option>';
|
532 |
-
?>
|
533 |
-
</tbody>
|
534 |
-
|
535 |
-
<tfoot>
|
536 |
-
<tr>
|
537 |
-
<tr>
|
538 |
-
<th scope="col" class="manage-column form-code"><?php _e("Form Code", 'custom-contact-forms'); ?></th>
|
539 |
-
<th scope="col" class="manage-column form-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
540 |
-
<th scope="col" class="manage-column form-title"><?php _e("Title", 'custom-contact-forms'); ?></th>
|
541 |
-
<th scope="col" class="manage-column form-submit"><?php _e("Button Text", 'custom-contact-forms'); ?></th>
|
542 |
-
<th scope="col" class="manage-column form-submit"><?php _e("Style", 'custom-contact-forms'); ?></th>
|
543 |
-
<th scope="col" class="manage-column form-submit"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
544 |
-
</tr>
|
545 |
-
</tr>
|
546 |
-
|
547 |
-
</tfoot>
|
548 |
-
</table>
|
549 |
-
<?php
|
550 |
-
require_once('custom-contact-forms-user-data.php');
|
551 |
-
$user_data_array = parent::selectAllUserData();
|
552 |
-
?>
|
553 |
-
<a name="form-submissions"></a>
|
554 |
-
<h3 class="manage-h3"><?php _e("Saved Form Submissions", 'custom-contact-forms'); ?></h3>
|
555 |
-
<table class="widefat post" id="form-submissions" cellspacing="0">
|
556 |
-
<thead>
|
557 |
-
<tr>
|
558 |
-
<th scope="col" class="manage-column width250"><?php _e("Date Submitted", 'custom-contact-forms'); ?></th>
|
559 |
-
<th scope="col" class="manage-column width150"><?php _e("Form Submitted", 'custom-contact-forms'); ?></th>
|
560 |
-
<th scope="col" class="manage-column width250"><?php _e("Form Page", 'custom-contact-forms'); ?></th>
|
561 |
-
<th scope="col" class="manage-column "><div class="alignright"><?php _e("Action", 'custom-contact-forms'); ?></div></th>
|
562 |
-
</tr>
|
563 |
-
</thead>
|
564 |
-
<tbody>
|
565 |
-
<?php
|
566 |
-
$i = 0;
|
567 |
-
foreach ($user_data_array as $data_object) {
|
568 |
-
$data = new CustomContactFormsUserData(array('form_id' => $data_object->data_formid, 'data_time' => $data_object->data_time, 'form_page' => $data_object->data_formpage, 'encoded_data' => $data_object->data_value));
|
569 |
-
?>
|
570 |
-
<tr class="submission-top <?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
571 |
-
<td><?php echo date('F d, Y h:i:s A', $data->getDataTime()); ?></td>
|
572 |
-
<td><?php
|
573 |
-
if ($data->getFormID() > 0) {
|
574 |
-
$data_form = parent::selectForm($data->getFormID());
|
575 |
-
echo $data_form->form_slug;
|
576 |
-
} else
|
577 |
-
_e('Custom HTML Form', 'custom-contact-forms');
|
578 |
-
?>
|
579 |
-
</td>
|
580 |
-
<td><?php echo $data->getFormPage(); ?> </td>
|
581 |
-
<td class="alignright"><form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
582 |
-
<span class="submission-content-expand"></span>
|
583 |
-
<input type="submit" class="delete-button" value="<?php _e("Delete", 'custom-contact-forms'); ?>" name="form_submission_delete" />
|
584 |
-
<input type="hidden" class="object-type" name="object_type" value="form_submission" />
|
585 |
-
<input type="hidden" class="object-id" value="<?php echo $data_object->id; ?>" name="uid" />
|
586 |
-
</form></td>
|
587 |
-
</tr>
|
588 |
-
<tr class="submission-content <?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
589 |
-
<td colspan="4"><ul>
|
590 |
-
<?php
|
591 |
-
$data_array = $data->getDataArray();
|
592 |
-
foreach ($data_array as $item_key => $item_value) {
|
593 |
-
?>
|
594 |
-
<li>
|
595 |
-
<div><?php echo $item_key; ?></div>
|
596 |
-
<p><?php echo $item_value; ?></p>
|
597 |
-
</li>
|
598 |
-
<?php
|
599 |
-
}
|
600 |
-
?>
|
601 |
-
</ul></td>
|
602 |
-
</tr>
|
603 |
-
<?php
|
604 |
-
$i++;
|
605 |
-
}
|
606 |
-
?>
|
607 |
-
</tbody>
|
608 |
-
<tfoot>
|
609 |
-
<tr>
|
610 |
-
<th scope="col" class="manage-column width250"><?php _e("Date Submitted", 'custom-contact-forms'); ?></th>
|
611 |
-
<th scope="col" class="manage-column width150"><?php _e("Form Submitted", 'custom-contact-forms'); ?></th>
|
612 |
-
<th scope="col" class="manage-column width250"><?php _e("Form Page", 'custom-contact-forms'); ?></th>
|
613 |
-
<th scope="col" class="manage-column "><div class="alignright"><?php _e("Action", 'custom-contact-forms'); ?></div></th>
|
614 |
-
</tr>
|
615 |
-
</tfoot>
|
616 |
-
</table>
|
617 |
-
<a name="general-settings"></a>
|
618 |
-
<div id="general-settings" class="postbox">
|
619 |
-
<h3 class="hndle"><span><?php _e("General Settings", 'custom-contact-forms'); ?></span></h3>
|
620 |
-
<div class="inside">
|
621 |
-
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
622 |
-
<ul>
|
623 |
-
<li>
|
624 |
-
<label for="email_form_submissions"><?php _e("Email Form Submissions:", 'custom-contact-forms'); ?></label>
|
625 |
-
<select name="email_form_submissions">
|
626 |
-
<option value="1"><?php _e("Yes", 'custom-contact-forms'); ?></option>
|
627 |
-
<option value="0" <?php if ($admin_options['email_form_submissions'] == 0) echo 'selected="selected"'; ?>><?php _e("No", 'custom-contact-forms'); ?></option>
|
628 |
-
</select>
|
629 |
-
</li>
|
630 |
-
<li class="descrip"><?php _e("When a user fills out one of your forms, the info he submitted is saved in the Saved Form Submission section of the admin panel for you to view. If this is enabled, you will also be sent an email containing the submission info.", 'custom-contact-forms'); ?></li>
|
631 |
-
<li>
|
632 |
-
<label for="default_to_email"><?php _e("Default Email:", 'custom-contact-forms'); ?></label>
|
633 |
-
<input name="default_to_email" value="<?php echo $admin_options['default_to_email']; ?>" type="text" maxlength="100" />
|
634 |
-
</li>
|
635 |
-
<li class="descrip"><?php _e("Form emails will be sent <span>to</span> this address, if no destination email is specified by the form.", 'custom-contact-forms'); ?></li>
|
636 |
-
<li>
|
637 |
-
<label for="enable_jquery"><?php _e("Front End JQuery:", 'custom-contact-forms'); ?></label>
|
638 |
-
<select name="enable_jquery">
|
639 |
-
<option value="1"><?php _e("Enabled", 'custom-contact-forms'); ?></option>
|
640 |
-
<option <?php if ($admin_options['enable_jquery'] != 1) echo 'selected="selected"'; ?> value="0"><?php _e("Disabled", 'custom-contact-forms'); ?></option>
|
641 |
-
</select>
|
642 |
-
</li>
|
643 |
-
<li class="descrip"><?php _e("Some plugins don't setup JQuery correctly, so when any other plugin uses JQuery (whether correctly or not), JQuery works for neither plugin. This plugin uses JQuery correctly. If another plugin isn't using JQuery correctly but is more important to you than this one: disable this option. 99% of this plugin's functionality will work without JQuery, just no field instruction tooltips.", 'custom-contact-forms'); ?></li>
|
644 |
-
<li>
|
645 |
-
<label for="default_from_email"><?php _e("Default From Email:", 'custom-contact-forms'); ?></label>
|
646 |
-
<input name="default_from_email" value="<?php echo $admin_options['default_from_email']; ?>" type="text" maxlength="100" />
|
647 |
-
</li>
|
648 |
-
<li class="descrip"><?php _e("Form emails will be sent <span>from</span> this address. It is recommended you provide a real email address that has been created through your host.", 'custom-contact-forms'); ?></li>
|
649 |
-
<li>
|
650 |
-
<label for="default_form_subject"><?php _e("Default Email Subject:", 'custom-contact-forms'); ?></label>
|
651 |
-
<input name="default_form_subject" value="<?php echo $admin_options['default_form_subject']; ?>" type="text" />
|
652 |
-
</li>
|
653 |
-
<li class="descrip"><?php _e("Default subject to be included in all form emails.", 'custom-contact-forms'); ?></li>
|
654 |
-
<li>
|
655 |
-
<label for="form_success_message_title"><?php _e("Default Form Success Message Title:", 'custom-contact-forms'); ?></label>
|
656 |
-
<input name="form_success_message_title" value="<?php echo $admin_options['form_success_message_title']; ?>" type="text"/>
|
657 |
-
</li>
|
658 |
-
<li class="descrip"><?php _e("If someone fills out a form for which a success message title is not provided and a custom success page is not provided, the plugin will show a popover using this field as the window title.", 'custom-contact-forms'); ?></li>
|
659 |
-
<li>
|
660 |
-
<label for="form_success_message"><?php _e("Default Form Success Message:", 'custom-contact-forms'); ?></label>
|
661 |
-
<input name="form_success_message" value="<?php echo $admin_options['form_success_message']; ?>" type="text"/>
|
662 |
-
</li>
|
663 |
-
<li class="descrip"><?php _e("If someone fills out a form for which a success message is not provided and a custom success page is not provided, the plugin will show a popover containing this message.", 'custom-contact-forms'); ?></li>
|
664 |
-
<li>
|
665 |
-
<label for="remember_field_values"><?php _e("Remember Field Values:", 'custom-contact-forms'); ?></label>
|
666 |
-
<select name="remember_field_values">
|
667 |
-
<option value="1"><?php _e("Yes", 'custom-contact-forms'); ?></option>
|
668 |
-
<option <?php if ($admin_options['remember_field_values'] == 0) echo 'selected="selected"'; ?> value="0"><?php _e("No", 'custom-contact-forms'); ?></option>
|
669 |
-
</select>
|
670 |
-
</li>
|
671 |
-
<li class="descrip"><?php _e("Selecting yes will make form fields remember how they were last filled out.", 'custom-contact-forms'); ?></li>
|
672 |
-
<li>
|
673 |
-
<label for="enable_widget_tooltips"><?php _e("Tooltips in Widget:", 'custom-contact-forms'); ?></label>
|
674 |
-
<select name="enable_widget_tooltips">
|
675 |
-
<option value="1"><?php _e("Enabled", 'custom-contact-forms'); ?></option>
|
676 |
-
<option <?php if ($admin_options['enable_widget_tooltips'] == 0) echo 'selected="selected"'; ?> value="0"><?php _e("Disabled", 'custom-contact-forms'); ?></option>
|
677 |
-
</select>
|
678 |
-
</li>
|
679 |
-
<li class="descrip"><?php _e("Enabling this shows tooltips containing field instructions on forms in the widget.", 'custom-contact-forms'); ?></li>
|
680 |
-
<li>
|
681 |
-
<label for="author_link"><?php _e("Hide Plugin Author Link in Code:", 'custom-contact-forms'); ?></label>
|
682 |
-
<select name="author_link">
|
683 |
-
<option value="1"><?php _e("Yes", 'custom-contact-forms'); ?></option>
|
684 |
-
<option <?php if ($admin_options['author_link'] == 0) echo 'selected="selected"'; ?> value="0"><?php _e("No", 'custom-contact-forms'); ?></option>
|
685 |
-
</select>
|
686 |
-
</li>
|
687 |
-
<li>
|
688 |
-
<label for="code_type"><?php _e("Use Code Type:", 'custom-contact-forms'); ?></label>
|
689 |
-
<select name="code_type">
|
690 |
-
<option>XHTML</option>
|
691 |
-
<option <?php if ($admin_options['code_type'] == 'HTML') echo 'selected="selected"'; ?>>HTML</option>
|
692 |
-
</select>
|
693 |
-
</li>
|
694 |
-
<li class="descrip"><?php _e("This lets you switch the form code between HTML and XHTML.", 'custom-contact-forms'); ?></li>
|
695 |
-
<li>
|
696 |
-
<label for="admin_ajax"><?php _e("Fancy Admin AJAX Abilities:", 'custom-contact-forms'); ?></label>
|
697 |
-
<select name="admin_ajax">
|
698 |
-
<option value="1"><?php _e("Enabled", 'custom-contact-forms'); ?></option>
|
699 |
-
<option <?php if ($admin_options['admin_ajax'] == 0) echo 'selected="selected"'; ?>><?php _e("Disabled", 'custom-contact-forms'); ?></option>
|
700 |
-
</select>
|
701 |
-
</li>
|
702 |
-
<li class="descrip"><?php _e("If you enable this, creating, editing and modifying forms, fields, styles, etc in the admin panel will be done using AJAX. This means that clicking things like 'Edit' or 'Delete' will not cause the page to reload thus managing your forms will be much smoother and quicker. If you are having problems with things not saving, deleting, or inserting correctly, then disable this and fill out a bug report below.", 'custom-contact-forms'); ?></li>
|
703 |
-
<li>
|
704 |
-
<label for="wp_mail_function"><?php _e("Use Wordpress Mail Function:", 'custom-contact-forms'); ?></label>
|
705 |
-
<select name="wp_mail_function">
|
706 |
-
<option value="1"><?php _e("Yes", 'custom-contact-forms'); ?></option>
|
707 |
-
<option <?php if ($admin_options['wp_mail_function'] == 0) echo 'selected="selected"'; ?> value="0"><?php _e("No", 'custom-contact-forms'); ?></option>
|
708 |
-
</select>
|
709 |
-
</li>
|
710 |
-
<li class="descrip"><?php _e("Setting this to no will use the PHP mail function. If your forms aren't sending mail properly try setting this to no.", 'custom-contact-forms'); ?></li>
|
711 |
-
<li class="show-widget"><b><?php _e("Show Sidebar Widget:", 'custom-contact-forms'); ?></b></li>
|
712 |
-
<li>
|
713 |
-
<label>
|
714 |
-
<input value="1" type="checkbox" name="show_widget_home" <?php if ($admin_options['show_widget_home'] == 1) echo 'checked="checked"'; ?> />
|
715 |
-
<?php _e("On Homepage", 'custom-contact-forms'); ?></label>
|
716 |
-
<label>
|
717 |
-
<input value="1" type="checkbox" name="show_widget_pages" <?php if ($admin_options['show_widget_pages'] == 1) echo 'checked="checked"'; ?> />
|
718 |
-
<?php _e("On Pages", 'custom-contact-forms'); ?></label>
|
719 |
-
<label>
|
720 |
-
<input value="1" type="checkbox" name="show_widget_singles" <?php if ($admin_options['show_widget_singles'] == 1) echo 'checked="checked"'; ?> />
|
721 |
-
<?php _e("On Single Posts", 'custom-contact-forms'); ?></label>
|
722 |
-
<br />
|
723 |
-
<label>
|
724 |
-
<input value="1" type="checkbox" name="show_widget_categories" <?php if ($admin_options['show_widget_categories'] == 1) echo 'checked="checked"'; ?> />
|
725 |
-
<?php _e("On Categories", 'custom-contact-forms'); ?></label>
|
726 |
-
<label>
|
727 |
-
<input value="1" type="checkbox" name="show_widget_archives" <?php if ($admin_options['show_widget_archives'] == 1) echo 'checked="checked"'; ?> />
|
728 |
-
<?php _e("On Archives", 'custom-contact-forms'); ?></label>
|
729 |
-
</li>
|
730 |
-
<li>
|
731 |
-
<input type="submit" value="<?php _e("Update", 'custom-contact-forms'); ?>" name="general_settings" />
|
732 |
-
</li>
|
733 |
-
</ul>
|
734 |
-
</form>
|
735 |
-
</div>
|
736 |
-
</div>
|
737 |
-
<a name="instructions"></a>
|
738 |
-
<div id="instructions" class="postbox">
|
739 |
-
<h3 class="hndle"><span><?php _e("Instructions", 'custom-contact-forms'); ?></span></h3>
|
740 |
-
<div class="inside">
|
741 |
-
<p><b><?php _e("The default content will help you get a better feel of ways this plugin can be used and is the best way to learn.", 'custom-contact-forms'); ?></b></p>
|
742 |
-
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
743 |
-
<div class="ccf-center">
|
744 |
-
<input type="submit" value="<?php _e("Insert Default Content", 'custom-contact-forms'); ?>" name="insert_default_content" />
|
745 |
-
</div>
|
746 |
-
</form>
|
747 |
-
<p><?php _e("1. Create a form.", 'custom-contact-forms'); ?></p>
|
748 |
-
<p><?php _e("2. Create fields and attach those fields to the forms of your choice.", 'custom-contact-forms'); ?> <span class="red bold">*</span> <?php _e("Attach the fields in the order that you want them to show up in the form. If you mess up you can detach and reattach them. Create field options in the field option manager; field options should be attached to radio and dropdown fields.", 'custom-contact-forms'); ?></p>
|
749 |
-
<p><?php _e("3. Display those forms in posts and pages by inserting the code: [customcontact form=<b>FORMID</b>]. Replace <b>FORMID</b> with the id listed to the left of the form slug next to the form of your choice above. You can also display forms in theme files; the code for this is provided within each forms admin section.", 'custom-contact-forms'); ?></p>
|
750 |
-
<p><?php _e("4. Prevent spam by attaching the fixed field, captcha or ishuman. Captcha requires users to type in a number shown on an image. Ishuman requires users to check a box to prove they aren't a spam bot.", 'custom-contact-forms'); ?></p>
|
751 |
-
<p><?php _e("5. Add a form to your sidebar, by dragging the Custom Contact Form widget in to your sidebar.", 'custom-contact-forms'); ?></p>
|
752 |
-
<p><?php _e("6. Configure the General Settings appropriately; this is important if you want to receive your web form messages!", 'custom-contact-forms'); ?></p>
|
753 |
-
<p><?php _e("7. Create form styles to change your forms appearances. The image below explains how each style field can change the look of your forms.", 'custom-contact-forms'); ?></p>
|
754 |
-
<p><?php _e("8. (advanced) If you are confident in your HTML and CSS skills, you can use the", 'custom-contact-forms'); ?> <a href="#custom-html"><?php _e("Custom HTML Forms feature", 'custom-contact-forms'); ?></a> <?php _e("as a framework and write your forms from scratch. This allows you to use this plugin simply to process your form requests. The Custom HTML Forms feature will process and email any form variables sent to it regardless of whether they are created in the fields manager.", 'custom-contact-forms'); ?></p>
|
755 |
-
<p><span class="red bold">*</span> <?php _e("These instructions briefly tell you in which order you should use forms, fields, field options, and styles.", 'custom-contact-forms'); ?> <b><?php _e("If you want to read in detail about using forms, fields, field options, styles and the rest of this plugin, click the button below.", 'custom-contact-forms'); ?></b></p>
|
756 |
-
<div class="ccf-center">
|
757 |
-
<input type="button" class="usage-popover-button" value="<?php _e("View Plugin Usage Popover", 'custom-contact-forms'); ?>" />
|
758 |
-
</div>
|
759 |
-
<div class="ccf-style-example"></div>
|
760 |
-
<div class="ccf-success-popover-example"></div>
|
761 |
-
</div>
|
762 |
-
</div>
|
763 |
-
<a name="create-styles"></a>
|
764 |
-
<div id="create-styles" class="postbox">
|
765 |
-
<h3 class="hndle"><span><?php _e("Create A Style for Your Forms", 'custom-contact-forms'); ?></span></h3>
|
766 |
-
<div class="inside">
|
767 |
-
<p><?php _e("Use this manager to create styles for your forms. Each field is already filled out with nice look defaults. It is recommended you simply input a slug and click create to see the defaults before you start changing values.", 'custom-contact-forms'); ?></p>
|
768 |
-
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
769 |
-
<ul class="style_left">
|
770 |
-
<li>
|
771 |
-
<label for="style_slug">* <?php _e("Style Slug:", 'custom-contact-forms'); ?></label>
|
772 |
-
<input type="text" maxlength="30" class="width75" name="style[style_slug]" />
|
773 |
-
<?php _e("(Must be unique)", 'custom-contact-forms'); ?></li>
|
774 |
-
<li>
|
775 |
-
<label for="title_fontsize"><?php _e("Title Font Size:", 'custom-contact-forms'); ?></label>
|
776 |
-
<input type="text" maxlength="20" value="1.2em" class="width75" name="style[title_fontsize]" />
|
777 |
-
<?php _e("(ex: 10pt, 10px, 1em)", 'custom-contact-forms'); ?></li>
|
778 |
-
<li>
|
779 |
-
<label for="title_fontcolor"><?php _e("Title Font Color:", 'custom-contact-forms'); ?></label>
|
780 |
-
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[title_fontcolor]" />
|
781 |
-
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?></li>
|
782 |
-
<li>
|
783 |
-
<label for="label_width"><?php _e("Label Width:", 'custom-contact-forms'); ?></label>
|
784 |
-
<input type="text" maxlength="20" value="200px" class="width75" name="style[label_width]" />
|
785 |
-
<?php _e("(ex: 100px or 20%)", 'custom-contact-forms'); ?></li>
|
786 |
-
<li>
|
787 |
-
<label for="label_fontsize"><?php _e("Label Font Size:", 'custom-contact-forms'); ?></label>
|
788 |
-
<input type="text" maxlength="20" value="1em" class="width75" name="style[label_fontsize]" />
|
789 |
-
<?php _e("(ex: 10px, 10pt, 1em)", 'custom-contact-forms'); ?></li>
|
790 |
-
<li>
|
791 |
-
<label for="label_fontcolor"><?php _e("Label Font Color:", 'custom-contact-forms'); ?></label>
|
792 |
-
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[label_fontcolor]" />
|
793 |
-
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?></li>
|
794 |
-
<li>
|
795 |
-
<label for="input_width"><?php _e("Text Field Width:", 'custom-contact-forms'); ?></label>
|
796 |
-
<input type="text" maxlength="20" value="200px" class="width75" name="style[input_width]" />
|
797 |
-
<?php _e("(ex: 100px or 100%)", 'custom-contact-forms'); ?></li>
|
798 |
-
<li>
|
799 |
-
<label for="textarea_width"><?php _e("Textarea Field Width:", 'custom-contact-forms'); ?></label>
|
800 |
-
<input type="text" maxlength="20" value="200px" class="width75" name="style[textarea_width]" />
|
801 |
-
<?php _e("(ex: 100px or 100%)", 'custom-contact-forms'); ?></li>
|
802 |
-
<li>
|
803 |
-
<label for="textarea_height"><?php _e("Textarea Field Height:", 'custom-contact-forms'); ?></label>
|
804 |
-
<input type="text" maxlength="20" value="90px" class="width75" name="style[textarea_height]" />
|
805 |
-
<?php _e("(ex: 100px or 100%)", 'custom-contact-forms'); ?></li>
|
806 |
-
<li>
|
807 |
-
<label for="field_fontsize"><?php _e("Field Font Size:", 'custom-contact-forms'); ?></label>
|
808 |
-
<input type="text" maxlength="20" value="1.3em" class="width75" name="style[field_fontsize]" />
|
809 |
-
<?php _e("(ex: 10px, 10pt, 1em", 'custom-contact-forms'); ?></li>
|
810 |
-
<li>
|
811 |
-
<label for="field_fontcolor"><?php _e("Field Font Color:", 'custom-contact-forms'); ?></label>
|
812 |
-
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[field_fontcolor]" />
|
813 |
-
<?php _e("(ex: 333333)", 'custom-contact-forms'); ?></li>
|
814 |
-
<li>
|
815 |
-
<label for="field_borderstyle"><?php _e("Field Border Style:", 'custom-contact-forms'); ?></label>
|
816 |
-
<select class="width75" name="style[field_borderstyle]">
|
817 |
-
<?php echo str_replace('<option>solid</option>', '<option selected="selected">solid</option>', $border_style_options); ?>
|
818 |
-
</select>
|
819 |
-
</li>
|
820 |
-
<li>
|
821 |
-
<label for="form_margin"><?php _e("Form Margin:", 'custom-contact-forms'); ?></label>
|
822 |
-
<input type="text" maxlength="20" value="7px" class="width75" name="style[form_margin]" />
|
823 |
-
<?php _e("(ex: 5px or 1em)", 'custom-contact-forms'); ?></li>
|
824 |
-
<li>
|
825 |
-
<label for="label_margin"><?php _e("Label Margin:", 'custom-contact-forms'); ?></label>
|
826 |
-
<input type="text" maxlength="20" value="5px" class="width75" name="style[label_margin]" />
|
827 |
-
<?php _e("(ex: 5px or 1em)", 'custom-contact-forms'); ?></li>
|
828 |
-
<li>
|
829 |
-
<label for="textarea_backgroundcolor"><?php _e("Textarea Background Color:", 'custom-contact-forms'); ?></label>
|
830 |
-
<input type="text" maxlength="20" value="f5f5f5" class="width75 colorfield" name="style[textarea_backgroundcolor]" />
|
831 |
-
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?></li>
|
832 |
-
<li>
|
833 |
-
<label for="success_popover_fontcolor"><?php _e("Success Popover Font Color:", 'custom-contact-forms'); ?></label>
|
834 |
-
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[success_popover_fontcolor]" />
|
835 |
-
<?php _e("(ex: 333333)", 'custom-contact-forms'); ?></li>
|
836 |
-
<li>
|
837 |
-
<label for="success_popover_title_fontsize"><?php _e("Success Popover Title Font Size:", 'custom-contact-forms'); ?></label>
|
838 |
-
<input type="text" maxlength="20" value="15px" class="width75" name="style[success_popover_title_fontsize]" />
|
839 |
-
<?php _e("(ex: 12px, 1em, 100%)", 'custom-contact-forms'); ?></li>
|
840 |
-
<li>
|
841 |
-
<label for="form_backgroundcolor"><?php _e("Form Background Color:", 'custom-contact-forms'); ?></label>
|
842 |
-
<input type="text" maxlength="20" value="ffffff" class="width75 colorfield" name="style[form_backgroundcolor]" />
|
843 |
-
<?php _e("(ex: 12px, 1em, 100%)", 'custom-contact-forms'); ?></li>
|
844 |
-
<li>
|
845 |
-
<label for="tooltip_backgroundcolor"><?php _e("Tooltip Background Color:", 'custom-contact-forms'); ?></label>
|
846 |
-
<input type="text" maxlength="20" value="000000" class="width75 colorfield" name="style[tooltip_backgroundcolor]" />
|
847 |
-
<?php _e("(ex: 000000 or black)", 'custom-contact-forms'); ?></li>
|
848 |
-
</ul>
|
849 |
-
<ul class="style_right">
|
850 |
-
<li>
|
851 |
-
<label for="input_width"><?php _e("Field Border Color:", 'custom-contact-forms'); ?></label>
|
852 |
-
<input type="text" maxlength="20" value="999999" class="width75 colorfield" name="style[field_bordercolor]" />
|
853 |
-
<?php _e("(ex: 100px or 100%)", 'custom-contact-forms'); ?></li>
|
854 |
-
<li>
|
855 |
-
<label for="form_borderstyle"><?php _e("Form Border Style:", 'custom-contact-forms'); ?></label>
|
856 |
-
<select class="width75" name="style[form_borderstyle]">
|
857 |
-
<?php echo $border_style_options; ?>
|
858 |
-
</select>
|
859 |
-
</li>
|
860 |
-
<li>
|
861 |
-
<label for="form_bordercolor"><?php _e("Form Border Color:", 'custom-contact-forms'); ?></label>
|
862 |
-
<input type="text" maxlength="20" value="ffffff" class="width75 colorfield" name="style[form_bordercolor]" />
|
863 |
-
<?php _e("(ex: 000000)", 'custom-contact-forms'); ?></li>
|
864 |
-
<li>
|
865 |
-
<label for="form_borderwidth"><?php _e("Form Border Width:", 'custom-contact-forms'); ?></label>
|
866 |
-
<input type="text" maxlength="20" value="0px" class="width75" name="style[form_borderwidth]" />
|
867 |
-
<?php _e("(ex: 1px)", 'custom-contact-forms'); ?></li>
|
868 |
-
<li>
|
869 |
-
<label for="form_borderwidth"><?php _e("Form Width:", 'custom-contact-forms'); ?></label>
|
870 |
-
<input type="text" maxlength="20" value="100%" class="width75" name="style[form_width]" />
|
871 |
-
<?php _e("(ex: 100px or 50%)", 'custom-contact-forms'); ?></li>
|
872 |
-
<li>
|
873 |
-
<label for="form_borderwidth"><?php _e("Form Font Family:", 'custom-contact-forms'); ?></label>
|
874 |
-
<input type="text" maxlength="120" value="Verdana, tahoma, arial" class="width75" name="style[form_fontfamily]" />
|
875 |
-
<?php _e("(ex: Verdana, Tahoma, Arial)", 'custom-contact-forms'); ?></li>
|
876 |
-
<li>
|
877 |
-
<label for="submit_width"><?php _e("Button Width:", 'custom-contact-forms'); ?></label>
|
878 |
-
<input type="text" maxlength="20" value="auto" class="width75" name="style[submit_width]" />
|
879 |
-
<?php _e("(ex: 100px, 30%, auto)", 'custom-contact-forms'); ?></li>
|
880 |
-
<li>
|
881 |
-
<label for="submit_height"><?php _e("Button Height:", 'custom-contact-forms'); ?></label>
|
882 |
-
<input type="text" maxlength="20" value="30px" class="width75" name="style[submit_height]" />
|
883 |
-
<?php _e("(ex: 100px or 30%)", 'custom-contact-forms'); ?></li>
|
884 |
-
<li>
|
885 |
-
<label for="submit_fontsize"><?php _e("Button Font Size:", 'custom-contact-forms'); ?></label>
|
886 |
-
<input type="text" maxlength="20" value="1.1em" class="width75" name="style[submit_fontsize]" />
|
887 |
-
<?php _e("(ex: 10px, 10pt, 1em)", 'custom-contact-forms'); ?></li>
|
888 |
-
<li>
|
889 |
-
<label for="submit_fontcolor"><?php _e("Button Font Color:", 'custom-contact-forms'); ?></label>
|
890 |
-
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[submit_fontcolor]" />
|
891 |
-
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?></li>
|
892 |
-
<li>
|
893 |
-
<label for="field_backgroundcolor"><?php _e("Field Background Color:", 'custom-contact-forms'); ?></label>
|
894 |
-
<input type="text" maxlength="20" value="f5f5f5" class="width75 colorfield" name="style[field_backgroundcolor]" />
|
895 |
-
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?></li>
|
896 |
-
<li>
|
897 |
-
<label for="form_padding"><?php _e("Form Padding:", 'custom-contact-forms'); ?></label>
|
898 |
-
<input type="text" maxlength="20" value="8px" class="width75" name="style[form_padding]" />
|
899 |
-
<?php _e("(ex: 5px or 1em)", 'custom-contact-forms'); ?></li>
|
900 |
-
<li>
|
901 |
-
<label for="title_margin"><?php _e("Title Margin:", 'custom-contact-forms'); ?></label>
|
902 |
-
<input type="text" maxlength="20" value="5px" class="width75" name="style[title_margin]" />
|
903 |
-
<?php _e("(ex: 5px or 1em)", 'custom-contact-forms'); ?></li>
|
904 |
-
<li>
|
905 |
-
<label for="title_margin"><?php _e("Dropdown Width:", 'custom-contact-forms'); ?></label>
|
906 |
-
<input type="text" maxlength="20" value="auto" class="width75" name="style[dropdown_width]" />
|
907 |
-
<?php _e("(ex: 30px, 20%, or auto)", 'custom-contact-forms'); ?></li>
|
908 |
-
<li>
|
909 |
-
<label for="success_popover_bordercolor"><?php _e("Success Popover Border Color:", 'custom-contact-forms'); ?></label>
|
910 |
-
<input type="text" maxlength="20" value="efefef" class="width75 colorfield" name="style[success_popover_bordercolor]" />
|
911 |
-
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?></li>
|
912 |
-
<li>
|
913 |
-
<label for="success_popover_fontsize"><?php _e("Success Popover Font Size:", 'custom-contact-forms'); ?></label>
|
914 |
-
<input type="text" maxlength="20" value="12px" class="width75" name="style[success_popover_fontsize]" />
|
915 |
-
<?php _e("(ex: 12px, 1em, 100%)", 'custom-contact-forms'); ?></li>
|
916 |
-
<li>
|
917 |
-
<label for="success_popover_height"><?php _e("Success Popover Height:", 'custom-contact-forms'); ?></label>
|
918 |
-
<input type="text" maxlength="20" value="200px" class="width75" name="style[success_popover_height]" />
|
919 |
-
<?php _e("(ex: 200px, 6em, 50%)", 'custom-contact-forms'); ?></li>
|
920 |
-
<li>
|
921 |
-
<label for="field_borderround"><?php _e("Field Border Roundness:", 'custom-contact-forms'); ?></label>
|
922 |
-
<input type="text" maxlength="20" value="6px" class="width75" name="style[field_borderround]" />
|
923 |
-
<?php _e("(ex: 6px, or 0px)", 'custom-contact-forms'); ?></li>
|
924 |
-
<li>
|
925 |
-
<label for="tooltip_fontsize"><?php _e("Tooltip", 'custom-contact-forms'); ?> <a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a> <?php _e("Font Size:", 'custom-contact-forms'); ?></label>
|
926 |
-
<input type="text" maxlength="20" value="12px" class="width75" name="style[tooltip_fontsize]" />
|
927 |
-
<?php _e("(ex: 12px, 1em, 100%)", 'custom-contact-forms'); ?></li>
|
928 |
-
<li>
|
929 |
-
<label for="tooltip_fontcolor"><?php _e("Tooltip Font Color:", 'custom-contact-forms'); ?></label>
|
930 |
-
<input type="text" maxlength="20" value="ffffff" class="width75 colorfield" name="style[tooltip_fontcolor]" />
|
931 |
-
<?php _e("(ex: ffffff or white)", 'custom-contact-forms'); ?></li>
|
932 |
-
<li>
|
933 |
-
<input type="submit" value="<?php _e("Create Style", 'custom-contact-forms'); ?>" name="style_create" />
|
934 |
-
</li>
|
935 |
-
</ul>
|
936 |
-
</form>
|
937 |
-
</div>
|
938 |
-
</div>
|
939 |
-
<a name="manage-styles"></a>
|
940 |
-
<h3 class="manage-h3"><?php _e("Manage Form Styles", 'custom-contact-forms'); ?></h3>
|
941 |
-
<table class="widefat post" id="manage-styles" cellspacing="0">
|
942 |
-
<thead>
|
943 |
-
<tr>
|
944 |
-
<th scope="col" class="manage-column"></th>
|
945 |
-
<th scope="col" class="manage-column"></th>
|
946 |
-
<th scope="col" class="manage-column"></th>
|
947 |
-
<th scope="col" class="manage-column"></th>
|
948 |
-
<th scope="col" class="manage-column"></th>
|
949 |
-
<th scope="col" class="manage-column"></th>
|
950 |
-
</tr>
|
951 |
-
</thead>
|
952 |
-
<tbody>
|
953 |
-
<?php
|
954 |
-
$styles = parent::selectAllStyles();
|
955 |
-
$i = 0;
|
956 |
-
foreach ($styles as $style) {
|
957 |
-
?>
|
958 |
-
<tr class="<?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
959 |
-
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
960 |
-
<td><label>* <?php _e("Slug:", 'custom-contact-forms'); ?></label>
|
961 |
-
<input type="text" maxlength="30" value="<?php echo $style->style_slug; ?>" name="style[style_slug]" />
|
962 |
-
<br />
|
963 |
-
<label><?php _e("Font Family:", 'custom-contact-forms'); ?></label>
|
964 |
-
<input type="text" maxlength="120" value="<?php echo $style->form_fontfamily; ?>" name="style[form_fontfamily]" />
|
965 |
-
<br />
|
966 |
-
<label><?php _e("Textarea Background", 'custom-contact-forms'); ?><br />
|
967 |
-
<?php _e("Color:", 'custom-contact-forms'); ?></label>
|
968 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->textarea_backgroundcolor; ?>" name="style[textarea_backgroundcolor]" />
|
969 |
-
<br />
|
970 |
-
<label><?php _e("Success Popover", 'custom-contact-forms'); ?><br />
|
971 |
-
<?php _e("Border Color:", 'custom-contact-forms'); ?></label>
|
972 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_bordercolor; ?>" name="style[success_popover_bordercolor]" />
|
973 |
-
<br />
|
974 |
-
<label><?php _e("Tooltip", 'custom-contact-forms'); ?> <a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a> <?php _e("Font Color:", 'custom-contact-forms'); ?></label>
|
975 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->tooltip_fontcolor; ?>" name="style[tooltip_fontcolor]" />
|
976 |
-
<br />
|
977 |
-
<input type="submit" class="submit-styles edit-button" name="style_edit" value="<?php _e("Save", 'custom-contact-forms'); ?>" />
|
978 |
-
<br />
|
979 |
-
<input type="submit" class="submit-styles delete-button" name="style_delete" value="<?php _e("Delete Style", 'custom-contact-forms'); ?>" />
|
980 |
-
</td>
|
981 |
-
<td><label><?php _e("Form Width:", 'custom-contact-forms'); ?></label>
|
982 |
-
<input type="text" maxlength="20" value="<?php echo $style->form_width; ?>" name="style[form_width]" />
|
983 |
-
<br />
|
984 |
-
<label><?php _e("Text Field Width:", 'custom-contact-forms'); ?></label>
|
985 |
-
<input type="text" maxlength="20" value="<?php echo $style->input_width; ?>" name="style[input_width]" />
|
986 |
-
<br />
|
987 |
-
<label><?php _e("Textarea Width:", 'custom-contact-forms'); ?></label>
|
988 |
-
<input type="text" maxlength="20" value="<?php echo $style->textarea_width; ?>" name="style[textarea_width]" />
|
989 |
-
<br />
|
990 |
-
<label><?php _e("Textarea Height:", 'custom-contact-forms'); ?></label>
|
991 |
-
<input type="text" maxlength="20" value="<?php echo $style->textarea_height; ?>" name="style[textarea_height]" />
|
992 |
-
<br />
|
993 |
-
<label><?php _e("Dropdown Width:", 'custom-contact-forms'); ?></label>
|
994 |
-
<input type="text" maxlength="20" value="<?php echo $style->dropdown_width; ?>" name="style[dropdown_width]" />
|
995 |
-
<br />
|
996 |
-
<label><?php _e("Label Margin:", 'custom-contact-forms'); ?></label>
|
997 |
-
<input type="text" maxlength="20" value="<?php echo $style->label_margin; ?>" name="style[label_margin]" />
|
998 |
-
<br />
|
999 |
-
<label><?php _e("Success Popover", 'custom-contact-forms'); ?><br />
|
1000 |
-
<?php _e("Height:", 'custom-contact-forms'); ?></label>
|
1001 |
-
<input type="text" maxlength="20" value="<?php echo $style->success_popover_height; ?>" name="style[success_popover_height]" />
|
1002 |
-
<br />
|
1003 |
-
</td>
|
1004 |
-
<td><label><?php _e("Label Width:", 'custom-contact-forms'); ?></label>
|
1005 |
-
<input type="text" maxlength="20" value="<?php echo $style->label_width; ?>" name="style[label_width]" />
|
1006 |
-
<br />
|
1007 |
-
<label><?php _e("Button Width:", 'custom-contact-forms'); ?></label>
|
1008 |
-
<input type="text" maxlength="20" value="<?php echo $style->submit_width; ?>" name="style[submit_width]" />
|
1009 |
-
<br />
|
1010 |
-
<label><?php _e("Button Height:", 'custom-contact-forms'); ?></label>
|
1011 |
-
<input type="text" maxlength="20" value="<?php echo $style->submit_height; ?>" name="style[submit_height]" />
|
1012 |
-
<br />
|
1013 |
-
<label><?php _e("Field Background Color:", 'custom-contact-forms'); ?></label>
|
1014 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_backgroundcolor; ?>" name="style[field_backgroundcolor]" />
|
1015 |
-
<br />
|
1016 |
-
<label><?php _e("Title Margin:", 'custom-contact-forms'); ?></label>
|
1017 |
-
<input type="text" maxlength="20" value="<?php echo $style->title_margin; ?>" name="style[title_margin]" />
|
1018 |
-
<br />
|
1019 |
-
<label><?php _e("Success Popover", 'custom-contact-forms'); ?><br />
|
1020 |
-
<?php _e("Title Font Size:", 'custom-contact-forms'); ?></label>
|
1021 |
-
<input type="text" maxlength="20" value="<?php echo $style->success_popover_title_fontsize; ?>" name="style[success_popover_title_fontsize]" />
|
1022 |
-
<label><?php _e("Form Background Color:", 'custom-contact-forms'); ?></label>
|
1023 |
-
<input type="text" class="colorfield" maxlength="20" value="<?php echo $style->form_backgroundcolor; ?>" name="style[form_backgroundcolor]" />
|
1024 |
-
</td>
|
1025 |
-
<td><label><?php _e("Title Font Size:", 'custom-contact-forms'); ?></label>
|
1026 |
-
<input type="text" maxlength="20" value="<?php echo $style->title_fontsize; ?>" name="style[title_fontsize]" />
|
1027 |
-
<br />
|
1028 |
-
<label><?php _e("Label Font Size:", 'custom-contact-forms'); ?></label>
|
1029 |
-
<input type="text" maxlength="20" value="<?php echo $style->label_fontsize; ?>" name="style[label_fontsize]" />
|
1030 |
-
<br />
|
1031 |
-
<label><?php _e("Field Font Size:", 'custom-contact-forms'); ?></label>
|
1032 |
-
<input type="text" maxlength="20" value="<?php echo $style->field_fontsize; ?>" name="style[field_fontsize]" />
|
1033 |
-
<br />
|
1034 |
-
<label><?php _e("Button Font Size:", 'custom-contact-forms'); ?></label>
|
1035 |
-
<input type="text" maxlength="20" value="<?php echo $style->submit_fontsize; ?>" name="style[submit_fontsize]" />
|
1036 |
-
<br />
|
1037 |
-
<label><?php _e("Form Padding:", 'custom-contact-forms'); ?></label>
|
1038 |
-
<input type="text" maxlength="20" value="<?php echo $style->form_padding; ?>" name="style[form_padding]" />
|
1039 |
-
<br />
|
1040 |
-
<label><?php _e("Success Popover", 'custom-contact-forms'); ?><br />
|
1041 |
-
<?php _e("Font Size:", 'custom-contact-forms'); ?></label>
|
1042 |
-
<input type="text" maxlength="20" value="<?php echo $style->success_popover_fontsize; ?>" name="style[success_popover_fontsize]" />
|
1043 |
-
<br />
|
1044 |
-
<label><?php _e("Tooltip", 'custom-contact-forms'); ?> <a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a> <?php _e("Background Color:", 'custom-contact-forms'); ?></label>
|
1045 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->tooltip_backgroundcolor; ?>" name="style[tooltip_backgroundcolor]" />
|
1046 |
-
</td>
|
1047 |
-
<td><label><?php _e("Title Font Color:", 'custom-contact-forms'); ?></label>
|
1048 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->title_fontcolor; ?>" name="style[title_fontcolor]" />
|
1049 |
-
<br />
|
1050 |
-
<label><?php _e("Label Font Color:", 'custom-contact-forms'); ?></label>
|
1051 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->label_fontcolor; ?>" name="style[label_fontcolor]" />
|
1052 |
-
<br />
|
1053 |
-
<label><?php _e("Field Font Color:", 'custom-contact-forms'); ?></label>
|
1054 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_fontcolor; ?>" name="style[field_fontcolor]" />
|
1055 |
-
<br />
|
1056 |
-
<label><?php _e("Button Font Color:", 'custom-contact-forms'); ?></label>
|
1057 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->submit_fontcolor; ?>" name="style[submit_fontcolor]" />
|
1058 |
-
<br />
|
1059 |
-
<label><?php _e("Form Margin:", 'custom-contact-forms'); ?></label>
|
1060 |
-
<input type="text" maxlength="20" value="<?php echo $style->form_margin; ?>" name="style[form_margin]" />
|
1061 |
-
<br />
|
1062 |
-
<label><?php _e("Success Popover", 'custom-contact-forms'); ?><br />
|
1063 |
-
<?php _e("Font Color:", 'custom-contact-forms'); ?></label>
|
1064 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_fontcolor; ?>" name="style[success_popover_fontcolor]" />
|
1065 |
-
<br />
|
1066 |
-
<label><?php _e("Tooltip Font Size:", 'custom-contact-forms'); ?></label>
|
1067 |
-
<input type="text" maxlength="20" value="<?php echo $style->tooltip_fontsize; ?>" name="style[tooltip_fontsize]" />
|
1068 |
-
</td>
|
1069 |
-
<td><label><?php _e("Form Border Style:", 'custom-contact-forms'); ?></label>
|
1070 |
-
<select name="style[form_borderstyle]">
|
1071 |
-
<?php echo str_replace('<option>'.$style->form_borderstyle.'</option>', '<option selected="selected">'.$style->form_borderstyle.'</option>', $border_style_options); ?>
|
1072 |
-
</select>
|
1073 |
-
<br />
|
1074 |
-
<label><?php _e("Form Border Width:", 'custom-contact-forms'); ?></label>
|
1075 |
-
<input type="text" maxlength="20" value="<?php echo $style->form_borderwidth; ?>" name="style[form_borderwidth]" />
|
1076 |
-
<br />
|
1077 |
-
<label><?php _e("Form Border Color:", 'custom-contact-forms'); ?></label>
|
1078 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->form_bordercolor; ?>" name="style[form_bordercolor]" />
|
1079 |
-
<br />
|
1080 |
-
<label><?php _e("Field Border Color:", 'custom-contact-forms'); ?></label>
|
1081 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_bordercolor; ?>" name="style[field_bordercolor]" />
|
1082 |
-
<br />
|
1083 |
-
<label><?php _e("Field Border Style:", 'custom-contact-forms'); ?></label>
|
1084 |
-
<select name="style[field_borderstyle]">
|
1085 |
-
<?php echo str_replace('<option>'.$style->field_borderstyle.'</option>', '<option selected="selected">'.$style->field_borderstyle.'</option>', $border_style_options); ?>
|
1086 |
-
</select>
|
1087 |
-
<br />
|
1088 |
-
<label><?php _e("Success Popover", 'custom-contact-forms'); ?><br />
|
1089 |
-
<?php _e("Title Font Color:", 'custom-contact-forms'); ?></label>
|
1090 |
-
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_title_fontcolor; ?>" name="style[success_popover_title_fontcolor]" />
|
1091 |
-
<br />
|
1092 |
-
<label><?php _e("Field Border Roundness:", 'custom-contact-forms'); ?></label>
|
1093 |
-
<input name="style[field_borderround]" value="<?php echo $style->field_borderround; ?>" type="text" maxlength="20" />
|
1094 |
-
<br />
|
1095 |
-
<input type="hidden" class="object-type" name="object_type" value="style" />
|
1096 |
-
<input name="sid" type="hidden" class="object-id" value="<?php echo $style->id; ?>" />
|
1097 |
-
</td>
|
1098 |
-
</form>
|
1099 |
-
</tr>
|
1100 |
-
<?php
|
1101 |
-
$i++;
|
1102 |
-
}
|
1103 |
-
?>
|
1104 |
-
</tbody>
|
1105 |
-
<tfoot>
|
1106 |
-
<tr>
|
1107 |
-
<th scope="col" class="manage-column"></th>
|
1108 |
-
<th scope="col" class="manage-column"></th>
|
1109 |
-
<th scope="col" class="manage-column"></th>
|
1110 |
-
<th scope="col" class="manage-column"></th>
|
1111 |
-
<th scope="col" class="manage-column"></th>
|
1112 |
-
<th scope="col" class="manage-column"></th>
|
1113 |
-
</tr>
|
1114 |
-
</tfoot>
|
1115 |
-
</table>
|
1116 |
-
<a name="contact-author"></a>
|
1117 |
-
<div id="contact-author" class="postbox">
|
1118 |
-
<h3 class="hndle"><span><?php _e("Report a Bug/Suggest a Feature", 'custom-contact-forms'); ?></span></h3>
|
1119 |
-
<div class="inside">
|
1120 |
-
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
1121 |
-
<ul>
|
1122 |
-
<li>
|
1123 |
-
<label for="name"><?php _e("Your Name:", 'custom-contact-forms'); ?></label>
|
1124 |
-
<input id="name" type="text" name="name" maxlength="100" />
|
1125 |
-
</li>
|
1126 |
-
<li>
|
1127 |
-
<label for="email"><?php _e("Your Email:", 'custom-contact-forms'); ?></label>
|
1128 |
-
<input id="email" type="text" value="<?php echo get_option('admin_email'); ?>" name="email" maxlength="100" />
|
1129 |
-
</li>
|
1130 |
-
<li>
|
1131 |
-
<label for="message">* <?php _e("Your Message:", 'custom-contact-forms'); ?></label>
|
1132 |
-
<textarea id="message" name="message"></textarea>
|
1133 |
-
</li>
|
1134 |
-
<li>
|
1135 |
-
<label for="type">* <?php _e("Purpose of this message:", 'custom-contact-forms'); ?></label>
|
1136 |
-
<select id="type" name="type">
|
1137 |
-
<option><?php _e("Bug Report", 'custom-contact-forms'); ?></option>
|
1138 |
-
<option><?php _e("Suggest a Feature", 'custom-contact-forms'); ?></option>
|
1139 |
-
<option><?php _e("Plugin Question", 'custom-contact-forms'); ?></option>
|
1140 |
-
</select>
|
1141 |
-
</li>
|
1142 |
-
</ul>
|
1143 |
-
<p>
|
1144 |
-
<input type="submit" name="contact_author" value="<?php _e("Send Message", 'custom-contact-forms'); ?>" />
|
1145 |
-
</p>
|
1146 |
-
</form>
|
1147 |
-
</div>
|
1148 |
-
</div>
|
1149 |
-
<a name="custom-html"></a>
|
1150 |
-
<div id="custom-html" class="postbox">
|
1151 |
-
<h3 class="hndle"><span><?php _e("Custom HTML Forms (Advanced)", 'custom-contact-forms'); ?></span></h3>
|
1152 |
-
<div class="inside">
|
1153 |
-
<p><?php _e("If you know HTML and simply want to use this plugin to process form requests, this feature is for you.
|
1154 |
-
The following HTML is a the framework to which you must adhere. In order for your form to work you MUST do the following: a) Keep the form action/method the same (yes the action is supposed to be empty), b) Include all the hidden fields shown below, c) provide a
|
1155 |
-
hidden field with a success message or thank you page (both hidden fields are included below, you must choose one or the other and fill in the value part of the input field appropriately.", 'custom-contact-forms'); ?></p>
|
1156 |
-
<textarea id="custom_html_textarea">
|
1157 |
-
<form method="post" action="">
|
1158 |
-
<input type="hidden" name="ccf_customhtml" value="1" />
|
1159 |
-
<input type="hidden" name="success_message" value="<?php _e("Thank you for filling out our form!", 'custom-contact-forms'); ?>" />
|
1160 |
-
<input type="hidden" name="thank_you_page" value="http://www.google.com" />
|
1161 |
-
<input type="hidden" name="destination_email" value="<?php echo $admin_options['default_to_email']; ?>" />
|
1162 |
-
<input type="hidden" name="required_fields" value="field_name1, field_name2" />
|
1163 |
-
|
1164 |
-
<!-- <?php _e("Build your form in here. It is recommended you only use this feature if you are experienced with HTML.
|
1165 |
-
The success_message field will add a popover containing the message when the form is completed successfully, the thank_you_page field will force
|
1166 |
-
the user to be redirected to that specific page on successful form completion. The required_fields hidden field is optional; to use it seperate
|
1167 |
-
the field names you want required by commas. Remember to use underscores instead of spaces in field names!", 'custom-contact-forms'); ?> -->
|
1168 |
-
|
1169 |
-
</form></textarea>
|
1170 |
-
</div>
|
1171 |
-
</div>
|
1172 |
-
<a name="import-export"></a>
|
1173 |
-
<div id="import-export" class="postbox">
|
1174 |
-
<h3 class="hndle"><span><?php _e("Import / Export", 'custom-contact-forms'); ?></span></h3>
|
1175 |
-
<div class="inside">
|
1176 |
-
<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
1177 |
-
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
|
1178 |
-
<div class="export">
|
1179 |
-
<p><?php _e("Preforming a Custom Contact Forms export will create a file of the form
|
1180 |
-
ccf-export-xxxx.sql on your web server. The file created contains SQL that
|
1181 |
-
will recreate all the plugin data on any Wordpress installation. After Custom Contact Forms creates the export file, you will be prompted to download it. You can use this file as a backup in case your Wordpress database gets ruined.", 'custom-contact-forms'); ?></p>
|
1182 |
-
<input type="submit" name="ccf_export" value="<?php _e("Export All CCF Plugin Content", 'custom-contact-forms'); ?>" />
|
1183 |
-
</div>
|
1184 |
-
<div class="import">
|
1185 |
-
<p><?php _e("Browse to a CCF .sql export file to import Custom Contact Form data from another Wordpress installation to this one.", 'custom-contact-forms'); ?>
|
1186 |
-
<?php _e('There are two types of imports:', 'custom-contact-forms'); ?> <b><?php _e('Clear and Import', 'custom-contact-forms'); ?></b> <?php _e('and', 'custom-contact-forms'); ?> <b><?php _e('Merge Import.', 'custom-contact-forms'); ?></b>
|
1187 |
-
<span><?php _e('"Clear and Import" deletes all current data and imports; this is the safest way to import and will always work; clearing all CCF data before importing prevents any conflicts from occuring. "Merge Import" attemps to merge the import data with all your current CCF data; this might not work for example if you have a form with the same slug or ID as a form you are importing. Before you attempt any type of import, you should always download a backup, by clicking the "Export All" button.', 'custom-contact-forms'); ?></span> </p>
|
1188 |
-
<p class="choose_import"><?php _e("Choose What You Want to Use from the Import File:", 'custom-contact-forms'); ?></p>
|
1189 |
-
<ul>
|
1190 |
-
<li>
|
1191 |
-
<input type="checkbox" checked="checked" name="ccf_import_overwrite_settings" value="1" />
|
1192 |
-
<label for="ccf_import_overwrite_settings"><?php _e("Use General Settings", 'custom-contact-forms'); ?></label>
|
1193 |
-
</li>
|
1194 |
-
<li>
|
1195 |
-
<input type="checkbox" checked="checked" name="ccf_import_forms" value="1" />
|
1196 |
-
<label for="ccf_import_forms"><?php _e("Forms", 'custom-contact-forms'); ?></label>
|
1197 |
-
</li>
|
1198 |
-
<li>
|
1199 |
-
<input type="checkbox" checked="checked" name="ccf_import_saved_submissions" value="1" />
|
1200 |
-
<label for="ccf_import_saved_submissions"><?php _e("Form Submissions", 'custom-contact-forms'); ?></label>
|
1201 |
-
</li>
|
1202 |
-
<li>
|
1203 |
-
<input type="checkbox" checked="checked" name="ccf_import_fields" value="1" />
|
1204 |
-
<label for="ccf_import_fields"><?php _e("Fields", 'custom-contact-forms'); ?></label>
|
1205 |
-
</li>
|
1206 |
-
<li>
|
1207 |
-
<input type="checkbox" checked="checked" name="ccf_import_forms" value="1" />
|
1208 |
-
<label for="ccf_import_forms"><?php _e("Forms", 'custom-contact-forms'); ?></label>
|
1209 |
-
</li>
|
1210 |
-
<li>
|
1211 |
-
<input type="checkbox" checked="checked" name="ccf_import_field_options" value="1" />
|
1212 |
-
<label for="ccf_import_field_options"><?php _e("Field Options", 'custom-contact-forms'); ?></label>
|
1213 |
-
</li>
|
1214 |
-
<li>
|
1215 |
-
<input type="checkbox" checked="checked" name="ccf_import_styles" value="1" />
|
1216 |
-
<label for="ccf_import_styles"><?php _e("Styles", 'custom-contact-forms'); ?></label>
|
1217 |
-
</li>
|
1218 |
-
</ul>
|
1219 |
-
<p class="choose_import"><label for="import_file"><?php _e("Choose an Import File:", 'custom-contact-forms'); ?></label> <input type="file" name="import_file" /></p>
|
1220 |
-
<input name="ccf_clear_import" type="submit" value="<?php _e("Clear and Import", 'custom-contact-forms'); ?>" />
|
1221 |
-
<input name="ccf_merge_import" type="submit" value="<?php _e("Merge Import", 'custom-contact-forms'); ?>" />
|
1222 |
-
<input type="checkbox" name="ccf_import_confirm" value="1" /> <?php _e('Yes, I want to do this and have created a backup.', 'custom-contact-forms'); ?>
|
1223 |
-
</div>
|
1224 |
-
</form>
|
1225 |
-
</div>
|
1226 |
-
</div>
|
1227 |
-
<a name="plugin-news"></a>
|
1228 |
-
<div id="plugin-news" class="postbox">
|
1229 |
-
<h3 class="hndle"><span><?php _e("Custom Contact Forms Plugin News", 'custom-contact-forms'); ?></span></h3>
|
1230 |
-
<div class="inside">
|
1231 |
-
<?php $this->displayPluginNewsFeed(); ?>
|
1232 |
-
</div>
|
1233 |
-
</div>
|
1234 |
-
</div>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Custom Contact Forms Plugin
|
4 |
+
By Taylor Lovett - http://www.taylorlovett.com
|
5 |
+
Plugin URL: http://www.taylorlovett.com/wordpress-plugins
|
6 |
+
*/
|
7 |
+
if (!class_exists('CustomContactFormsAdmin')) {
|
8 |
+
class CustomContactFormsAdmin extends CustomContactForms {
|
9 |
+
|
10 |
+
function adminInit() {
|
11 |
+
$this->downloadExportFile();
|
12 |
+
$this->runImport();
|
13 |
+
}
|
14 |
+
|
15 |
+
function insertUsagePopover() {
|
16 |
+
require_once('custom-contact-forms-usage-popover.php');
|
17 |
+
}
|
18 |
+
|
19 |
+
function isPluginAdminPage() {
|
20 |
+
return ($GLOBALS['ccf_current_page'] == 'custom-contact-forms');
|
21 |
+
}
|
22 |
+
|
23 |
+
function appendToActionLinks($action_links, $plugin_file) {
|
24 |
+
static $link_added = false;
|
25 |
+
if (!$link_added && basename($plugin_file) == 'custom-contact-forms.php') {
|
26 |
+
$new_link = '<a style="font-weight:bold;" href="options-general.php?page=custom-contact-forms" title="' . __('Manage Custom Contact Forms', 'custom-contact-forms') . '">' . __('Settings', 'custom-contact-forms') . '</a>';
|
27 |
+
array_unshift($action_links, $new_link);
|
28 |
+
$link_added = true;
|
29 |
+
}
|
30 |
+
return $action_links;
|
31 |
+
}
|
32 |
+
|
33 |
+
function downloadExportFile() {
|
34 |
+
if ($_POST['ccf_export']) {
|
35 |
+
require_once('custom-contact-forms-export.php');
|
36 |
+
$transit = new CustomContactFormsExport(parent::getAdminOptionsName);
|
37 |
+
$transit->exportAll();
|
38 |
+
$file = $transit->exportToFile();
|
39 |
+
wp_redirect(WP_PLUGIN_URL . '/custom-contact-forms/download.php?location=export/' . $file);
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
function runImport() {
|
44 |
+
if ($_POST['ccf_clear_import'] || $_POST['ccf_merge_import']) {
|
45 |
+
require_once('custom-contact-forms-export.php');
|
46 |
+
$transit = new CustomContactFormsExport(parent::getAdminOptionsName);
|
47 |
+
$settings['import_general_settings'] = ($_POST['ccf_import_overwrite_settings'] == 1) ? true : false;
|
48 |
+
$settings['import_forms'] = ($_POST['ccf_import_forms'] == 1) ? true : false;
|
49 |
+
$settings['import_fields'] = ($_POST['ccf_import_fields'] == 1) ? true : false;
|
50 |
+
$settings['import_field_options'] = ($_POST['ccf_import_field_options'] == 1) ? true : false;
|
51 |
+
$settings['import_styles'] = ($_POST['ccf_import_styles'] == 1) ? true : false;
|
52 |
+
$settings['import_saved_submissions'] = ($_POST['ccf_import_saved_submissions'] == 1) ? true : false;
|
53 |
+
$settings['mode'] = ($_POST['ccf_clear_import']) ? 'clear_import' : 'merge_import';
|
54 |
+
$transit->importFromFile($_FILES['import_file'], $settings);
|
55 |
+
wp_redirect('options-general.php?page=custom-contact-forms');
|
56 |
+
}
|
57 |
+
}
|
58 |
+
|
59 |
+
function contactAuthor($name, $email, $website, $message, $type) {
|
60 |
+
if (empty($message)) return false;
|
61 |
+
require_once('custom-contact-forms-mailer.php');
|
62 |
+
$admin_options = parent::getAdminOptions();
|
63 |
+
$body = "Name: $name\n";
|
64 |
+
$body .= "Email: $email\n";
|
65 |
+
$body .= "Website: $website\n";
|
66 |
+
$body .= "Message: $message\n";
|
67 |
+
$body .= "Message Type: $type\n";
|
68 |
+
$body .= 'Sender IP: ' . $_SERVER['REMOTE_ADDR'] . "\n";
|
69 |
+
$mailer = new CustomContactFormsMailer('admin@taylorlovett.com', $email, "CCF Message: $type", stripslashes($body), $admin_options['wp_mail_function']);
|
70 |
+
$mailer->send();
|
71 |
+
return true;
|
72 |
+
}
|
73 |
+
|
74 |
+
function displayPluginNewsFeed() {
|
75 |
+
include_once(ABSPATH . WPINC . '/feed.php');
|
76 |
+
$rss = @fetch_feed('http://www.taylorlovett.com/category/custom-contact-forms/feed');
|
77 |
+
if (!is_wp_error($rss) ) {
|
78 |
+
$maxitems = $rss->get_item_quantity(5);
|
79 |
+
$rss_items = $rss->get_items(0, 1);
|
80 |
+
$rss_items2 = $rss->get_items(1, $maxitems);
|
81 |
+
}
|
82 |
+
?>
|
83 |
+
<ul>
|
84 |
+
<?php if ($maxitems == 0) echo '<li>' . __('Nothing to show.', 'custom-contact-forms') . '</li>';
|
85 |
+
else
|
86 |
+
foreach ( $rss_items as $item ) : ?>
|
87 |
+
<li class="first">
|
88 |
+
<a href='<?php echo $item->get_permalink(); ?>'
|
89 |
+
title='<?php echo __('Posted', 'custom-contact-forms'). ' '.$item->get_date('j F Y | g:i a'); ?>'>
|
90 |
+
<?php echo $item->get_title(); ?></a><br />
|
91 |
+
<?php echo $item->get_content(); ?>
|
92 |
+
</li>
|
93 |
+
<?php endforeach; ?>
|
94 |
+
<?php if ($maxitems == 0) echo '';
|
95 |
+
else
|
96 |
+
foreach ( $rss_items2 as $item ) : ?>
|
97 |
+
<li>
|
98 |
+
<a href='<?php echo $item->get_permalink(); ?>'
|
99 |
+
title='<?php echo __('Posted', 'custom-contact-forms') . ' '.$item->get_date('j F Y | g:i a'); ?>'>
|
100 |
+
<?php echo $item->get_title(); ?></a><br />
|
101 |
+
</li>
|
102 |
+
<?php endforeach; ?>
|
103 |
+
</ul>
|
104 |
+
<?php
|
105 |
+
}
|
106 |
+
|
107 |
+
function getFieldsForm() {
|
108 |
+
$fields = parent::selectAllFields();
|
109 |
+
$out = '';
|
110 |
+
foreach ($fields as $field) {
|
111 |
+
$out .= '<option value="'.$field->id.'">'.$field->field_slug.'</option>' . "\n";
|
112 |
+
}
|
113 |
+
return $out;
|
114 |
+
}
|
115 |
+
|
116 |
+
function getFieldOptionsForm() {
|
117 |
+
$options = parent::selectAllFieldOptions();
|
118 |
+
$out = '';
|
119 |
+
foreach ($options as $option) {
|
120 |
+
$out .= '<option value="'.$option->id.'">'.$option->option_slug.'</option>' . "\n";
|
121 |
+
}
|
122 |
+
return $out;
|
123 |
+
}
|
124 |
+
|
125 |
+
function insertBackEndStyles() {
|
126 |
+
wp_register_style('CCFStandardsCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/custom-contact-forms-standards.css');
|
127 |
+
wp_register_style('CCFAdminCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/custom-contact-forms-admin.css');
|
128 |
+
wp_register_style('CCFColorPickerCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/colorpicker.css');
|
129 |
+
wp_enqueue_style('CCFStandardsCSS');
|
130 |
+
wp_enqueue_style('CCFAdminCSS');
|
131 |
+
wp_enqueue_style('CCFColorPickerCSS');
|
132 |
+
}
|
133 |
+
|
134 |
+
function insertAdminScripts() {
|
135 |
+
$admin_options = parent::getAdminOptions();
|
136 |
+
?>
|
137 |
+
<script type="text/javascript" language="javascript">
|
138 |
+
var attaching = "<?php _e('Attaching', 'custom-contact-forms'); ?>";
|
139 |
+
var dettaching = "<?php _e('Dettaching', 'custom-contact-forms'); ?>";
|
140 |
+
var saving = "<?php _e('Saving', 'custom-contact-forms'); ?>";
|
141 |
+
var more_options = "<?php _e('More Options', 'custom-contact-forms'); ?>";
|
142 |
+
var expand = "<?php _e('Expand', 'custom-contact-forms'); ?>";
|
143 |
+
var click_to_confirm = "<?php _e('Click to Confirm', 'custom-contact-forms'); ?>";
|
144 |
+
var delete_confirm = "<?php _e('Are you sure you want to delete this', 'custom-contact-forms'); ?>";
|
145 |
+
var error = "<?php _e('An error has occured. Please try again later.', 'custom-contact-forms'); ?>";
|
146 |
+
var ccf_plugin_dir = "<?php echo WP_PLUGIN_URL . '/custom-contact-forms'; ?>";
|
147 |
+
var ccf_file = "<?php echo get_option('siteurl') . '/wp-admin/options-general.php?page=custom-contact-forms'; ?>";
|
148 |
+
</script>
|
149 |
+
<?php
|
150 |
+
wp_enqueue_script('jquery');
|
151 |
+
wp_enqueue_script('jquery-ui-core');
|
152 |
+
wp_enqueue_script('jquery-ui-tabs');
|
153 |
+
wp_enqueue_script('jquery-tools', WP_PLUGIN_URL . '/custom-contact-forms/js/jquery.tools.min.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), '1.0');
|
154 |
+
wp_enqueue_script('ccf-admin-inc', WP_PLUGIN_URL . '/custom-contact-forms/js/custom-contact-forms-admin-inc.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), '1.0');
|
155 |
+
wp_enqueue_script('ccf-admin', WP_PLUGIN_URL . '/custom-contact-forms/js/custom-contact-forms-admin.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), '1.0');
|
156 |
+
if ($admin_options['admin_ajax'] == 1)
|
157 |
+
wp_enqueue_script('ccf-admin-ajax', WP_PLUGIN_URL . '/custom-contact-forms/js/custom-contact-forms-admin-ajax.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), '1.0');
|
158 |
+
wp_enqueue_script('ccf-colorpicker', WP_PLUGIN_URL . '/custom-contact-forms/js/colorpicker.js');
|
159 |
+
wp_enqueue_script('ccf-eye', WP_PLUGIN_URL . '/custom-contact-forms/js/eye.js');
|
160 |
+
wp_enqueue_script('ccf-utils', WP_PLUGIN_URL . '/custom-contact-forms/js/utils.js');
|
161 |
+
wp_enqueue_script('ccf-layout', WP_PLUGIN_URL . '/custom-contact-forms/js/layout.js?ver=1.0.2');
|
162 |
+
wp_enqueue_script('ccf-pagination', WP_PLUGIN_URL . '/custom-contact-forms/js/jquery.pagination.js');
|
163 |
+
}
|
164 |
+
|
165 |
+
function printAdminPage() {
|
166 |
+
$admin_options = parent::getAdminOptions();
|
167 |
+
if ($admin_options['show_install_popover'] == 1) {
|
168 |
+
$admin_options['show_install_popover'] = 0;
|
169 |
+
?>
|
170 |
+
<script type="text/javascript" language="javascript">
|
171 |
+
$j(document).ready(function() {
|
172 |
+
showCCFUsagePopover();
|
173 |
+
});
|
174 |
+
</script>
|
175 |
+
<?php
|
176 |
+
update_option(parent::getAdminOptionsName, $admin_options);
|
177 |
+
} if ($_POST['form_create']) {
|
178 |
+
parent::insertForm($_POST['form']);
|
179 |
+
} elseif ($_POST['field_create']) {
|
180 |
+
parent::insertField($_POST['field']);
|
181 |
+
} elseif ($_POST['general_settings']) {
|
182 |
+
$admin_options['default_to_email'] = $_POST['default_to_email'];
|
183 |
+
$admin_options['default_from_email'] = $_POST['default_from_email'];
|
184 |
+
$admin_options['default_form_subject'] = $_POST['default_form_subject'];
|
185 |
+
$admin_options['show_widget_categories'] = $_POST['show_widget_categories'];
|
186 |
+
$admin_options['show_widget_singles'] = $_POST['show_widget_singles'];
|
187 |
+
$admin_options['show_widget_pages'] = $_POST['show_widget_pages'];
|
188 |
+
$admin_options['show_widget_archives'] = $_POST['show_widget_archives'];
|
189 |
+
$admin_options['show_widget_home'] = $_POST['show_widget_home'];
|
190 |
+
$admin_options['custom_thank_you'] = $_POST['custom_thank_you'];
|
191 |
+
$admin_options['email_form_submissions'] = $_POST['email_form_submissions'];
|
192 |
+
$admin_options['author_link'] = $_POST['author_link'];
|
193 |
+
$admin_options['admin_ajax'] = $_POST['admin_ajax'];
|
194 |
+
$admin_options['enable_jquery'] = $_POST['enable_jquery'];
|
195 |
+
$admin_options['code_type'] = $_POST['code_type'];
|
196 |
+
$admin_options['form_success_message'] = $_POST['form_success_message'];
|
197 |
+
$admin_options['form_success_message_title'] = $_POST['form_success_message_title'];
|
198 |
+
$admin_options['wp_mail_function'] = $_POST['wp_mail_function'];
|
199 |
+
$admin_options['enable_widget_tooltips'] = $_POST['enable_widget_tooltips'];
|
200 |
+
$admin_options['remember_field_values'] = $_POST['remember_field_values'];
|
201 |
+
update_option(parent::getAdminOptionsName, $admin_options);
|
202 |
+
} elseif ($_POST['field_edit']) {
|
203 |
+
parent::updateField($_POST['field'], $_POST['fid']);
|
204 |
+
} elseif ($_POST['field_delete']) {
|
205 |
+
parent::deleteField($_POST['fid']);
|
206 |
+
} elseif ($_POST['insert_default_content']) {
|
207 |
+
parent::insertDefaultContent();
|
208 |
+
} elseif ($_POST['form_delete']) {
|
209 |
+
parent::deleteForm($_POST['fid']);
|
210 |
+
} elseif ($_POST['form_edit']) {
|
211 |
+
parent::updateForm($_POST['form'], $_POST['fid']);
|
212 |
+
} elseif ($_POST['form_add_field']) {
|
213 |
+
parent::addFieldToForm($_POST['attach_object_id'], $_POST['fid']);
|
214 |
+
} elseif ($_POST['attach_field_option']) {
|
215 |
+
parent::addFieldOptionToField($_POST['attach_object_id'], $_POST['fid']);
|
216 |
+
} elseif ($_POST['dettach_field']) {
|
217 |
+
parent::dettachField($_POST['dettach_object_id'], $_POST['fid']);
|
218 |
+
} elseif ($_POST['dettach_field_option']) {
|
219 |
+
parent::dettachFieldOption($_POST['dettach_object_id'], $_POST['fid']);
|
220 |
+
} elseif ($_POST['style_create']) {
|
221 |
+
parent::insertStyle($_POST['style']);
|
222 |
+
} elseif ($_POST['style_edit']) {
|
223 |
+
parent::updateStyle($_POST['style'], $_POST['sid']);
|
224 |
+
} elseif ($_POST['style_delete']) {
|
225 |
+
parent::deleteStyle($_POST['sid']);
|
226 |
+
} elseif ($_POST['contact_author']) {
|
227 |
+
$this_url = (!empty($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : $_SERVER['SERVER_NAME'];
|
228 |
+
$this->contactAuthor($_POST['name'], $_POST['email'], $this_url, $_POST['message'], $_POST['type']);
|
229 |
+
} elseif ($_POST['delete_field_option']) {
|
230 |
+
parent::deleteFieldOption($_POST['oid']);
|
231 |
+
} elseif ($_POST['edit_field_option']) {
|
232 |
+
parent::updateFieldOption($_POST['option'], $_POST['oid']);
|
233 |
+
} elseif ($_POST['create_field_option']) {
|
234 |
+
parent::insertFieldOption($_POST['option']);
|
235 |
+
} elseif ($_POST['form_submission_delete']) {
|
236 |
+
parent::deleteUserData($_POST['uid']);
|
237 |
+
} elseif ($_POST['ajax_action']) {
|
238 |
+
switch ($_POST['ajax_action']) {
|
239 |
+
case 'delete':
|
240 |
+
if (empty($_POST['object_id'])) exit;
|
241 |
+
switch($_POST['object_type']) {
|
242 |
+
case 'form':
|
243 |
+
parent::deleteForm($_POST['object_id']);
|
244 |
+
break;
|
245 |
+
case 'field':
|
246 |
+
parent::deleteField($_POST['object_id']);
|
247 |
+
break;
|
248 |
+
case 'field_option':
|
249 |
+
parent::deleteFieldOption($_POST['object_id']);
|
250 |
+
break;
|
251 |
+
case 'form_submission':
|
252 |
+
parent::deleteUserData($_POST['object_id']);
|
253 |
+
break;
|
254 |
+
case 'style':
|
255 |
+
parent::deleteStyle($_POST['object_id']);
|
256 |
+
break;
|
257 |
+
}
|
258 |
+
break;
|
259 |
+
case 'create_field_option':
|
260 |
+
parent::insertFieldOption($_POST['option']);
|
261 |
+
break;
|
262 |
+
case 'attach':
|
263 |
+
switch ($_POST['object_type']) {
|
264 |
+
case 'form':
|
265 |
+
parent::addFieldToForm($_POST['attach_object_id'], $_POST['attach_to']);
|
266 |
+
break;
|
267 |
+
case 'field':
|
268 |
+
parent::addFieldOptionToField($_POST['attach_object_id'], $_POST['attach_to']);
|
269 |
+
break;
|
270 |
+
}
|
271 |
+
break;
|
272 |
+
case 'dettach':
|
273 |
+
//echo '<div style="margin-left:20px;">';
|
274 |
+
//print_r($_POST);
|
275 |
+
//echo '</div>';
|
276 |
+
switch ($_POST['object_type']) {
|
277 |
+
case 'form':
|
278 |
+
parent::dettachField($_POST['dettach_object_id'], $_POST['dettach_from']);
|
279 |
+
break;
|
280 |
+
case 'field':
|
281 |
+
parent::dettachFieldOption($_POST['dettach_object_id'], $_POST['dettach_from']);
|
282 |
+
break;
|
283 |
+
}
|
284 |
+
break;
|
285 |
+
case 'edit':
|
286 |
+
if (empty($_POST['object_id'])) exit;
|
287 |
+
switch($_POST['object_type']) {
|
288 |
+
case 'form':
|
289 |
+
if (!empty($_POST['form'])) parent::updateForm($_POST['form'], $_POST['object_id']);
|
290 |
+
break;
|
291 |
+
case 'field':
|
292 |
+
if (!empty($_POST['field'])) parent::updateField($_POST['field'], $_POST['object_id']);
|
293 |
+
break;
|
294 |
+
case 'field_option':
|
295 |
+
if (!empty($_POST['option'])) parent::updateFieldOption($_POST['option'], $_POST['object_id']);
|
296 |
+
break;
|
297 |
+
case 'style':
|
298 |
+
if (!empty($_POST['style'])) parent::updateStyle($_POST['style'], $_POST['object_id']);
|
299 |
+
break;
|
300 |
+
}
|
301 |
+
break;
|
302 |
+
}
|
303 |
+
exit;
|
304 |
+
} elseif ($_GET['clear_tables'] == 1) {
|
305 |
+
parent::emptyAllTables();
|
306 |
+
}
|
307 |
+
|
308 |
+
$styles = parent::selectAllStyles();
|
309 |
+
$style_options = '<option value="0">Default</option>';
|
310 |
+
foreach ($styles as $style)
|
311 |
+
$style_options .= '<option value="'.$style->id.'">'.$style->style_slug.'</option>';
|
312 |
+
// Insert plugin admin page XHTML
|
313 |
+
require_once('custom-contact-forms-export.php');
|
314 |
+
?>
|
315 |
+
<div id="customcontactforms-admin">
|
316 |
+
<div id="icon-themes" class="icon32"></div>
|
317 |
+
<h2>
|
318 |
+
<?php _e("Custom Contact Forms", 'custom-contact-forms'); ?>
|
319 |
+
</h2>
|
320 |
+
<ul id="plugin-nav">
|
321 |
+
<li><a href="#instructions">
|
322 |
+
<?php _e("Plugin Instructions", 'custom-contact-forms'); ?>
|
323 |
+
</a></li>
|
324 |
+
<li><a href="#general-settings">
|
325 |
+
<?php _e("General Settings", 'custom-contact-forms'); ?>
|
326 |
+
</a></li>
|
327 |
+
<li><a href="#create-fields">
|
328 |
+
<?php _e("Create Fields", 'custom-contact-forms'); ?>
|
329 |
+
</a></li>
|
330 |
+
<li><a href="#create-forms">
|
331 |
+
<?php _e("Create Forms", 'custom-contact-forms'); ?>
|
332 |
+
</a></li>
|
333 |
+
<li><a href="#manage-fields">
|
334 |
+
<?php _e("Manage Fields", 'custom-contact-forms'); ?>
|
335 |
+
</a></li>
|
336 |
+
<li><a href="#manage-fixed-fields">
|
337 |
+
<?php _e("Manage Fixed Fields", 'custom-contact-forms'); ?>
|
338 |
+
</a></li>
|
339 |
+
<li><a href="#manage-forms">
|
340 |
+
<?php _e("Manage Forms", 'custom-contact-forms'); ?>
|
341 |
+
</a></li>
|
342 |
+
<li><a href="#form-submissions">
|
343 |
+
<?php _e("Saved Form Submissions (New!)", 'custom-contact-forms'); ?>
|
344 |
+
</a></li>
|
345 |
+
<li><a href="#create-styles">
|
346 |
+
<?php _e("Create Styles", 'custom-contact-forms'); ?>
|
347 |
+
</a></li>
|
348 |
+
<li><a href="#manage-styles">
|
349 |
+
<?php _e("Manage Styles", 'custom-contact-forms'); ?>
|
350 |
+
</a></li>
|
351 |
+
<li><a href="#manage-field-options">
|
352 |
+
<?php _e("Manage Field Options", 'custom-contact-forms'); ?>
|
353 |
+
</a></li>
|
354 |
+
<li><a href="#contact-author">
|
355 |
+
<?php _e("Suggest a Feature", 'custom-contact-forms'); ?>
|
356 |
+
</a></li>
|
357 |
+
<li><a href="#contact-author">
|
358 |
+
<?php _e("Bug Report", 'custom-contact-forms'); ?>
|
359 |
+
</a></li>
|
360 |
+
<li><a href="#custom-html">
|
361 |
+
<?php _e("Custom HTML Forms", 'custom-contact-forms'); ?>
|
362 |
+
</a></li>
|
363 |
+
<li><a href="#import-export">
|
364 |
+
<?php _e("Import / Export (New!)", 'custom-contact-forms'); ?>
|
365 |
+
</a></li>
|
366 |
+
<li class="last"><a href="#plugin-news">
|
367 |
+
<?php _e("Plugin News", 'custom-contact-forms'); ?>
|
368 |
+
</a></li>
|
369 |
+
</ul>
|
370 |
+
<a class="rate-me" href="http://wordpress.org/extend/plugins/custom-contact-forms" title="<?php _e("Rate This Plugin", 'custom-contact-forms'); ?>">
|
371 |
+
<?php _e("We need your help to continue development! Please <span>rate this plugin</span> to show your support.", 'custom-contact-forms'); ?>
|
372 |
+
</a> <a name="create-fields"></a>
|
373 |
+
<div id="create-fields" class="postbox">
|
374 |
+
<h3 class="hndle"><span>
|
375 |
+
<?php _e("Create A Form Field", 'custom-contact-forms'); ?>
|
376 |
+
</span></h3>
|
377 |
+
<div class="inside">
|
378 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
379 |
+
<ul>
|
380 |
+
<li>
|
381 |
+
<label for="field_slug">*
|
382 |
+
<?php _e("Slug (Name):", 'custom-contact-forms'); ?>
|
383 |
+
</label>
|
384 |
+
<input name="field[field_slug]" type="text" maxlength="40" />
|
385 |
+
<br />
|
386 |
+
<?php _e("(A slug is simply a way to identify your field. It can only contain underscores, letters, and numbers and must be unique.)", 'custom-contact-forms'); ?>
|
387 |
+
</li>
|
388 |
+
<li>
|
389 |
+
<label for="field_label">
|
390 |
+
<?php _e("Field Label:", 'custom-contact-forms'); ?>
|
391 |
+
</label>
|
392 |
+
<input name="field[field_label]" type="text" maxlength="100" />
|
393 |
+
<br />
|
394 |
+
<?php _e("(The field label is displayed next to the field and is visible to the user.)", 'custom-contact-forms'); ?>
|
395 |
+
</li>
|
396 |
+
<li>
|
397 |
+
<label for="field_type">*
|
398 |
+
<?php _e("Field Type:", 'custom-contact-forms'); ?>
|
399 |
+
</label>
|
400 |
+
<select name="field[field_type]">
|
401 |
+
<option>Text</option>
|
402 |
+
<option>Textarea</option>
|
403 |
+
<option>Hidden</option>
|
404 |
+
<option>Checkbox</option>
|
405 |
+
<option>Radio</option>
|
406 |
+
<option>Dropdown</option>
|
407 |
+
</select>
|
408 |
+
</li>
|
409 |
+
<li>
|
410 |
+
<label for="field_value">
|
411 |
+
<?php _e("Initial Value:", 'custom-contact-forms'); ?>
|
412 |
+
</label>
|
413 |
+
<input name="field[field_value]" type="text" maxlength="50" />
|
414 |
+
<br />
|
415 |
+
(
|
416 |
+
<?php _e("This is the initial value of the field. If you set the type as checkbox, it is recommend you set this to what the checkbox is implying. For example if I were creating the checkbox
|
417 |
+
'Are you human?', I would set the initial value to 'Yes'.", 'custom-contact-forms'); ?>
|
418 |
+
<?php _e("If you set the field type as 'Dropdown' or 'Radio', you should enter the slug of the", 'custom-contact-forms'); ?>
|
419 |
+
<a href="#manage-field-options" title="<?php _e("Create a Field Option", 'custom-contact-forms'); ?>">
|
420 |
+
<?php _e("field option", 'custom-contact-forms'); ?>
|
421 |
+
</a>
|
422 |
+
<?php _e("you would like initially selected.", 'custom-contact-forms'); ?>
|
423 |
+
) </li>
|
424 |
+
<li>
|
425 |
+
<label for="field_maxlength">
|
426 |
+
<?php _e("Max Length:", 'custom-contact-forms'); ?>
|
427 |
+
</label>
|
428 |
+
<input class="width50" size="10" name="field[field_maxlength]" type="text" maxlength="4" />
|
429 |
+
<br />
|
430 |
+
<?php _e("(0 for no limit; only applies to Text fields)", 'custom-contact-forms'); ?>
|
431 |
+
</li>
|
432 |
+
<li>
|
433 |
+
<label for="field_required">*
|
434 |
+
<?php _e("Required Field:", 'custom-contact-forms'); ?>
|
435 |
+
</label>
|
436 |
+
<select name="field[field_required]">
|
437 |
+
<option value="0">
|
438 |
+
<?php _e("No", 'custom-contact-forms'); ?>
|
439 |
+
</option>
|
440 |
+
<option value="1">
|
441 |
+
<?php _e("Yes", 'custom-contact-forms'); ?>
|
442 |
+
</option>
|
443 |
+
</select>
|
444 |
+
<br />
|
445 |
+
<?php _e("(If a field is required and a user leaves it blank, the plugin will display an error message explainging the problem.)", 'custom-contact-forms'); ?>
|
446 |
+
</li>
|
447 |
+
<li>
|
448 |
+
<label for="field_value">
|
449 |
+
<?php _e("Field Instructions:", 'custom-contact-forms'); ?>
|
450 |
+
</label>
|
451 |
+
<input name="field[field_instructions]" type="text" />
|
452 |
+
<br />
|
453 |
+
<?php _e("(If this is filled out, a tooltip popover displaying this text will show when the field is selected.)", 'custom-contact-forms'); ?>
|
454 |
+
</li>
|
455 |
+
<li>
|
456 |
+
<input type="hidden" name="field[user_field]" value="1" />
|
457 |
+
<input type="submit" value="<?php _e("Create Field", 'custom-contact-forms'); ?>" name="field_create" />
|
458 |
+
</li>
|
459 |
+
</ul>
|
460 |
+
</form>
|
461 |
+
</div>
|
462 |
+
</div>
|
463 |
+
<a name="create-forms"></a>
|
464 |
+
<div id="create-forms" class="postbox">
|
465 |
+
<h3 class="hndle"><span>
|
466 |
+
<?php _e("Create A Form", 'custom-contact-forms'); ?>
|
467 |
+
</span></h3>
|
468 |
+
<div class="inside">
|
469 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
470 |
+
<ul>
|
471 |
+
<li>
|
472 |
+
<label for="form[form_slug]">*
|
473 |
+
<?php _e("Form Slug:", 'custom-contact-forms'); ?>
|
474 |
+
</label>
|
475 |
+
<input type="text" maxlength="100" name="form[form_slug]" />
|
476 |
+
<br />
|
477 |
+
<?php _e("(Must be unique and contain only underscores and alphanumeric characters.)", 'custom-contact-forms'); ?>
|
478 |
+
</li>
|
479 |
+
<li>
|
480 |
+
<label for="form[form_title]">
|
481 |
+
<?php _e("Form Title:", 'custom-contact-forms'); ?>
|
482 |
+
</label>
|
483 |
+
<input type="text" maxlength="200" name="form[form_title]" />
|
484 |
+
<?php _e("(The form header text)", 'custom-contact-forms'); ?>
|
485 |
+
</li>
|
486 |
+
<li>
|
487 |
+
<label for="form[form_method]">*
|
488 |
+
<?php _e("Form Method:", 'custom-contact-forms'); ?>
|
489 |
+
</label>
|
490 |
+
<select name="form[form_method]">
|
491 |
+
<option>Post</option>
|
492 |
+
<option>Get</option>
|
493 |
+
</select>
|
494 |
+
<?php _e("(If unsure, leave as is.)", 'custom-contact-forms'); ?>
|
495 |
+
</li>
|
496 |
+
<li>
|
497 |
+
<label for="form[form_action]">
|
498 |
+
<?php _e("Form Action:", 'custom-contact-forms'); ?>
|
499 |
+
</label>
|
500 |
+
<input type="text" name="form[form_action]" value="" />
|
501 |
+
<br />
|
502 |
+
<?php _e("(If unsure, leave blank. Enter a URL here, if and only if you want to process your forms somewhere else, for example with a service like Aweber or InfusionSoft.)", 'custom-contact-forms'); ?>
|
503 |
+
</li>
|
504 |
+
<li>
|
505 |
+
<label for="form[form_action]">
|
506 |
+
<?php _e("Form Style:", 'custom-contact-forms'); ?>
|
507 |
+
</label>
|
508 |
+
<select name="form[form_style]" class="form_style_input">
|
509 |
+
<?php echo $style_options; ?>
|
510 |
+
</select>
|
511 |
+
(<a href="#create-styles">
|
512 |
+
<?php _e("Click to create a style", 'custom-contact-forms'); ?>
|
513 |
+
</a>)</li>
|
514 |
+
<li>
|
515 |
+
<label for="form[submit_button_text]">
|
516 |
+
<?php _e("Submit Button Text:", 'custom-contact-forms'); ?>
|
517 |
+
</label>
|
518 |
+
<input type="text" maxlength="200" name="form[submit_button_text]" />
|
519 |
+
</li>
|
520 |
+
<li>
|
521 |
+
<label for="form[custom_code]">
|
522 |
+
<?php _e("Custom Code:", 'custom-contact-forms'); ?>
|
523 |
+
</label>
|
524 |
+
<input type="text" name="form[custom_code]" />
|
525 |
+
<br />
|
526 |
+
<?php _e("(If unsure, leave blank. This field allows you to insert custom HTML directly after the starting form tag.)", 'custom-contact-forms'); ?>
|
527 |
+
</li>
|
528 |
+
<li>
|
529 |
+
<label for="form[form_email]">
|
530 |
+
<?php _e("Form Destination Email:", 'custom-contact-forms'); ?>
|
531 |
+
</label>
|
532 |
+
<input type="text" name="form[form_email]" />
|
533 |
+
<br />
|
534 |
+
<?php _e("(Will receive all submissions from this form; if left blank it will use the default specified in general settings.)", 'custom-contact-forms'); ?>
|
535 |
+
</li>
|
536 |
+
<li>
|
537 |
+
<label for="form[form_success_message]">
|
538 |
+
<?php _e("Form Success Message:", 'custom-contact-forms'); ?>
|
539 |
+
</label>
|
540 |
+
<input type="text" name="form[form_success_message]" />
|
541 |
+
<br />
|
542 |
+
<?php _e("(Will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.)", 'custom-contact-forms'); ?>
|
543 |
+
</li>
|
544 |
+
<li>
|
545 |
+
<label for="form[form_success_title]">
|
546 |
+
<?php _e("Form Success Message Title:", 'custom-contact-forms'); ?>
|
547 |
+
</label>
|
548 |
+
<input type="text" name="form[form_success_title]" />
|
549 |
+
<br />
|
550 |
+
<?php _e("(Will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.)", 'custom-contact-forms'); ?>
|
551 |
+
</li>
|
552 |
+
<li>
|
553 |
+
<label for="form[form_thank_you_page]">
|
554 |
+
<?php _e("Custom Success URL:", 'custom-contact-forms'); ?>
|
555 |
+
</label>
|
556 |
+
<input type="text" name="form[form_thank_you_page]" />
|
557 |
+
<br />
|
558 |
+
<?php _e("(If this is filled out, users will be sent to this page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success.)", 'custom-contact-forms'); ?>
|
559 |
+
</li>
|
560 |
+
<li>
|
561 |
+
<input type="submit" value="<?php _e("Create Form", 'custom-contact-forms'); ?>" name="form_create" />
|
562 |
+
</li>
|
563 |
+
</ul>
|
564 |
+
</form>
|
565 |
+
</div>
|
566 |
+
</div>
|
567 |
+
<a name="manage-fields"></a>
|
568 |
+
<h3 class="manage-h3">
|
569 |
+
<?php _e("Manage User Fields", 'custom-contact-forms'); ?>
|
570 |
+
</h3>
|
571 |
+
<table class="widefat post" id="manage-fields" cellspacing="0">
|
572 |
+
<thead>
|
573 |
+
<tr>
|
574 |
+
<th scope="col" class="manage-column field-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
575 |
+
<th scope="col" class="manage-column field-label"><?php _e("Label", 'custom-contact-forms'); ?></th>
|
576 |
+
<th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
|
577 |
+
<th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
|
578 |
+
<th scope="col" class="manage-column field-required"><?php _e("Required", 'custom-contact-forms'); ?></th>
|
579 |
+
<th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
|
580 |
+
<th scope="col" class="manage-column field-action"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
581 |
+
</tr>
|
582 |
+
</thead>
|
583 |
+
<tbody>
|
584 |
+
<?php
|
585 |
+
$fields = parent::selectAllFields();
|
586 |
+
for ($i = 0, $z = 0; $i < count($fields); $i++, $z++) {
|
587 |
+
if ($fields[$i]->user_field == 0) { $z--; continue; }
|
588 |
+
$attached_options = parent::getAttachedFieldOptionsArray($fields[$i]->id);
|
589 |
+
$field_types = '<option>Text</option><option>Textarea</option><option>Hidden</option><option>Checkbox</option><option>Radio</option><option>Dropdown</option>';
|
590 |
+
$field_types = str_replace('<option>'.$fields[$i]->field_type.'</option>', '<option selected="selected">'.$fields[$i]->field_type.'</option>', $field_types);
|
591 |
+
|
592 |
+
?>
|
593 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
594 |
+
<tr<?php if ($z % 2 == 1) echo ' class="evenrow"'; ?>>
|
595 |
+
<td><input type="text" name="field[field_slug]" class="width100" maxlength="50" value="<?php echo $fields[$i]->field_slug; ?>" /></td>
|
596 |
+
<td><input type="text" name="field[field_label]" maxlength="100" value="<?php echo $fields[$i]->field_label; ?>" /></td>
|
597 |
+
<td><select name="field[field_type]">
|
598 |
+
<?php echo $field_types; ?>
|
599 |
+
</select></td>
|
600 |
+
<td><input type="text" name="field[field_value]" maxlength="50" class="width75" value="<?php echo $fields[$i]->field_value; ?>" /></td>
|
601 |
+
<td><select name="field[field_required]">
|
602 |
+
<option value="1">
|
603 |
+
<?php _e("Yes", 'custom-contact-forms'); ?>
|
604 |
+
</option>
|
605 |
+
<option value="0" <?php if ($fields[$i]->field_required != 1) echo 'selected="selected"'; ?>>
|
606 |
+
<?php _e("No", 'custom-contact-forms'); ?>
|
607 |
+
</option>
|
608 |
+
</select></td>
|
609 |
+
<td><?php if ($fields[$i]->field_type == 'Dropdown' || $fields[$i]->field_type == 'Radio') { ?>
|
610 |
+
<b>-</b>
|
611 |
+
<?php } else { ?>
|
612 |
+
<input type="text" class="width50" name="field[field_maxlength]" value="<?php echo $fields[$i]->field_maxlength; ?>" />
|
613 |
+
<?php } ?>
|
614 |
+
</td>
|
615 |
+
<td><input type="hidden" class="object-type" name="object_type" value="field" />
|
616 |
+
<input type="hidden" class="object-id" name="fid" value="<?php echo $fields[$i]->id; ?>" />
|
617 |
+
<span class="fields-options-expand"></span>
|
618 |
+
<input type="submit" class="edit-button" name="field_edit" value="<?php _e("Save", 'custom-contact-forms'); ?>" />
|
619 |
+
<input type="submit" name="field_delete" class="delete-button" value="<?php _e("Delete", 'custom-contact-forms'); ?>" /></td>
|
620 |
+
</tr>
|
621 |
+
<?php $show_field_options = ($fields[$i]->field_type == 'Radio' || $fields[$i]->field_type == 'Dropdown') ? true : false; ?>
|
622 |
+
<tr<?php if ($z % 2 == 1) echo ' class="evenrow"'; ?>>
|
623 |
+
<td class="fields-extra-options" colspan="7"><div class="field-instructions">
|
624 |
+
<label for="field_instructions">
|
625 |
+
<?php _e("Field Instructions:", 'custom-contact-forms'); ?>
|
626 |
+
</label>
|
627 |
+
<input type="text" class="width150" name="field[field_instructions]" value="<?php echo $fields[$i]->field_instructions; ?>" />
|
628 |
+
<?php if ($show_field_options) echo '<br />'; ?>
|
629 |
+
<label for="field_class">
|
630 |
+
<?php _e("Field Class:", 'custom-contact-forms'); ?>
|
631 |
+
</label>
|
632 |
+
<input type="text" class="width100" name="field[field_class]" value="<?php echo $fields[$i]->field_class; ?>" />
|
633 |
+
<a href="javascript:void(0)" class="toollink" title="<?php _e('If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a "Form Style" other than the default, styles inherited from the "Field Class" might be overwritten.', 'custom-contact-forms'); ?>">(?)</a> </div>
|
634 |
+
<?php
|
635 |
+
if ($show_field_options) { ?>
|
636 |
+
<div class="dettach-field-options">
|
637 |
+
<?php if (empty($attached_options)) { ?>
|
638 |
+
<select name="dettach_object_id">
|
639 |
+
<option value="-1">Nothing Attached!</option>
|
640 |
+
</select>
|
641 |
+
<?php } else { ?>
|
642 |
+
<select name="dettach_object_id" class="onObject<?php echo $fields[$i]->id ?> objectTypeField">
|
643 |
+
<?php
|
644 |
+
foreach ($attached_options as $option_id) {
|
645 |
+
$option = parent::selectFieldOption($option_id);
|
646 |
+
?>
|
647 |
+
<option value="<?php echo $option_id; ?>"><?php echo $option->option_slug; ?></option>
|
648 |
+
<?php
|
649 |
+
}
|
650 |
+
?>
|
651 |
+
</select>
|
652 |
+
<?php } ?>
|
653 |
+
<input type="submit" class="dettach-button" name="dettach_field_option" value="<?php _e("Dettach Field Option", 'custom-contact-forms'); ?>" />
|
654 |
+
<br />
|
655 |
+
<span class="red bold">*</span>
|
656 |
+
<?php _e("Dettach field options you", 'custom-contact-forms'); ?>
|
657 |
+
<a href="#create-field-options">
|
658 |
+
<?php _e("create", 'custom-contact-forms'); ?>
|
659 |
+
</a>. </div>
|
660 |
+
<?php $all_options = $this->getFieldOptionsForm(); ?>
|
661 |
+
<div class="attach-field-options">
|
662 |
+
<?php if (empty($all_options)) { ?>
|
663 |
+
<b>No Field Options to Attach</b>
|
664 |
+
<?php } else { ?>
|
665 |
+
<select name="attach_object_id" class="onObject<?php echo $fields[$i]->id ?> objectTypeField">
|
666 |
+
<?php echo $all_options; ?>
|
667 |
+
</select>
|
668 |
+
<input type="submit" class="attach-button" name="attach_field_option" value="<?php _e("Attach Field Option", 'custom-contact-forms'); ?>" />
|
669 |
+
<?php } ?>
|
670 |
+
<br />
|
671 |
+
<span class="red bold">*</span>
|
672 |
+
<?php _e("Attach field options in the order you want them to display.", 'custom-contact-forms'); ?>
|
673 |
+
</div>
|
674 |
+
<?php } ?>
|
675 |
+
</td>
|
676 |
+
</tr>
|
677 |
+
</form>
|
678 |
+
<?php
|
679 |
+
}
|
680 |
+
?>
|
681 |
+
</tbody>
|
682 |
+
|
683 |
+
<tfoot>
|
684 |
+
<tr>
|
685 |
+
<th scope="col" class="manage-column field-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
686 |
+
<th scope="col" class="manage-column field-label"><?php _e("Label", 'custom-contact-forms'); ?></th>
|
687 |
+
<th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
|
688 |
+
<th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
|
689 |
+
<th scope="col" class="manage-column field-required"><?php _e("Required", 'custom-contact-forms'); ?></th>
|
690 |
+
<th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
|
691 |
+
<th scope="col" class="manage-column field-action"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
692 |
+
</tr>
|
693 |
+
</tfoot>
|
694 |
+
</table>
|
695 |
+
<a name="manage-fixed-fields"></a>
|
696 |
+
<h3 class="manage-h3">
|
697 |
+
<?php _e("Manage Fixed Fields", 'custom-contact-forms'); ?>
|
698 |
+
</h3>
|
699 |
+
<table class="widefat post" id="manage-fixed-fields" cellspacing="0">
|
700 |
+
<thead>
|
701 |
+
<tr>
|
702 |
+
<th scope="col" class="manage-column field-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
703 |
+
<th scope="col" class="manage-column field-label"><?php _e("Label", 'custom-contact-forms'); ?></th>
|
704 |
+
<th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
|
705 |
+
<th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
|
706 |
+
<th scope="col" class="manage-column field-value"><?php _e("Required", 'custom-contact-forms'); ?></th>
|
707 |
+
<th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
|
708 |
+
<th scope="col" class="manage-column field-action"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
709 |
+
</tr>
|
710 |
+
</thead>
|
711 |
+
<tbody>
|
712 |
+
<?php
|
713 |
+
$fields = parent::selectAllFields();
|
714 |
+
for ($i = 0, $z = 0; $i < count($fields); $i++, $z++) {
|
715 |
+
if ($fields[$i]->user_field == 1) { $z--; continue;}
|
716 |
+
$field_types = '<option>Text</option><option>Textarea</option><option>Hidden</option><option>Checkbox</option>';
|
717 |
+
$field_types = str_replace('<option>'.$fields[$i]->field_type.'</option>', '<option selected="selected">'.$fields[$i]->field_type.'</option>', $field_types);
|
718 |
+
|
719 |
+
?>
|
720 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
721 |
+
<tr <?php if ($z % 2 == 0) echo ' class="evenrow"'; ?>>
|
722 |
+
<td><?php echo $fields[$i]->field_slug; ?></td>
|
723 |
+
<td><?php if ($fields[$i]->field_slug == 'resetButton') { _e('None', 'custom-contact-forms'); } else { ?>
|
724 |
+
<input type="text" name="field[field_label]" maxlength="100" value="<?php echo $fields[$i]->field_label; ?>" />
|
725 |
+
<?php } ?></td>
|
726 |
+
<td><?php echo $fields[$i]->field_type; ?>
|
727 |
+
<td><?php if ($fields[$i]->field_type != 'Checkbox') { ?>
|
728 |
+
<input type="text" name="field[field_value]" class="width75" maxlength="50" value="<?php echo $fields[$i]->field_value; ?>" />
|
729 |
+
<?php } else {
|
730 |
+
echo $fields[$i]->field_value;
|
731 |
+
?>
|
732 |
+
<?php } ?>
|
733 |
+
</td>
|
734 |
+
<td><?php if ($fields[$i]->field_slug == 'fixedEmail') { ?>
|
735 |
+
<select name="field[field_required]">
|
736 |
+
<option value="1">
|
737 |
+
<?php _e("Yes", 'custom-contact-forms'); ?>
|
738 |
+
</option>
|
739 |
+
<option <?php if($fields[$i]->field_required != 1) echo 'selected="selected"'; ?> value="0">
|
740 |
+
<?php _e("No", 'custom-contact-forms'); ?>
|
741 |
+
</option>
|
742 |
+
</select>
|
743 |
+
<?php } else {
|
744 |
+
if ($fields[$i]->field_slug == 'resetButton') {
|
745 |
+
echo '-';
|
746 |
+
} else {
|
747 |
+
_e("Yes", 'custom-contact-forms');
|
748 |
+
}
|
749 |
+
}
|
750 |
+
?>
|
751 |
+
</td>
|
752 |
+
<td><?php if ($fields[$i]->field_type != 'Checkbox' && $fields[$i]->field_slug != 'resetButton') { ?>
|
753 |
+
<input type="text" class="width50" name="field[field_maxlength]" value="<?php echo $fields[$i]->field_maxlength; ?>" />
|
754 |
+
<?php } else { _e('None', 'custom-contact-forms'); } ?>
|
755 |
+
</td>
|
756 |
+
<td><input type="hidden" class="object-type" name="object_type" value="field" />
|
757 |
+
<input type="hidden" class="object-id" name="fid" value="<?php echo $fields[$i]->id; ?>" />
|
758 |
+
<span class="fixed-fields-options-expand"></span>
|
759 |
+
<input type="submit" name="field_edit" class="edit-button" value="<?php _e("Save", 'custom-contact-forms'); ?>" /></td>
|
760 |
+
</tr>
|
761 |
+
<tr <?php if ($z % 2 == 0) echo ' class="evenrow"'; ?>>
|
762 |
+
<td class="fixed-fields-extra-options" colspan="7"><label for="field_class">
|
763 |
+
<?php _e('Field Class:', 'custom-contact-forms'); ?>
|
764 |
+
</label>
|
765 |
+
<input type="text" value="<?php echo $fields[$i]->field_class; ?>" name="field[field_class]" />
|
766 |
+
<?php if ($fields[$i]->field_slug != 'resetButton') { ?>
|
767 |
+
<label for="field_instructions">
|
768 |
+
<?php _e("Field Instructions:", 'custom-contact-forms'); ?>
|
769 |
+
</label>
|
770 |
+
<input type="text" name="field[field_instructions]" class="width200" value="<?php echo $fields[$i]->field_instructions; ?>" />
|
771 |
+
<br />
|
772 |
+
<?php } echo $GLOBALS['ccf_fixed_fields'][$fields[$i]->field_slug]; ?></td>
|
773 |
+
</tr>
|
774 |
+
</form>
|
775 |
+
<?php
|
776 |
+
}
|
777 |
+
?>
|
778 |
+
</tbody>
|
779 |
+
|
780 |
+
<tfoot>
|
781 |
+
<tr>
|
782 |
+
<th scope="col" class="manage-column field-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
783 |
+
<th scope="col" class="manage-column field-label"><?php _e("Label", 'custom-contact-forms'); ?></th>
|
784 |
+
<th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
|
785 |
+
<th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
|
786 |
+
<th scope="col" class="manage-column field-value"><?php _e("Required", 'custom-contact-forms'); ?></th>
|
787 |
+
<th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
|
788 |
+
<th scope="col" class="manage-column field-action"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
789 |
+
</tr>
|
790 |
+
</tfoot>
|
791 |
+
</table>
|
792 |
+
<a name="manage-field-options"></a>
|
793 |
+
<div id="field-options" class="postbox">
|
794 |
+
<h3 class="hndle"><span>
|
795 |
+
<?php _e("Manage Field Options (for Dropdown and Radio Fields)", 'custom-contact-forms'); ?>
|
796 |
+
</span></h3>
|
797 |
+
<div class="inside">
|
798 |
+
<div class="option-header">
|
799 |
+
<div class="slug">
|
800 |
+
<?php _e("Slug", 'custom-contact-forms'); ?>
|
801 |
+
</div>
|
802 |
+
<div class="label">
|
803 |
+
<?php _e("Label", 'custom-contact-forms'); ?>
|
804 |
+
</div>
|
805 |
+
<div class="option-value">
|
806 |
+
<?php _e("Value", 'custom-contact-forms'); ?>
|
807 |
+
</div>
|
808 |
+
<div class="action">
|
809 |
+
<?php _e("Action", 'custom-contact-forms'); ?>
|
810 |
+
</div>
|
811 |
+
</div>
|
812 |
+
<table id="edit-field-options">
|
813 |
+
<?php
|
814 |
+
$options = parent::selectAllFieldOptions();
|
815 |
+
$i = 0;
|
816 |
+
foreach ($options as $option) {
|
817 |
+
?>
|
818 |
+
<tr<?php if ($i % 2 == 1) echo ' class="evenrow-field-options"'; ?>>
|
819 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']?>">
|
820 |
+
<td class="slug"><input type="text" maxlength="20" name="option[option_slug]" value="<?php echo $option->option_slug; ?>" class="width50" /></td>
|
821 |
+
<td class="label"><input type="text" name="option[option_label]" value="<?php echo $option->option_label; ?>" class="width100" /></td>
|
822 |
+
<td class="option-value"><input type="text" name="option[option_value]" value="<?php echo $option->option_value; ?>" class="width100" /></td>
|
823 |
+
<td class="action"><input type="submit" value="<?php _e("Save", 'custom-contact-forms'); ?>" class="edit-button" name="edit_field_option" />
|
824 |
+
<input type="submit" class="delete-button" value="<?php _e("Delete", 'custom-contact-forms'); ?>" name="delete_field_option" />
|
825 |
+
</td>
|
826 |
+
<input type="hidden" class="object-type" name="object_type" value="field_option" />
|
827 |
+
<input type="hidden" class="object-id" name="oid" value="<?php echo $option->id; ?>" />
|
828 |
+
</form>
|
829 |
+
</tr>
|
830 |
+
<?php
|
831 |
+
$i++;
|
832 |
+
} if (empty($options)) {
|
833 |
+
?>
|
834 |
+
<tr>
|
835 |
+
<td class="ccf-center"><?php _e("No field options have been created.", 'custom-contact-forms'); ?></td>
|
836 |
+
</tr>
|
837 |
+
<?php
|
838 |
+
}
|
839 |
+
?>
|
840 |
+
</table>
|
841 |
+
<div class="option-header">
|
842 |
+
<div class="slug">
|
843 |
+
<?php _e("Slug", 'custom-contact-forms'); ?>
|
844 |
+
</div>
|
845 |
+
<div class="label">
|
846 |
+
<?php _e("Label", 'custom-contact-forms'); ?>
|
847 |
+
</div>
|
848 |
+
<div class="option-value">
|
849 |
+
<?php _e("Value", 'custom-contact-forms'); ?>
|
850 |
+
</div>
|
851 |
+
<div class="action">
|
852 |
+
<?php _e("Action", 'custom-contact-forms'); ?>
|
853 |
+
</div>
|
854 |
+
</div>
|
855 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']?>">
|
856 |
+
<input type="hidden" name="object_type" value="field_option" />
|
857 |
+
<div class="create-field-options-header">
|
858 |
+
<?php _e("Create a Field Option", 'custom-contact-forms'); ?>
|
859 |
+
</div>
|
860 |
+
<ul id="create-field-options">
|
861 |
+
<li>
|
862 |
+
<label for="option[option_slug]">*
|
863 |
+
<?php _e("Option Slug:", 'custom-contact-forms'); ?>
|
864 |
+
</label>
|
865 |
+
<input maxlength="20" type="text" name="option[option_slug]" />
|
866 |
+
<br />
|
867 |
+
<?php _e("(Used to identify this option, solely for admin purposes; must be unique, and contain only letters, numbers, and underscores. Example: 'slug_one')", 'custom-contact-forms'); ?>
|
868 |
+
</li>
|
869 |
+
<li>
|
870 |
+
<label for="option[option_label]">*
|
871 |
+
<?php _e("Option Label:", 'custom-contact-forms'); ?>
|
872 |
+
</label>
|
873 |
+
<input type="text" name="option[option_label]" />
|
874 |
+
<br />
|
875 |
+
<?php _e("(This is what is shown to the user in the dropdown or radio field. Example:)", 'custom-contact-forms'); ?>
|
876 |
+
</li>
|
877 |
+
<li>
|
878 |
+
<label for="option[option_value]">
|
879 |
+
<?php _e("Option Value:", 'custom-contact-forms'); ?>
|
880 |
+
</label>
|
881 |
+
<input type="text" name="option[option_value]" />
|
882 |
+
<br />
|
883 |
+
<?php _e('(This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: "The color green" => "green" or "Yes" => "1".)', 'custom-contact-forms'); ?>
|
884 |
+
</li>
|
885 |
+
<li>
|
886 |
+
<input type="submit" class="create-button" name="create_field_option" value="<?php _e("Create Field Option", 'custom-contact-forms'); ?>" />
|
887 |
+
</li>
|
888 |
+
</ul>
|
889 |
+
<p id="edit-field-comments"><b>*</b>
|
890 |
+
<?php _e("The option value is behind the scences; unseen by the user, but when a user fills out the form, the option value is what is actually sent in the email to you. For dropdown fields the option value is optional, for radio fields it is required.", 'custom-contact-forms'); ?>
|
891 |
+
</p>
|
892 |
+
</form>
|
893 |
+
</div>
|
894 |
+
</div>
|
895 |
+
<a name="manage-forms"></a>
|
896 |
+
<h3 class="manage-h3">
|
897 |
+
<?php _e("Manage Forms", 'custom-contact-forms'); ?>
|
898 |
+
</h3>
|
899 |
+
<table class="widefat post" id="manage-forms" cellspacing="0">
|
900 |
+
<thead>
|
901 |
+
<tr>
|
902 |
+
<th scope="col" class="manage-column form-code"><?php _e("Form Display Code", 'custom-contact-forms'); ?></th>
|
903 |
+
<th scope="col" class="manage-column form-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
904 |
+
<th scope="col" class="manage-column form-title"><?php _e("Title", 'custom-contact-forms'); ?></th>
|
905 |
+
<th scope="col" class="manage-column form-submit"><?php _e("Button Text", 'custom-contact-forms'); ?></th>
|
906 |
+
<th scope="col" class="manage-column form-submit"><?php _e("Style", 'custom-contact-forms'); ?></th>
|
907 |
+
<th scope="col" class="manage-column form-submit"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
908 |
+
</tr>
|
909 |
+
</thead>
|
910 |
+
<tbody>
|
911 |
+
<?php
|
912 |
+
$forms = parent::selectAllForms();
|
913 |
+
for ($i = 0; $i < count($forms); $i++) {
|
914 |
+
$form_methods = '<option>Post</option><option>Get</option>';
|
915 |
+
$form_methods = str_replace('<option>'.$forms[$i]->form_method.'</option>', '<option selected="selected">'.$forms[$i]->form_method.'</option>', $form_methods);
|
916 |
+
$add_fields = $this->getFieldsForm();
|
917 |
+
$this_style = parent::selectStyle($forms[$i]->form_style, '');
|
918 |
+
$sty_opt = str_replace('<option value="'.$forms[$i]->form_style.'">'.$this_style->style_slug.'</option>', '<option value="'.$forms[$i]->form_style.'" selected="selected">'.$this_style->style_slug.'</option>', $style_options);
|
919 |
+
?>
|
920 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
921 |
+
<tr class="<?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
922 |
+
<td><span class="bold">[customcontact form=<?php echo $forms[$i]->id ?>]</span></td>
|
923 |
+
<td><input type="text" class="width75" name="form[form_slug]" value="<?php echo $forms[$i]->form_slug; ?>" /></td>
|
924 |
+
<td><input type="text" class="width125" name="form[form_title]" value="<?php echo $forms[$i]->form_title; ?>" /></td>
|
925 |
+
<td><input class="width100" type="text" name="form[submit_button_text]" value="<?php echo $forms[$i]->submit_button_text; ?>" /></td>
|
926 |
+
<td><select name="form[form_style]" class="form_style_input">
|
927 |
+
<?php echo $sty_opt; ?>
|
928 |
+
</select></td>
|
929 |
+
<td><input type="hidden" class="object-id" name="fid" value="<?php echo $forms[$i]->id; ?>" />
|
930 |
+
<input type="hidden" class="object-type" name="object_type" value="form" />
|
931 |
+
<span class="form-options-expand"></span>
|
932 |
+
<input type="submit" name="form_edit" class="edit-button" value="<?php _e("Save", 'custom-contact-forms'); ?>" />
|
933 |
+
<input type="submit" name="form_delete" class="delete-button" value="<?php _e("Delete", 'custom-contact-forms'); ?>" />
|
934 |
+
</td>
|
935 |
+
</tr>
|
936 |
+
<tr class="<?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
937 |
+
<td class="form-extra-options textcenter" colspan="8"><table class="form-extra-options-table">
|
938 |
+
<tbody>
|
939 |
+
<tr>
|
940 |
+
<td class="bold"><?php _e("Method", 'custom-contact-forms'); ?></td>
|
941 |
+
<td class="bold"><?php _e("Form Action", 'custom-contact-forms'); ?></td>
|
942 |
+
<td class="bold"><?php _e("Destination Email", 'custom-contact-forms'); ?></td>
|
943 |
+
<td class="bold"><?php _e("Success Message Title", 'custom-contact-forms'); ?></td>
|
944 |
+
<td class="bold"><?php _e("Success Message", 'custom-contact-forms'); ?></td>
|
945 |
+
<td class="bold"><?php _e("Custom Success URL", 'custom-contact-forms'); ?></td>
|
946 |
+
</tr>
|
947 |
+
<tr>
|
948 |
+
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("The Form Method is the method by which information is transfer through your form. If you aren't an expert with HTML and PHP, leave this as Post.", 'custom-contact-forms'); ?>">(?)</a>
|
949 |
+
<select name="form[form_method]">
|
950 |
+
<?php echo $form_methods; ?>
|
951 |
+
</select></td>
|
952 |
+
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("This lets you process your forms through alternate scripts. If you use a service like InfusionSoft or Aweber, set this to be the same form action as the code provided to you by that service, otherwise leave this blank.", 'custom-contact-forms'); ?>">(?)</a>
|
953 |
+
<input class="width100" type="text" name="form[form_action]" value="<?php echo $forms[$i]->form_action; ?>" /></td>
|
954 |
+
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("This email address will recieve form emails (provided that Email Form Submissions is set to Yes in general settings).", 'custom-contact-forms'); ?>">(?)</a>
|
955 |
+
<input class="width100" type="text" name="form[form_email]" value="<?php echo $forms[$i]->form_email; ?>" /></td>
|
956 |
+
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("This will be displayed as the header in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>">(?)</a>
|
957 |
+
<input class="width100" type="text" name="form[form_success_title]" value="<?php echo $forms[$i]->form_success_title; ?>" /></td>
|
958 |
+
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("This will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>">(?)</a>
|
959 |
+
<input type="text" name="form[form_success_message]" class="width100" value="<?php echo $forms[$i]->form_success_message; ?>" /></td>
|
960 |
+
<td><a href="javascript:void(0)" class="toollink" title="<?php _e("If this is filled out, users will be sent to this thank you page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success.", 'custom-contact-forms'); ?>">(?)</a>
|
961 |
+
<input type="text" class="width100" name="form[form_thank_you_page]" value="<?php echo $forms[$i]->form_thank_you_page; ?>" /></td>
|
962 |
+
</tr>
|
963 |
+
<tr>
|
964 |
+
<td colspan="3"><label for="dettach_object_id"><span>
|
965 |
+
<?php _e("Attached Fields:", 'custom-contact-forms'); ?>
|
966 |
+
</span></label>
|
967 |
+
<?php
|
968 |
+
$attached_fields = parent::getAttachedFieldsArray($forms[$i]->id);
|
969 |
+
if (empty($attached_fields)) echo '<select name="dettach_object_id"><option value="-1">Nothing Attached!</option></select> ';
|
970 |
+
else {
|
971 |
+
echo '<select name="dettach_object_id" class="onObject' . $forms[$i]->id . '" objectTypeForm>';
|
972 |
+
foreach($attached_fields as $attached_field) {
|
973 |
+
$this_field = parent::selectField($attached_field, '');
|
974 |
+
echo $this_field->field_slug . ' <option value="'.$this_field->id.'">'.$this_field->field_slug.'</option>';
|
975 |
+
}
|
976 |
+
echo '</select>';
|
977 |
+
}
|
978 |
+
?>
|
979 |
+
<input type="submit" class="dettach-button" value="<?php _e("Dettach Field", 'custom-contact-forms'); ?>" name="dettach_field" />
|
980 |
+
<br />
|
981 |
+
<span class="red bold">*</span>
|
982 |
+
<?php _e("Attach fields in the order you want them displayed.", 'custom-contact-forms'); ?>
|
983 |
+
</td>
|
984 |
+
<td colspan="3"><label for="field_id"><span>
|
985 |
+
<?php _e("Attach Field:", 'custom-contact-forms'); ?>
|
986 |
+
</span></label>
|
987 |
+
<select class="onObject<?php echo $forms[$i]->id; ?> objectTypeForm" name="attach_object_id">
|
988 |
+
<?php echo $add_fields; ?>
|
989 |
+
</select>
|
990 |
+
<input class="attach-button" type="submit" name="form_add_field" value="<?php _e("Attach Field", 'custom-contact-forms'); ?>" />
|
991 |
+
<br />
|
992 |
+
<span class="red bold">*</span>
|
993 |
+
<?php _e("Attach fixed fields or ones you", 'custom-contact-forms'); ?>
|
994 |
+
<a href="#create-fields">
|
995 |
+
<?php _e("create", 'custom-contact-forms'); ?>
|
996 |
+
</a>. </td>
|
997 |
+
</tr>
|
998 |
+
<tr>
|
999 |
+
<td colspan="6"><label for="theme_code_<?php echo $forms[$i]->id; ?>"><a href="javascript:void(0)" class="toollink" title="<?php _e("The form display code above ([customcontact form=x]) will only work in Wordpress pages and posts. If you want to display this form in a theme file such as page.php, header.php, index.php, category.php, etc, then insert this PHP snippet.", 'custom-contact-forms'); ?>">(?)</a> <span>
|
1000 |
+
<?php _e("Code to Display Form in Theme Files:", 'custom-contact-forms'); ?>
|
1001 |
+
</span></label>
|
1002 |
+
<input type="text" class="width225" value="<?php if (function_exists('serveCustomContactForm')) { serveCustomContactForm(<?php echo $forms[$i]->id; ?>); } ?>" name="theme_code_<?php echo $forms[$i]->id; ?>" />
|
1003 |
+
<label for="form[custom_code]"><a href="javascript:void(0)" class="toollink" title="<?php _e("This field allows you to insert HTML directly after the starting <form> tag.", 'custom-contact-forms'); ?>">(?)</a>
|
1004 |
+
<?php _e("Custom Code:", 'custom-contact-forms'); ?>
|
1005 |
+
</label>
|
1006 |
+
<input name="form[custom_code]" type="text" value="<?php echo $forms[$i]->custom_code; ?>" /></td>
|
1007 |
+
</tr>
|
1008 |
+
</tbody>
|
1009 |
+
</table></td>
|
1010 |
+
</tr>
|
1011 |
+
</form>
|
1012 |
+
<?php
|
1013 |
+
}
|
1014 |
+
$remember_check = ($admin_options['remember_field_values'] == 0) ? 'selected="selected"' : '';
|
1015 |
+
$remember_fields = '<option value="1">'.__('Yes', 'custom-contact-forms').'</option><option '.$remember_check.' value="0">'.__('No', 'custom-contact-forms').'</option>';
|
1016 |
+
$border_style_options = '<option>solid</option><option>dashed</option>
|
1017 |
+
<option>grooved</option><option>double</option><option>dotted</option><option>ridged</option><option>none</option>
|
1018 |
+
<option>inset</option><option>outset</option>';
|
1019 |
+
?>
|
1020 |
+
</tbody>
|
1021 |
+
|
1022 |
+
<tfoot>
|
1023 |
+
<tr>
|
1024 |
+
<tr>
|
1025 |
+
<th scope="col" class="manage-column form-code"><?php _e("Form Code", 'custom-contact-forms'); ?></th>
|
1026 |
+
<th scope="col" class="manage-column form-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
|
1027 |
+
<th scope="col" class="manage-column form-title"><?php _e("Title", 'custom-contact-forms'); ?></th>
|
1028 |
+
<th scope="col" class="manage-column form-submit"><?php _e("Button Text", 'custom-contact-forms'); ?></th>
|
1029 |
+
<th scope="col" class="manage-column form-submit"><?php _e("Style", 'custom-contact-forms'); ?></th>
|
1030 |
+
<th scope="col" class="manage-column form-submit"><?php _e("Action", 'custom-contact-forms'); ?></th>
|
1031 |
+
</tr>
|
1032 |
+
</tr>
|
1033 |
+
|
1034 |
+
</tfoot>
|
1035 |
+
</table>
|
1036 |
+
<?php
|
1037 |
+
require_once('custom-contact-forms-user-data.php');
|
1038 |
+
$user_data_array = parent::selectAllUserData();
|
1039 |
+
?>
|
1040 |
+
<a name="form-submissions"></a>
|
1041 |
+
<h3 class="manage-h3">
|
1042 |
+
<?php _e("Saved Form Submissions", 'custom-contact-forms'); ?>
|
1043 |
+
</h3>
|
1044 |
+
<table class="widefat post" id="form-submissions" cellspacing="0">
|
1045 |
+
<thead>
|
1046 |
+
<tr>
|
1047 |
+
<th scope="col" class="manage-column width250"><?php _e("Date Submitted", 'custom-contact-forms'); ?></th>
|
1048 |
+
<th scope="col" class="manage-column width150"><?php _e("Form Submitted", 'custom-contact-forms'); ?></th>
|
1049 |
+
<th scope="col" class="manage-column width250"><?php _e("Form Page", 'custom-contact-forms'); ?></th>
|
1050 |
+
<th scope="col" class="manage-column "><div class="alignright">
|
1051 |
+
<?php _e("Action", 'custom-contact-forms'); ?>
|
1052 |
+
</div></th>
|
1053 |
+
</tr>
|
1054 |
+
</thead>
|
1055 |
+
<tbody>
|
1056 |
+
<?php
|
1057 |
+
$i = 0;
|
1058 |
+
foreach ($user_data_array as $data_object) {
|
1059 |
+
$data = new CustomContactFormsUserData(array('form_id' => $data_object->data_formid, 'data_time' => $data_object->data_time, 'form_page' => $data_object->data_formpage, 'encoded_data' => $data_object->data_value));
|
1060 |
+
?>
|
1061 |
+
<tr class="submission-top <?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
1062 |
+
<td><?php echo date('F d, Y h:i:s A', $data->getDataTime()); ?></td>
|
1063 |
+
<td><?php
|
1064 |
+
if ($data->getFormID() > 0) {
|
1065 |
+
$data_form = parent::selectForm($data->getFormID());
|
1066 |
+
echo $data_form->form_slug;
|
1067 |
+
} else
|
1068 |
+
_e('Custom HTML Form', 'custom-contact-forms');
|
1069 |
+
?>
|
1070 |
+
</td>
|
1071 |
+
<td><?php echo $data->getFormPage(); ?> </td>
|
1072 |
+
<td class="alignright"><form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
1073 |
+
<span class="submission-content-expand"></span>
|
1074 |
+
<input type="submit" class="delete-button" value="<?php _e("Delete", 'custom-contact-forms'); ?>" name="form_submission_delete" />
|
1075 |
+
<input type="hidden" class="object-type" name="object_type" value="form_submission" />
|
1076 |
+
<input type="hidden" class="object-id" value="<?php echo $data_object->id; ?>" name="uid" />
|
1077 |
+
</form></td>
|
1078 |
+
</tr>
|
1079 |
+
<tr class="submission-content <?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
1080 |
+
<td colspan="4"><ul>
|
1081 |
+
<?php
|
1082 |
+
$data_array = $data->getDataArray();
|
1083 |
+
foreach ($data_array as $item_key => $item_value) {
|
1084 |
+
?>
|
1085 |
+
<li>
|
1086 |
+
<div><?php echo $item_key; ?></div>
|
1087 |
+
<p><?php echo $item_value; ?></p>
|
1088 |
+
</li>
|
1089 |
+
<?php
|
1090 |
+
}
|
1091 |
+
?>
|
1092 |
+
</ul></td>
|
1093 |
+
</tr>
|
1094 |
+
<?php
|
1095 |
+
$i++;
|
1096 |
+
}
|
1097 |
+
?>
|
1098 |
+
</tbody>
|
1099 |
+
<tfoot>
|
1100 |
+
<tr>
|
1101 |
+
<th scope="col" class="manage-column width250"><?php _e("Date Submitted", 'custom-contact-forms'); ?></th>
|
1102 |
+
<th scope="col" class="manage-column width150"><?php _e("Form Submitted", 'custom-contact-forms'); ?></th>
|
1103 |
+
<th scope="col" class="manage-column width250"><?php _e("Form Page", 'custom-contact-forms'); ?></th>
|
1104 |
+
<th scope="col" class="manage-column "><div class="alignright">
|
1105 |
+
<?php _e("Action", 'custom-contact-forms'); ?>
|
1106 |
+
</div></th>
|
1107 |
+
</tr>
|
1108 |
+
</tfoot>
|
1109 |
+
</table>
|
1110 |
+
<a name="general-settings"></a>
|
1111 |
+
<div id="general-settings" class="postbox">
|
1112 |
+
<h3 class="hndle"><span>
|
1113 |
+
<?php _e("General Settings", 'custom-contact-forms'); ?>
|
1114 |
+
</span></h3>
|
1115 |
+
<div class="inside">
|
1116 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
1117 |
+
<ul>
|
1118 |
+
<li>
|
1119 |
+
<label for="email_form_submissions">
|
1120 |
+
<?php _e("Email Form Submissions:", 'custom-contact-forms'); ?>
|
1121 |
+
</label>
|
1122 |
+
<select name="email_form_submissions">
|
1123 |
+
<option value="1">
|
1124 |
+
<?php _e("Yes", 'custom-contact-forms'); ?>
|
1125 |
+
</option>
|
1126 |
+
<option value="0" <?php if ($admin_options['email_form_submissions'] == 0) echo 'selected="selected"'; ?>>
|
1127 |
+
<?php _e("No", 'custom-contact-forms'); ?>
|
1128 |
+
</option>
|
1129 |
+
</select>
|
1130 |
+
</li>
|
1131 |
+
<li class="descrip">
|
1132 |
+
<?php _e("When a user fills out one of your forms, the info he submitted is saved in the Saved Form Submission section of the admin panel for you to view. If this is enabled, you will also be sent an email containing the submission info.", 'custom-contact-forms'); ?>
|
1133 |
+
</li>
|
1134 |
+
<li>
|
1135 |
+
<label for="default_to_email">
|
1136 |
+
<?php _e("Default Email:", 'custom-contact-forms'); ?>
|
1137 |
+
</label>
|
1138 |
+
<input name="default_to_email" value="<?php echo $admin_options['default_to_email']; ?>" type="text" maxlength="100" />
|
1139 |
+
</li>
|
1140 |
+
<li class="descrip">
|
1141 |
+
<?php _e("Form emails will be sent <span>to</span> this address, if no destination email is specified by the form.", 'custom-contact-forms'); ?>
|
1142 |
+
</li>
|
1143 |
+
<li>
|
1144 |
+
<label for="enable_jquery">
|
1145 |
+
<?php _e("Front End JQuery:", 'custom-contact-forms'); ?>
|
1146 |
+
</label>
|
1147 |
+
<select name="enable_jquery">
|
1148 |
+
<option value="1">
|
1149 |
+
<?php _e("Enabled", 'custom-contact-forms'); ?>
|
1150 |
+
</option>
|
1151 |
+
<option <?php if ($admin_options['enable_jquery'] != 1) echo 'selected="selected"'; ?> value="0">
|
1152 |
+
<?php _e("Disabled", 'custom-contact-forms'); ?>
|
1153 |
+
</option>
|
1154 |
+
</select>
|
1155 |
+
</li>
|
1156 |
+
<li class="descrip">
|
1157 |
+
<?php _e("Some plugins don't setup JQuery correctly, so when any other plugin uses JQuery (whether correctly or not), JQuery works for neither plugin. This plugin uses JQuery correctly. If another plugin isn't using JQuery correctly but is more important to you than this one: disable this option. 99% of this plugin's functionality will work without JQuery, just no field instruction tooltips.", 'custom-contact-forms'); ?>
|
1158 |
+
</li>
|
1159 |
+
<li>
|
1160 |
+
<label for="default_from_email">
|
1161 |
+
<?php _e("Default From Email:", 'custom-contact-forms'); ?>
|
1162 |
+
</label>
|
1163 |
+
<input name="default_from_email" value="<?php echo $admin_options['default_from_email']; ?>" type="text" maxlength="100" />
|
1164 |
+
</li>
|
1165 |
+
<li class="descrip">
|
1166 |
+
<?php _e("Form emails will be sent <span>from</span> this address. It is recommended you provide a real email address that has been created through your host.", 'custom-contact-forms'); ?>
|
1167 |
+
</li>
|
1168 |
+
<li>
|
1169 |
+
<label for="default_form_subject">
|
1170 |
+
<?php _e("Default Email Subject:", 'custom-contact-forms'); ?>
|
1171 |
+
</label>
|
1172 |
+
<input name="default_form_subject" value="<?php echo $admin_options['default_form_subject']; ?>" type="text" />
|
1173 |
+
</li>
|
1174 |
+
<li class="descrip">
|
1175 |
+
<?php _e("Default subject to be included in all form emails.", 'custom-contact-forms'); ?>
|
1176 |
+
</li>
|
1177 |
+
<li>
|
1178 |
+
<label for="form_success_message_title">
|
1179 |
+
<?php _e("Default Form Success Message Title:", 'custom-contact-forms'); ?>
|
1180 |
+
</label>
|
1181 |
+
<input name="form_success_message_title" value="<?php echo $admin_options['form_success_message_title']; ?>" type="text"/>
|
1182 |
+
</li>
|
1183 |
+
<li class="descrip">
|
1184 |
+
<?php _e("If someone fills out a form for which a success message title is not provided and a custom success page is not provided, the plugin will show a popover using this field as the window title.", 'custom-contact-forms'); ?>
|
1185 |
+
</li>
|
1186 |
+
<li>
|
1187 |
+
<label for="form_success_message">
|
1188 |
+
<?php _e("Default Form Success Message:", 'custom-contact-forms'); ?>
|
1189 |
+
</label>
|
1190 |
+
<input name="form_success_message" value="<?php echo $admin_options['form_success_message']; ?>" type="text"/>
|
1191 |
+
</li>
|
1192 |
+
<li class="descrip">
|
1193 |
+
<?php _e("If someone fills out a form for which a success message is not provided and a custom success page is not provided, the plugin will show a popover containing this message.", 'custom-contact-forms'); ?>
|
1194 |
+
</li>
|
1195 |
+
<li>
|
1196 |
+
<label for="remember_field_values">
|
1197 |
+
<?php _e("Remember Field Values:", 'custom-contact-forms'); ?>
|
1198 |
+
</label>
|
1199 |
+
<select name="remember_field_values">
|
1200 |
+
<option value="1">
|
1201 |
+
<?php _e("Yes", 'custom-contact-forms'); ?>
|
1202 |
+
</option>
|
1203 |
+
<option <?php if ($admin_options['remember_field_values'] == 0) echo 'selected="selected"'; ?> value="0">
|
1204 |
+
<?php _e("No", 'custom-contact-forms'); ?>
|
1205 |
+
</option>
|
1206 |
+
</select>
|
1207 |
+
</li>
|
1208 |
+
<li class="descrip">
|
1209 |
+
<?php _e("Selecting yes will make form fields remember how they were last filled out.", 'custom-contact-forms'); ?>
|
1210 |
+
</li>
|
1211 |
+
<li>
|
1212 |
+
<label for="enable_widget_tooltips">
|
1213 |
+
<?php _e("Tooltips in Widget:", 'custom-contact-forms'); ?>
|
1214 |
+
</label>
|
1215 |
+
<select name="enable_widget_tooltips">
|
1216 |
+
<option value="1">
|
1217 |
+
<?php _e("Enabled", 'custom-contact-forms'); ?>
|
1218 |
+
</option>
|
1219 |
+
<option <?php if ($admin_options['enable_widget_tooltips'] == 0) echo 'selected="selected"'; ?> value="0">
|
1220 |
+
<?php _e("Disabled", 'custom-contact-forms'); ?>
|
1221 |
+
</option>
|
1222 |
+
</select>
|
1223 |
+
</li>
|
1224 |
+
<li class="descrip">
|
1225 |
+
<?php _e("Enabling this shows tooltips containing field instructions on forms in the widget.", 'custom-contact-forms'); ?>
|
1226 |
+
</li>
|
1227 |
+
<li>
|
1228 |
+
<label for="author_link">
|
1229 |
+
<?php _e("Hide Plugin Author Link in Code:", 'custom-contact-forms'); ?>
|
1230 |
+
</label>
|
1231 |
+
<select name="author_link">
|
1232 |
+
<option value="1">
|
1233 |
+
<?php _e("Yes", 'custom-contact-forms'); ?>
|
1234 |
+
</option>
|
1235 |
+
<option <?php if ($admin_options['author_link'] == 0) echo 'selected="selected"'; ?> value="0">
|
1236 |
+
<?php _e("No", 'custom-contact-forms'); ?>
|
1237 |
+
</option>
|
1238 |
+
</select>
|
1239 |
+
</li>
|
1240 |
+
<li>
|
1241 |
+
<label for="code_type">
|
1242 |
+
<?php _e("Use Code Type:", 'custom-contact-forms'); ?>
|
1243 |
+
</label>
|
1244 |
+
<select name="code_type">
|
1245 |
+
<option>XHTML</option>
|
1246 |
+
<option <?php if ($admin_options['code_type'] == 'HTML') echo 'selected="selected"'; ?>>HTML</option>
|
1247 |
+
</select>
|
1248 |
+
</li>
|
1249 |
+
<li class="descrip">
|
1250 |
+
<?php _e("This lets you switch the form code between HTML and XHTML.", 'custom-contact-forms'); ?>
|
1251 |
+
</li>
|
1252 |
+
<li>
|
1253 |
+
<label for="admin_ajax">
|
1254 |
+
<?php _e("Fancy Admin AJAX Abilities:", 'custom-contact-forms'); ?>
|
1255 |
+
</label>
|
1256 |
+
<select name="admin_ajax">
|
1257 |
+
<option value="1">
|
1258 |
+
<?php _e("Enabled", 'custom-contact-forms'); ?>
|
1259 |
+
</option>
|
1260 |
+
<option <?php if ($admin_options['admin_ajax'] == 0) echo 'selected="selected"'; ?>>
|
1261 |
+
<?php _e("Disabled", 'custom-contact-forms'); ?>
|
1262 |
+
</option>
|
1263 |
+
</select>
|
1264 |
+
</li>
|
1265 |
+
<li class="descrip">
|
1266 |
+
<?php _e("If you enable this, creating, editing and modifying forms, fields, styles, etc in the admin panel will be done using AJAX. This means that clicking things like 'Edit' or 'Delete' will not cause the page to reload thus managing your forms will be much smoother and quicker. If you are having problems with things not saving, deleting, or inserting correctly, then disable this and fill out a bug report below.", 'custom-contact-forms'); ?>
|
1267 |
+
</li>
|
1268 |
+
<li>
|
1269 |
+
<label for="wp_mail_function">
|
1270 |
+
<?php _e("Use Wordpress Mail Function:", 'custom-contact-forms'); ?>
|
1271 |
+
</label>
|
1272 |
+
<select name="wp_mail_function">
|
1273 |
+
<option value="1">
|
1274 |
+
<?php _e("Yes", 'custom-contact-forms'); ?>
|
1275 |
+
</option>
|
1276 |
+
<option <?php if ($admin_options['wp_mail_function'] == 0) echo 'selected="selected"'; ?> value="0">
|
1277 |
+
<?php _e("No", 'custom-contact-forms'); ?>
|
1278 |
+
</option>
|
1279 |
+
</select>
|
1280 |
+
</li>
|
1281 |
+
<li class="descrip">
|
1282 |
+
<?php _e("Setting this to no will use the PHP mail function. If your forms aren't sending mail properly try setting this to no.", 'custom-contact-forms'); ?>
|
1283 |
+
</li>
|
1284 |
+
<li class="show-widget"><b>
|
1285 |
+
<?php _e("Show Sidebar Widget:", 'custom-contact-forms'); ?>
|
1286 |
+
</b></li>
|
1287 |
+
<li>
|
1288 |
+
<label>
|
1289 |
+
<input value="1" type="checkbox" name="show_widget_home" <?php if ($admin_options['show_widget_home'] == 1) echo 'checked="checked"'; ?> />
|
1290 |
+
<?php _e("On Homepage", 'custom-contact-forms'); ?>
|
1291 |
+
</label>
|
1292 |
+
<label>
|
1293 |
+
<input value="1" type="checkbox" name="show_widget_pages" <?php if ($admin_options['show_widget_pages'] == 1) echo 'checked="checked"'; ?> />
|
1294 |
+
<?php _e("On Pages", 'custom-contact-forms'); ?>
|
1295 |
+
</label>
|
1296 |
+
<label>
|
1297 |
+
<input value="1" type="checkbox" name="show_widget_singles" <?php if ($admin_options['show_widget_singles'] == 1) echo 'checked="checked"'; ?> />
|
1298 |
+
<?php _e("On Single Posts", 'custom-contact-forms'); ?>
|
1299 |
+
</label>
|
1300 |
+
<br />
|
1301 |
+
<label>
|
1302 |
+
<input value="1" type="checkbox" name="show_widget_categories" <?php if ($admin_options['show_widget_categories'] == 1) echo 'checked="checked"'; ?> />
|
1303 |
+
<?php _e("On Categories", 'custom-contact-forms'); ?>
|
1304 |
+
</label>
|
1305 |
+
<label>
|
1306 |
+
<input value="1" type="checkbox" name="show_widget_archives" <?php if ($admin_options['show_widget_archives'] == 1) echo 'checked="checked"'; ?> />
|
1307 |
+
<?php _e("On Archives", 'custom-contact-forms'); ?>
|
1308 |
+
</label>
|
1309 |
+
</li>
|
1310 |
+
<li>
|
1311 |
+
<input type="submit" value="<?php _e("Update", 'custom-contact-forms'); ?>" name="general_settings" />
|
1312 |
+
</li>
|
1313 |
+
</ul>
|
1314 |
+
</form>
|
1315 |
+
</div>
|
1316 |
+
</div>
|
1317 |
+
<a name="instructions"></a>
|
1318 |
+
<div id="instructions" class="postbox">
|
1319 |
+
<h3 class="hndle"><span>
|
1320 |
+
<?php _e("Instructions", 'custom-contact-forms'); ?>
|
1321 |
+
</span></h3>
|
1322 |
+
<div class="inside">
|
1323 |
+
<p><b>
|
1324 |
+
<?php _e("The default content will help you get a better feel of ways this plugin can be used and is the best way to learn.", 'custom-contact-forms'); ?>
|
1325 |
+
</b></p>
|
1326 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
1327 |
+
<div class="ccf-center">
|
1328 |
+
<input type="submit" value="<?php _e("Insert Default Content", 'custom-contact-forms'); ?>" name="insert_default_content" />
|
1329 |
+
</div>
|
1330 |
+
</form>
|
1331 |
+
<p>
|
1332 |
+
<?php _e("1. Create a form.", 'custom-contact-forms'); ?>
|
1333 |
+
</p>
|
1334 |
+
<p>
|
1335 |
+
<?php _e("2. Create fields and attach those fields to the forms of your choice.", 'custom-contact-forms'); ?>
|
1336 |
+
<span class="red bold">*</span>
|
1337 |
+
<?php _e("Attach the fields in the order that you want them to show up in the form. If you mess up you can detach and reattach them. Create field options in the field option manager; field options should be attached to radio and dropdown fields.", 'custom-contact-forms'); ?>
|
1338 |
+
</p>
|
1339 |
+
<p>
|
1340 |
+
<?php _e("3. Display those forms in posts and pages by inserting the code: [customcontact form=<b>FORMID</b>]. Replace <b>FORMID</b> with the id listed to the left of the form slug next to the form of your choice above. You can also display forms in theme files; the code for this is provided within each forms admin section.", 'custom-contact-forms'); ?>
|
1341 |
+
</p>
|
1342 |
+
<p>
|
1343 |
+
<?php _e("4. Prevent spam by attaching the fixed field, captcha or ishuman. Captcha requires users to type in a number shown on an image. Ishuman requires users to check a box to prove they aren't a spam bot.", 'custom-contact-forms'); ?>
|
1344 |
+
</p>
|
1345 |
+
<p>
|
1346 |
+
<?php _e("5. Add a form to your sidebar, by dragging the Custom Contact Form widget in to your sidebar.", 'custom-contact-forms'); ?>
|
1347 |
+
</p>
|
1348 |
+
<p>
|
1349 |
+
<?php _e("6. Configure the General Settings appropriately; this is important if you want to receive your web form messages!", 'custom-contact-forms'); ?>
|
1350 |
+
</p>
|
1351 |
+
<p>
|
1352 |
+
<?php _e("7. Create form styles to change your forms appearances. The image below explains how each style field can change the look of your forms.", 'custom-contact-forms'); ?>
|
1353 |
+
</p>
|
1354 |
+
<p>
|
1355 |
+
<?php _e("8. (advanced) If you are confident in your HTML and CSS skills, you can use the", 'custom-contact-forms'); ?>
|
1356 |
+
<a href="#custom-html">
|
1357 |
+
<?php _e("Custom HTML Forms feature", 'custom-contact-forms'); ?>
|
1358 |
+
</a>
|
1359 |
+
<?php _e("as a framework and write your forms from scratch. This allows you to use this plugin simply to process your form requests. The Custom HTML Forms feature will process and email any form variables sent to it regardless of whether they are created in the fields manager.", 'custom-contact-forms'); ?>
|
1360 |
+
</p>
|
1361 |
+
<p><span class="red bold">*</span>
|
1362 |
+
<?php _e("These instructions briefly tell you in which order you should use forms, fields, field options, and styles.", 'custom-contact-forms'); ?>
|
1363 |
+
<b>
|
1364 |
+
<?php _e("If you want to read in detail about using forms, fields, field options, styles and the rest of this plugin, click the button below.", 'custom-contact-forms'); ?>
|
1365 |
+
</b></p>
|
1366 |
+
<div class="ccf-center">
|
1367 |
+
<input type="button" class="usage-popover-button" value="<?php _e("View Plugin Usage Popover", 'custom-contact-forms'); ?>" />
|
1368 |
+
</div>
|
1369 |
+
<div class="ccf-style-example"></div>
|
1370 |
+
<div class="ccf-success-popover-example"></div>
|
1371 |
+
</div>
|
1372 |
+
</div>
|
1373 |
+
<a name="create-styles"></a>
|
1374 |
+
<div id="create-styles" class="postbox">
|
1375 |
+
<h3 class="hndle"><span>
|
1376 |
+
<?php _e("Create A Style for Your Forms", 'custom-contact-forms'); ?>
|
1377 |
+
</span></h3>
|
1378 |
+
<div class="inside">
|
1379 |
+
<p>
|
1380 |
+
<?php _e("Use this manager to create styles for your forms. Each field is already filled out with nice look defaults. It is recommended you simply input a slug and click create to see the defaults before you start changing values.", 'custom-contact-forms'); ?>
|
1381 |
+
</p>
|
1382 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
1383 |
+
<ul class="style_left">
|
1384 |
+
<li>
|
1385 |
+
<label for="style_slug">*
|
1386 |
+
<?php _e("Style Slug:", 'custom-contact-forms'); ?>
|
1387 |
+
</label>
|
1388 |
+
<input type="text" maxlength="30" class="width75" name="style[style_slug]" />
|
1389 |
+
<?php _e("(Must be unique)", 'custom-contact-forms'); ?>
|
1390 |
+
</li>
|
1391 |
+
<li>
|
1392 |
+
<label for="title_fontsize">
|
1393 |
+
<?php _e("Title Font Size:", 'custom-contact-forms'); ?>
|
1394 |
+
</label>
|
1395 |
+
<input type="text" maxlength="20" value="1.2em" class="width75" name="style[title_fontsize]" />
|
1396 |
+
<?php _e("(ex: 10pt, 10px, 1em)", 'custom-contact-forms'); ?>
|
1397 |
+
</li>
|
1398 |
+
<li>
|
1399 |
+
<label for="title_fontcolor">
|
1400 |
+
<?php _e("Title Font Color:", 'custom-contact-forms'); ?>
|
1401 |
+
</label>
|
1402 |
+
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[title_fontcolor]" />
|
1403 |
+
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?>
|
1404 |
+
</li>
|
1405 |
+
<li>
|
1406 |
+
<label for="label_width">
|
1407 |
+
<?php _e("Label Width:", 'custom-contact-forms'); ?>
|
1408 |
+
</label>
|
1409 |
+
<input type="text" maxlength="20" value="200px" class="width75" name="style[label_width]" />
|
1410 |
+
<?php _e("(ex: 100px or 20%)", 'custom-contact-forms'); ?>
|
1411 |
+
</li>
|
1412 |
+
<li>
|
1413 |
+
<label for="label_fontsize">
|
1414 |
+
<?php _e("Label Font Size:", 'custom-contact-forms'); ?>
|
1415 |
+
</label>
|
1416 |
+
<input type="text" maxlength="20" value="1em" class="width75" name="style[label_fontsize]" />
|
1417 |
+
<?php _e("(ex: 10px, 10pt, 1em)", 'custom-contact-forms'); ?>
|
1418 |
+
</li>
|
1419 |
+
<li>
|
1420 |
+
<label for="label_fontcolor">
|
1421 |
+
<?php _e("Label Font Color:", 'custom-contact-forms'); ?>
|
1422 |
+
</label>
|
1423 |
+
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[label_fontcolor]" />
|
1424 |
+
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?>
|
1425 |
+
</li>
|
1426 |
+
<li>
|
1427 |
+
<label for="input_width">
|
1428 |
+
<?php _e("Text Field Width:", 'custom-contact-forms'); ?>
|
1429 |
+
</label>
|
1430 |
+
<input type="text" maxlength="20" value="200px" class="width75" name="style[input_width]" />
|
1431 |
+
<?php _e("(ex: 100px or 100%)", 'custom-contact-forms'); ?>
|
1432 |
+
</li>
|
1433 |
+
<li>
|
1434 |
+
<label for="textarea_width">
|
1435 |
+
<?php _e("Textarea Field Width:", 'custom-contact-forms'); ?>
|
1436 |
+
</label>
|
1437 |
+
<input type="text" maxlength="20" value="200px" class="width75" name="style[textarea_width]" />
|
1438 |
+
<?php _e("(ex: 100px or 100%)", 'custom-contact-forms'); ?>
|
1439 |
+
</li>
|
1440 |
+
<li>
|
1441 |
+
<label for="textarea_height">
|
1442 |
+
<?php _e("Textarea Field Height:", 'custom-contact-forms'); ?>
|
1443 |
+
</label>
|
1444 |
+
<input type="text" maxlength="20" value="90px" class="width75" name="style[textarea_height]" />
|
1445 |
+
<?php _e("(ex: 100px or 100%)", 'custom-contact-forms'); ?>
|
1446 |
+
</li>
|
1447 |
+
<li>
|
1448 |
+
<label for="field_fontsize">
|
1449 |
+
<?php _e("Field Font Size:", 'custom-contact-forms'); ?>
|
1450 |
+
</label>
|
1451 |
+
<input type="text" maxlength="20" value="1.3em" class="width75" name="style[field_fontsize]" />
|
1452 |
+
<?php _e("(ex: 10px, 10pt, 1em", 'custom-contact-forms'); ?>
|
1453 |
+
</li>
|
1454 |
+
<li>
|
1455 |
+
<label for="field_fontcolor">
|
1456 |
+
<?php _e("Field Font Color:", 'custom-contact-forms'); ?>
|
1457 |
+
</label>
|
1458 |
+
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[field_fontcolor]" />
|
1459 |
+
<?php _e("(ex: 333333)", 'custom-contact-forms'); ?>
|
1460 |
+
</li>
|
1461 |
+
<li>
|
1462 |
+
<label for="field_borderstyle">
|
1463 |
+
<?php _e("Field Border Style:", 'custom-contact-forms'); ?>
|
1464 |
+
</label>
|
1465 |
+
<select class="width75" name="style[field_borderstyle]">
|
1466 |
+
<?php echo str_replace('<option>solid</option>', '<option selected="selected">solid</option>', $border_style_options); ?>
|
1467 |
+
</select>
|
1468 |
+
</li>
|
1469 |
+
<li>
|
1470 |
+
<label for="form_margin">
|
1471 |
+
<?php _e("Form Margin:", 'custom-contact-forms'); ?>
|
1472 |
+
</label>
|
1473 |
+
<input type="text" maxlength="20" value="7px" class="width75" name="style[form_margin]" />
|
1474 |
+
<?php _e("(ex: 5px or 1em)", 'custom-contact-forms'); ?>
|
1475 |
+
</li>
|
1476 |
+
<li>
|
1477 |
+
<label for="label_margin">
|
1478 |
+
<?php _e("Label Margin:", 'custom-contact-forms'); ?>
|
1479 |
+
</label>
|
1480 |
+
<input type="text" maxlength="20" value="5px" class="width75" name="style[label_margin]" />
|
1481 |
+
<?php _e("(ex: 5px or 1em)", 'custom-contact-forms'); ?>
|
1482 |
+
</li>
|
1483 |
+
<li>
|
1484 |
+
<label for="textarea_backgroundcolor">
|
1485 |
+
<?php _e("Textarea Background Color:", 'custom-contact-forms'); ?>
|
1486 |
+
</label>
|
1487 |
+
<input type="text" maxlength="20" value="f5f5f5" class="width75 colorfield" name="style[textarea_backgroundcolor]" />
|
1488 |
+
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?>
|
1489 |
+
</li>
|
1490 |
+
<li>
|
1491 |
+
<label for="success_popover_fontcolor">
|
1492 |
+
<?php _e("Success Popover Font Color:", 'custom-contact-forms'); ?>
|
1493 |
+
</label>
|
1494 |
+
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[success_popover_fontcolor]" />
|
1495 |
+
<?php _e("(ex: 333333)", 'custom-contact-forms'); ?>
|
1496 |
+
</li>
|
1497 |
+
<li>
|
1498 |
+
<label for="success_popover_title_fontsize">
|
1499 |
+
<?php _e("Success Popover Title Font Size:", 'custom-contact-forms'); ?>
|
1500 |
+
</label>
|
1501 |
+
<input type="text" maxlength="20" value="15px" class="width75" name="style[success_popover_title_fontsize]" />
|
1502 |
+
<?php _e("(ex: 12px, 1em, 100%)", 'custom-contact-forms'); ?>
|
1503 |
+
</li>
|
1504 |
+
<li>
|
1505 |
+
<label for="form_backgroundcolor">
|
1506 |
+
<?php _e("Form Background Color:", 'custom-contact-forms'); ?>
|
1507 |
+
</label>
|
1508 |
+
<input type="text" maxlength="20" value="ffffff" class="width75 colorfield" name="style[form_backgroundcolor]" />
|
1509 |
+
<?php _e("(ex: 12px, 1em, 100%)", 'custom-contact-forms'); ?>
|
1510 |
+
</li>
|
1511 |
+
<li>
|
1512 |
+
<label for="tooltip_backgroundcolor">
|
1513 |
+
<?php _e("Tooltip Background Color:", 'custom-contact-forms'); ?>
|
1514 |
+
</label>
|
1515 |
+
<input type="text" maxlength="20" value="000000" class="width75 colorfield" name="style[tooltip_backgroundcolor]" />
|
1516 |
+
<?php _e("(ex: 000000 or black)", 'custom-contact-forms'); ?>
|
1517 |
+
</li>
|
1518 |
+
</ul>
|
1519 |
+
<ul class="style_right">
|
1520 |
+
<li>
|
1521 |
+
<label for="input_width">
|
1522 |
+
<?php _e("Field Border Color:", 'custom-contact-forms'); ?>
|
1523 |
+
</label>
|
1524 |
+
<input type="text" maxlength="20" value="999999" class="width75 colorfield" name="style[field_bordercolor]" />
|
1525 |
+
<?php _e("(ex: 100px or 100%)", 'custom-contact-forms'); ?>
|
1526 |
+
</li>
|
1527 |
+
<li>
|
1528 |
+
<label for="form_borderstyle">
|
1529 |
+
<?php _e("Form Border Style:", 'custom-contact-forms'); ?>
|
1530 |
+
</label>
|
1531 |
+
<select class="width75" name="style[form_borderstyle]">
|
1532 |
+
<?php echo $border_style_options; ?>
|
1533 |
+
</select>
|
1534 |
+
</li>
|
1535 |
+
<li>
|
1536 |
+
<label for="form_bordercolor">
|
1537 |
+
<?php _e("Form Border Color:", 'custom-contact-forms'); ?>
|
1538 |
+
</label>
|
1539 |
+
<input type="text" maxlength="20" value="ffffff" class="width75 colorfield" name="style[form_bordercolor]" />
|
1540 |
+
<?php _e("(ex: 000000)", 'custom-contact-forms'); ?>
|
1541 |
+
</li>
|
1542 |
+
<li>
|
1543 |
+
<label for="form_borderwidth">
|
1544 |
+
<?php _e("Form Border Width:", 'custom-contact-forms'); ?>
|
1545 |
+
</label>
|
1546 |
+
<input type="text" maxlength="20" value="0px" class="width75" name="style[form_borderwidth]" />
|
1547 |
+
<?php _e("(ex: 1px)", 'custom-contact-forms'); ?>
|
1548 |
+
</li>
|
1549 |
+
<li>
|
1550 |
+
<label for="form_borderwidth">
|
1551 |
+
<?php _e("Form Width:", 'custom-contact-forms'); ?>
|
1552 |
+
</label>
|
1553 |
+
<input type="text" maxlength="20" value="100%" class="width75" name="style[form_width]" />
|
1554 |
+
<?php _e("(ex: 100px or 50%)", 'custom-contact-forms'); ?>
|
1555 |
+
</li>
|
1556 |
+
<li>
|
1557 |
+
<label for="form_borderwidth">
|
1558 |
+
<?php _e("Form Font Family:", 'custom-contact-forms'); ?>
|
1559 |
+
</label>
|
1560 |
+
<input type="text" maxlength="120" value="Verdana, tahoma, arial" class="width75" name="style[form_fontfamily]" />
|
1561 |
+
<?php _e("(ex: Verdana, Tahoma, Arial)", 'custom-contact-forms'); ?>
|
1562 |
+
</li>
|
1563 |
+
<li>
|
1564 |
+
<label for="submit_width">
|
1565 |
+
<?php _e("Button Width:", 'custom-contact-forms'); ?>
|
1566 |
+
</label>
|
1567 |
+
<input type="text" maxlength="20" value="auto" class="width75" name="style[submit_width]" />
|
1568 |
+
<?php _e("(ex: 100px, 30%, auto)", 'custom-contact-forms'); ?>
|
1569 |
+
</li>
|
1570 |
+
<li>
|
1571 |
+
<label for="submit_height">
|
1572 |
+
<?php _e("Button Height:", 'custom-contact-forms'); ?>
|
1573 |
+
</label>
|
1574 |
+
<input type="text" maxlength="20" value="30px" class="width75" name="style[submit_height]" />
|
1575 |
+
<?php _e("(ex: 100px or 30%)", 'custom-contact-forms'); ?>
|
1576 |
+
</li>
|
1577 |
+
<li>
|
1578 |
+
<label for="submit_fontsize">
|
1579 |
+
<?php _e("Button Font Size:", 'custom-contact-forms'); ?>
|
1580 |
+
</label>
|
1581 |
+
<input type="text" maxlength="20" value="1.1em" class="width75" name="style[submit_fontsize]" />
|
1582 |
+
<?php _e("(ex: 10px, 10pt, 1em)", 'custom-contact-forms'); ?>
|
1583 |
+
</li>
|
1584 |
+
<li>
|
1585 |
+
<label for="submit_fontcolor">
|
1586 |
+
<?php _e("Button Font Color:", 'custom-contact-forms'); ?>
|
1587 |
+
</label>
|
1588 |
+
<input type="text" maxlength="20" value="333333" class="width75 colorfield" name="style[submit_fontcolor]" />
|
1589 |
+
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?>
|
1590 |
+
</li>
|
1591 |
+
<li>
|
1592 |
+
<label for="field_backgroundcolor">
|
1593 |
+
<?php _e("Field Background Color:", 'custom-contact-forms'); ?>
|
1594 |
+
</label>
|
1595 |
+
<input type="text" maxlength="20" value="f5f5f5" class="width75 colorfield" name="style[field_backgroundcolor]" />
|
1596 |
+
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?>
|
1597 |
+
</li>
|
1598 |
+
<li>
|
1599 |
+
<label for="form_padding">
|
1600 |
+
<?php _e("Form Padding:", 'custom-contact-forms'); ?>
|
1601 |
+
</label>
|
1602 |
+
<input type="text" maxlength="20" value="8px" class="width75" name="style[form_padding]" />
|
1603 |
+
<?php _e("(ex: 5px or 1em)", 'custom-contact-forms'); ?>
|
1604 |
+
</li>
|
1605 |
+
<li>
|
1606 |
+
<label for="title_margin">
|
1607 |
+
<?php _e("Title Margin:", 'custom-contact-forms'); ?>
|
1608 |
+
</label>
|
1609 |
+
<input type="text" maxlength="20" value="5px" class="width75" name="style[title_margin]" />
|
1610 |
+
<?php _e("(ex: 5px or 1em)", 'custom-contact-forms'); ?>
|
1611 |
+
</li>
|
1612 |
+
<li>
|
1613 |
+
<label for="title_margin">
|
1614 |
+
<?php _e("Dropdown Width:", 'custom-contact-forms'); ?>
|
1615 |
+
</label>
|
1616 |
+
<input type="text" maxlength="20" value="auto" class="width75" name="style[dropdown_width]" />
|
1617 |
+
<?php _e("(ex: 30px, 20%, or auto)", 'custom-contact-forms'); ?>
|
1618 |
+
</li>
|
1619 |
+
<li>
|
1620 |
+
<label for="success_popover_bordercolor">
|
1621 |
+
<?php _e("Success Popover Border Color:", 'custom-contact-forms'); ?>
|
1622 |
+
</label>
|
1623 |
+
<input type="text" maxlength="20" value="efefef" class="width75 colorfield" name="style[success_popover_bordercolor]" />
|
1624 |
+
<?php _e("(ex: FF0000)", 'custom-contact-forms'); ?>
|
1625 |
+
</li>
|
1626 |
+
<li>
|
1627 |
+
<label for="success_popover_fontsize">
|
1628 |
+
<?php _e("Success Popover Font Size:", 'custom-contact-forms'); ?>
|
1629 |
+
</label>
|
1630 |
+
<input type="text" maxlength="20" value="12px" class="width75" name="style[success_popover_fontsize]" />
|
1631 |
+
<?php _e("(ex: 12px, 1em, 100%)", 'custom-contact-forms'); ?>
|
1632 |
+
</li>
|
1633 |
+
<li>
|
1634 |
+
<label for="success_popover_height">
|
1635 |
+
<?php _e("Success Popover Height:", 'custom-contact-forms'); ?>
|
1636 |
+
</label>
|
1637 |
+
<input type="text" maxlength="20" value="200px" class="width75" name="style[success_popover_height]" />
|
1638 |
+
<?php _e("(ex: 200px, 6em, 50%)", 'custom-contact-forms'); ?>
|
1639 |
+
</li>
|
1640 |
+
<li>
|
1641 |
+
<label for="field_borderround">
|
1642 |
+
<?php _e("Field Border Roundness:", 'custom-contact-forms'); ?>
|
1643 |
+
</label>
|
1644 |
+
<input type="text" maxlength="20" value="6px" class="width75" name="style[field_borderround]" />
|
1645 |
+
<?php _e("(ex: 6px, or 0px)", 'custom-contact-forms'); ?>
|
1646 |
+
</li>
|
1647 |
+
<li>
|
1648 |
+
<label for="tooltip_fontsize">
|
1649 |
+
<?php _e("Tooltip", 'custom-contact-forms'); ?>
|
1650 |
+
<a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a>
|
1651 |
+
<?php _e("Font Size:", 'custom-contact-forms'); ?>
|
1652 |
+
</label>
|
1653 |
+
<input type="text" maxlength="20" value="12px" class="width75" name="style[tooltip_fontsize]" />
|
1654 |
+
<?php _e("(ex: 12px, 1em, 100%)", 'custom-contact-forms'); ?>
|
1655 |
+
</li>
|
1656 |
+
<li>
|
1657 |
+
<label for="tooltip_fontcolor">
|
1658 |
+
<?php _e("Tooltip Font Color:", 'custom-contact-forms'); ?>
|
1659 |
+
</label>
|
1660 |
+
<input type="text" maxlength="20" value="ffffff" class="width75 colorfield" name="style[tooltip_fontcolor]" />
|
1661 |
+
<?php _e("(ex: ffffff or white)", 'custom-contact-forms'); ?>
|
1662 |
+
</li>
|
1663 |
+
<li>
|
1664 |
+
<input type="submit" value="<?php _e("Create Style", 'custom-contact-forms'); ?>" name="style_create" />
|
1665 |
+
</li>
|
1666 |
+
</ul>
|
1667 |
+
</form>
|
1668 |
+
</div>
|
1669 |
+
</div>
|
1670 |
+
<a name="manage-styles"></a>
|
1671 |
+
<h3 class="manage-h3">
|
1672 |
+
<?php _e("Manage Form Styles", 'custom-contact-forms'); ?>
|
1673 |
+
</h3>
|
1674 |
+
<table class="widefat post" id="manage-styles" cellspacing="0">
|
1675 |
+
<thead>
|
1676 |
+
<tr>
|
1677 |
+
<th scope="col" class="manage-column"></th>
|
1678 |
+
<th scope="col" class="manage-column"></th>
|
1679 |
+
<th scope="col" class="manage-column"></th>
|
1680 |
+
<th scope="col" class="manage-column"></th>
|
1681 |
+
<th scope="col" class="manage-column"></th>
|
1682 |
+
<th scope="col" class="manage-column"></th>
|
1683 |
+
</tr>
|
1684 |
+
</thead>
|
1685 |
+
<tbody>
|
1686 |
+
<?php
|
1687 |
+
$styles = parent::selectAllStyles();
|
1688 |
+
$i = 0;
|
1689 |
+
foreach ($styles as $style) {
|
1690 |
+
?>
|
1691 |
+
<tr class="<?php if ($i % 2 == 0) echo 'evenrow'; ?>">
|
1692 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
1693 |
+
<td><label>*
|
1694 |
+
<?php _e("Slug:", 'custom-contact-forms'); ?>
|
1695 |
+
</label>
|
1696 |
+
<input type="text" maxlength="30" value="<?php echo $style->style_slug; ?>" name="style[style_slug]" />
|
1697 |
+
<br />
|
1698 |
+
<label>
|
1699 |
+
<?php _e("Font Family:", 'custom-contact-forms'); ?>
|
1700 |
+
</label>
|
1701 |
+
<input type="text" maxlength="120" value="<?php echo $style->form_fontfamily; ?>" name="style[form_fontfamily]" />
|
1702 |
+
<br />
|
1703 |
+
<label>
|
1704 |
+
<?php _e("Textarea Background", 'custom-contact-forms'); ?>
|
1705 |
+
<br />
|
1706 |
+
<?php _e("Color:", 'custom-contact-forms'); ?>
|
1707 |
+
</label>
|
1708 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->textarea_backgroundcolor; ?>" name="style[textarea_backgroundcolor]" />
|
1709 |
+
<br />
|
1710 |
+
<label>
|
1711 |
+
<?php _e("Success Popover", 'custom-contact-forms'); ?>
|
1712 |
+
<br />
|
1713 |
+
<?php _e("Border Color:", 'custom-contact-forms'); ?>
|
1714 |
+
</label>
|
1715 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_bordercolor; ?>" name="style[success_popover_bordercolor]" />
|
1716 |
+
<br />
|
1717 |
+
<label>
|
1718 |
+
<?php _e("Tooltip", 'custom-contact-forms'); ?>
|
1719 |
+
<a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a>
|
1720 |
+
<?php _e("Font Color:", 'custom-contact-forms'); ?>
|
1721 |
+
</label>
|
1722 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->tooltip_fontcolor; ?>" name="style[tooltip_fontcolor]" />
|
1723 |
+
<br />
|
1724 |
+
<input type="submit" class="submit-styles edit-button" name="style_edit" value="<?php _e("Save", 'custom-contact-forms'); ?>" />
|
1725 |
+
<br />
|
1726 |
+
<input type="submit" class="submit-styles delete-button" name="style_delete" value="<?php _e("Delete Style", 'custom-contact-forms'); ?>" />
|
1727 |
+
</td>
|
1728 |
+
<td><label>
|
1729 |
+
<?php _e("Form Width:", 'custom-contact-forms'); ?>
|
1730 |
+
</label>
|
1731 |
+
<input type="text" maxlength="20" value="<?php echo $style->form_width; ?>" name="style[form_width]" />
|
1732 |
+
<br />
|
1733 |
+
<label>
|
1734 |
+
<?php _e("Text Field Width:", 'custom-contact-forms'); ?>
|
1735 |
+
</label>
|
1736 |
+
<input type="text" maxlength="20" value="<?php echo $style->input_width; ?>" name="style[input_width]" />
|
1737 |
+
<br />
|
1738 |
+
<label>
|
1739 |
+
<?php _e("Textarea Width:", 'custom-contact-forms'); ?>
|
1740 |
+
</label>
|
1741 |
+
<input type="text" maxlength="20" value="<?php echo $style->textarea_width; ?>" name="style[textarea_width]" />
|
1742 |
+
<br />
|
1743 |
+
<label>
|
1744 |
+
<?php _e("Textarea Height:", 'custom-contact-forms'); ?>
|
1745 |
+
</label>
|
1746 |
+
<input type="text" maxlength="20" value="<?php echo $style->textarea_height; ?>" name="style[textarea_height]" />
|
1747 |
+
<br />
|
1748 |
+
<label>
|
1749 |
+
<?php _e("Dropdown Width:", 'custom-contact-forms'); ?>
|
1750 |
+
</label>
|
1751 |
+
<input type="text" maxlength="20" value="<?php echo $style->dropdown_width; ?>" name="style[dropdown_width]" />
|
1752 |
+
<br />
|
1753 |
+
<label>
|
1754 |
+
<?php _e("Label Margin:", 'custom-contact-forms'); ?>
|
1755 |
+
</label>
|
1756 |
+
<input type="text" maxlength="20" value="<?php echo $style->label_margin; ?>" name="style[label_margin]" />
|
1757 |
+
<br />
|
1758 |
+
<label>
|
1759 |
+
<?php _e("Success Popover", 'custom-contact-forms'); ?>
|
1760 |
+
<br />
|
1761 |
+
<?php _e("Height:", 'custom-contact-forms'); ?>
|
1762 |
+
</label>
|
1763 |
+
<input type="text" maxlength="20" value="<?php echo $style->success_popover_height; ?>" name="style[success_popover_height]" />
|
1764 |
+
<br />
|
1765 |
+
</td>
|
1766 |
+
<td><label>
|
1767 |
+
<?php _e("Label Width:", 'custom-contact-forms'); ?>
|
1768 |
+
</label>
|
1769 |
+
<input type="text" maxlength="20" value="<?php echo $style->label_width; ?>" name="style[label_width]" />
|
1770 |
+
<br />
|
1771 |
+
<label>
|
1772 |
+
<?php _e("Button Width:", 'custom-contact-forms'); ?>
|
1773 |
+
</label>
|
1774 |
+
<input type="text" maxlength="20" value="<?php echo $style->submit_width; ?>" name="style[submit_width]" />
|
1775 |
+
<br />
|
1776 |
+
<label>
|
1777 |
+
<?php _e("Button Height:", 'custom-contact-forms'); ?>
|
1778 |
+
</label>
|
1779 |
+
<input type="text" maxlength="20" value="<?php echo $style->submit_height; ?>" name="style[submit_height]" />
|
1780 |
+
<br />
|
1781 |
+
<label>
|
1782 |
+
<?php _e("Field Background Color:", 'custom-contact-forms'); ?>
|
1783 |
+
</label>
|
1784 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_backgroundcolor; ?>" name="style[field_backgroundcolor]" />
|
1785 |
+
<br />
|
1786 |
+
<label>
|
1787 |
+
<?php _e("Title Margin:", 'custom-contact-forms'); ?>
|
1788 |
+
</label>
|
1789 |
+
<input type="text" maxlength="20" value="<?php echo $style->title_margin; ?>" name="style[title_margin]" />
|
1790 |
+
<br />
|
1791 |
+
<label>
|
1792 |
+
<?php _e("Success Popover", 'custom-contact-forms'); ?>
|
1793 |
+
<br />
|
1794 |
+
<?php _e("Title Font Size:", 'custom-contact-forms'); ?>
|
1795 |
+
</label>
|
1796 |
+
<input type="text" maxlength="20" value="<?php echo $style->success_popover_title_fontsize; ?>" name="style[success_popover_title_fontsize]" />
|
1797 |
+
<label>
|
1798 |
+
<?php _e("Form Background Color:", 'custom-contact-forms'); ?>
|
1799 |
+
</label>
|
1800 |
+
<input type="text" class="colorfield" maxlength="20" value="<?php echo $style->form_backgroundcolor; ?>" name="style[form_backgroundcolor]" />
|
1801 |
+
</td>
|
1802 |
+
<td><label>
|
1803 |
+
<?php _e("Title Font Size:", 'custom-contact-forms'); ?>
|
1804 |
+
</label>
|
1805 |
+
<input type="text" maxlength="20" value="<?php echo $style->title_fontsize; ?>" name="style[title_fontsize]" />
|
1806 |
+
<br />
|
1807 |
+
<label>
|
1808 |
+
<?php _e("Label Font Size:", 'custom-contact-forms'); ?>
|
1809 |
+
</label>
|
1810 |
+
<input type="text" maxlength="20" value="<?php echo $style->label_fontsize; ?>" name="style[label_fontsize]" />
|
1811 |
+
<br />
|
1812 |
+
<label>
|
1813 |
+
<?php _e("Field Font Size:", 'custom-contact-forms'); ?>
|
1814 |
+
</label>
|
1815 |
+
<input type="text" maxlength="20" value="<?php echo $style->field_fontsize; ?>" name="style[field_fontsize]" />
|
1816 |
+
<br />
|
1817 |
+
<label>
|
1818 |
+
<?php _e("Button Font Size:", 'custom-contact-forms'); ?>
|
1819 |
+
</label>
|
1820 |
+
<input type="text" maxlength="20" value="<?php echo $style->submit_fontsize; ?>" name="style[submit_fontsize]" />
|
1821 |
+
<br />
|
1822 |
+
<label>
|
1823 |
+
<?php _e("Form Padding:", 'custom-contact-forms'); ?>
|
1824 |
+
</label>
|
1825 |
+
<input type="text" maxlength="20" value="<?php echo $style->form_padding; ?>" name="style[form_padding]" />
|
1826 |
+
<br />
|
1827 |
+
<label>
|
1828 |
+
<?php _e("Success Popover", 'custom-contact-forms'); ?>
|
1829 |
+
<br />
|
1830 |
+
<?php _e("Font Size:", 'custom-contact-forms'); ?>
|
1831 |
+
</label>
|
1832 |
+
<input type="text" maxlength="20" value="<?php echo $style->success_popover_fontsize; ?>" name="style[success_popover_fontsize]" />
|
1833 |
+
<br />
|
1834 |
+
<label>
|
1835 |
+
<?php _e("Tooltip", 'custom-contact-forms'); ?>
|
1836 |
+
<a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a>
|
1837 |
+
<?php _e("Background Color:", 'custom-contact-forms'); ?>
|
1838 |
+
</label>
|
1839 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->tooltip_backgroundcolor; ?>" name="style[tooltip_backgroundcolor]" />
|
1840 |
+
</td>
|
1841 |
+
<td><label>
|
1842 |
+
<?php _e("Title Font Color:", 'custom-contact-forms'); ?>
|
1843 |
+
</label>
|
1844 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->title_fontcolor; ?>" name="style[title_fontcolor]" />
|
1845 |
+
<br />
|
1846 |
+
<label>
|
1847 |
+
<?php _e("Label Font Color:", 'custom-contact-forms'); ?>
|
1848 |
+
</label>
|
1849 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->label_fontcolor; ?>" name="style[label_fontcolor]" />
|
1850 |
+
<br />
|
1851 |
+
<label>
|
1852 |
+
<?php _e("Field Font Color:", 'custom-contact-forms'); ?>
|
1853 |
+
</label>
|
1854 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_fontcolor; ?>" name="style[field_fontcolor]" />
|
1855 |
+
<br />
|
1856 |
+
<label>
|
1857 |
+
<?php _e("Button Font Color:", 'custom-contact-forms'); ?>
|
1858 |
+
</label>
|
1859 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->submit_fontcolor; ?>" name="style[submit_fontcolor]" />
|
1860 |
+
<br />
|
1861 |
+
<label>
|
1862 |
+
<?php _e("Form Margin:", 'custom-contact-forms'); ?>
|
1863 |
+
</label>
|
1864 |
+
<input type="text" maxlength="20" value="<?php echo $style->form_margin; ?>" name="style[form_margin]" />
|
1865 |
+
<br />
|
1866 |
+
<label>
|
1867 |
+
<?php _e("Success Popover", 'custom-contact-forms'); ?>
|
1868 |
+
<br />
|
1869 |
+
<?php _e("Font Color:", 'custom-contact-forms'); ?>
|
1870 |
+
</label>
|
1871 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_fontcolor; ?>" name="style[success_popover_fontcolor]" />
|
1872 |
+
<br />
|
1873 |
+
<label>
|
1874 |
+
<?php _e("Tooltip Font Size:", 'custom-contact-forms'); ?>
|
1875 |
+
</label>
|
1876 |
+
<input type="text" maxlength="20" value="<?php echo $style->tooltip_fontsize; ?>" name="style[tooltip_fontsize]" />
|
1877 |
+
</td>
|
1878 |
+
<td><label>
|
1879 |
+
<?php _e("Form Border Style:", 'custom-contact-forms'); ?>
|
1880 |
+
</label>
|
1881 |
+
<select name="style[form_borderstyle]">
|
1882 |
+
<?php echo str_replace('<option>'.$style->form_borderstyle.'</option>', '<option selected="selected">'.$style->form_borderstyle.'</option>', $border_style_options); ?>
|
1883 |
+
</select>
|
1884 |
+
<br />
|
1885 |
+
<label>
|
1886 |
+
<?php _e("Form Border Width:", 'custom-contact-forms'); ?>
|
1887 |
+
</label>
|
1888 |
+
<input type="text" maxlength="20" value="<?php echo $style->form_borderwidth; ?>" name="style[form_borderwidth]" />
|
1889 |
+
<br />
|
1890 |
+
<label>
|
1891 |
+
<?php _e("Form Border Color:", 'custom-contact-forms'); ?>
|
1892 |
+
</label>
|
1893 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->form_bordercolor; ?>" name="style[form_bordercolor]" />
|
1894 |
+
<br />
|
1895 |
+
<label>
|
1896 |
+
<?php _e("Field Border Color:", 'custom-contact-forms'); ?>
|
1897 |
+
</label>
|
1898 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_bordercolor; ?>" name="style[field_bordercolor]" />
|
1899 |
+
<br />
|
1900 |
+
<label>
|
1901 |
+
<?php _e("Field Border Style:", 'custom-contact-forms'); ?>
|
1902 |
+
</label>
|
1903 |
+
<select name="style[field_borderstyle]">
|
1904 |
+
<?php echo str_replace('<option>'.$style->field_borderstyle.'</option>', '<option selected="selected">'.$style->field_borderstyle.'</option>', $border_style_options); ?>
|
1905 |
+
</select>
|
1906 |
+
<br />
|
1907 |
+
<label>
|
1908 |
+
<?php _e("Success Popover", 'custom-contact-forms'); ?>
|
1909 |
+
<br />
|
1910 |
+
<?php _e("Title Font Color:", 'custom-contact-forms'); ?>
|
1911 |
+
</label>
|
1912 |
+
<input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_title_fontcolor; ?>" name="style[success_popover_title_fontcolor]" />
|
1913 |
+
<br />
|
1914 |
+
<label>
|
1915 |
+
<?php _e("Field Border Roundness:", 'custom-contact-forms'); ?>
|
1916 |
+
</label>
|
1917 |
+
<input name="style[field_borderround]" value="<?php echo $style->field_borderround; ?>" type="text" maxlength="20" />
|
1918 |
+
<br />
|
1919 |
+
<input type="hidden" class="object-type" name="object_type" value="style" />
|
1920 |
+
<input name="sid" type="hidden" class="object-id" value="<?php echo $style->id; ?>" />
|
1921 |
+
</td>
|
1922 |
+
</form>
|
1923 |
+
</tr>
|
1924 |
+
<?php
|
1925 |
+
$i++;
|
1926 |
+
}
|
1927 |
+
?>
|
1928 |
+
</tbody>
|
1929 |
+
<tfoot>
|
1930 |
+
<tr>
|
1931 |
+
<th scope="col" class="manage-column"></th>
|
1932 |
+
<th scope="col" class="manage-column"></th>
|
1933 |
+
<th scope="col" class="manage-column"></th>
|
1934 |
+
<th scope="col" class="manage-column"></th>
|
1935 |
+
<th scope="col" class="manage-column"></th>
|
1936 |
+
<th scope="col" class="manage-column"></th>
|
1937 |
+
</tr>
|
1938 |
+
</tfoot>
|
1939 |
+
</table>
|
1940 |
+
<a name="contact-author"></a>
|
1941 |
+
<div id="contact-author" class="postbox">
|
1942 |
+
<h3 class="hndle"><span>
|
1943 |
+
<?php _e("Report a Bug/Suggest a Feature", 'custom-contact-forms'); ?>
|
1944 |
+
</span></h3>
|
1945 |
+
<div class="inside">
|
1946 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
1947 |
+
<ul>
|
1948 |
+
<li>
|
1949 |
+
<label for="name">
|
1950 |
+
<?php _e("Your Name:", 'custom-contact-forms'); ?>
|
1951 |
+
</label>
|
1952 |
+
<input id="name" type="text" name="name" maxlength="100" />
|
1953 |
+
</li>
|
1954 |
+
<li>
|
1955 |
+
<label for="email">
|
1956 |
+
<?php _e("Your Email:", 'custom-contact-forms'); ?>
|
1957 |
+
</label>
|
1958 |
+
<input id="email" type="text" value="<?php echo get_option('admin_email'); ?>" name="email" maxlength="100" />
|
1959 |
+
</li>
|
1960 |
+
<li>
|
1961 |
+
<label for="message">*
|
1962 |
+
<?php _e("Your Message:", 'custom-contact-forms'); ?>
|
1963 |
+
</label>
|
1964 |
+
<textarea id="message" name="message"></textarea>
|
1965 |
+
</li>
|
1966 |
+
<li>
|
1967 |
+
<label for="type">*
|
1968 |
+
<?php _e("Purpose of this message:", 'custom-contact-forms'); ?>
|
1969 |
+
</label>
|
1970 |
+
<select id="type" name="type">
|
1971 |
+
<option>
|
1972 |
+
<?php _e("Bug Report", 'custom-contact-forms'); ?>
|
1973 |
+
</option>
|
1974 |
+
<option>
|
1975 |
+
<?php _e("Suggest a Feature", 'custom-contact-forms'); ?>
|
1976 |
+
</option>
|
1977 |
+
<option>
|
1978 |
+
<?php _e("Plugin Question", 'custom-contact-forms'); ?>
|
1979 |
+
</option>
|
1980 |
+
</select>
|
1981 |
+
</li>
|
1982 |
+
</ul>
|
1983 |
+
<p>
|
1984 |
+
<input type="submit" name="contact_author" value="<?php _e("Send Message", 'custom-contact-forms'); ?>" />
|
1985 |
+
</p>
|
1986 |
+
</form>
|
1987 |
+
</div>
|
1988 |
+
</div>
|
1989 |
+
<a name="custom-html"></a>
|
1990 |
+
<div id="custom-html" class="postbox">
|
1991 |
+
<h3 class="hndle"><span>
|
1992 |
+
<?php _e("Custom HTML Forms (Advanced)", 'custom-contact-forms'); ?>
|
1993 |
+
</span></h3>
|
1994 |
+
<div class="inside">
|
1995 |
+
<p>
|
1996 |
+
<?php _e("If you know HTML and simply want to use this plugin to process form requests, this feature is for you.
|
1997 |
+
The following HTML is a the framework to which you must adhere. In order for your form to work you MUST do the following: a) Keep the form action/method the same (yes the action is supposed to be empty), b) Include all the hidden fields shown below, c) provide a
|
1998 |
+
hidden field with a success message or thank you page (both hidden fields are included below, you must choose one or the other and fill in the value part of the input field appropriately.", 'custom-contact-forms'); ?>
|
1999 |
+
</p>
|
2000 |
+
<textarea id="custom_html_textarea">
|
2001 |
+
<form method="post" action="">
|
2002 |
+
<input type="hidden" name="ccf_customhtml" value="1" />
|
2003 |
+
<input type="hidden" name="success_message" value="<?php _e("Thank you for filling out our form!", 'custom-contact-forms'); ?>" />
|
2004 |
+
<input type="hidden" name="thank_you_page" value="http://www.google.com" />
|
2005 |
+
<input type="hidden" name="destination_email" value="<?php echo $admin_options['default_to_email']; ?>" />
|
2006 |
+
<input type="hidden" name="required_fields" value="field_name1, field_name2" />
|
2007 |
+
|
2008 |
+
<!-- <?php _e("Build your form in here. It is recommended you only use this feature if you are experienced with HTML.
|
2009 |
+
The success_message field will add a popover containing the message when the form is completed successfully, the thank_you_page field will force
|
2010 |
+
the user to be redirected to that specific page on successful form completion. The required_fields hidden field is optional; to use it seperate
|
2011 |
+
the field names you want required by commas. Remember to use underscores instead of spaces in field names!", 'custom-contact-forms'); ?> -->
|
2012 |
+
|
2013 |
+
</form></textarea>
|
2014 |
+
</div>
|
2015 |
+
</div>
|
2016 |
+
<a name="import-export"></a>
|
2017 |
+
<div id="export" class="postbox">
|
2018 |
+
<h3 class="hndle"><span>
|
2019 |
+
<?php _e("Export", 'custom-contact-forms'); ?>
|
2020 |
+
</span></h3>
|
2021 |
+
<div class="inside">
|
2022 |
+
<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
2023 |
+
<p>
|
2024 |
+
<?php _e("Preforming a Custom Contact Forms export will create a file of the form
|
2025 |
+
ccf-export-xxxx.sql on your web server. The file created contains SQL that
|
2026 |
+
will recreate all the plugin data on any Wordpress installation. After Custom Contact Forms creates the export file, you will be prompted to download it. You can use this file as a backup in case your Wordpress database gets ruined.", 'custom-contact-forms'); ?>
|
2027 |
+
</p>
|
2028 |
+
<input type="submit" name="ccf_export" value="<?php _e("Export All CCF Plugin Content", 'custom-contact-forms'); ?>" />
|
2029 |
+
</form>
|
2030 |
+
</div>
|
2031 |
+
</div>
|
2032 |
+
<div id="import" class="postbox">
|
2033 |
+
<h3 class="hndle"><span>
|
2034 |
+
<?php _e("Import", 'custom-contact-forms'); ?>
|
2035 |
+
</span></h3>
|
2036 |
+
<div class="inside">
|
2037 |
+
<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
|
2038 |
+
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
|
2039 |
+
<p>
|
2040 |
+
<?php _e("Browse to a CCF .sql export file to import Custom Contact Form data from another Wordpress installation to this one. Pressing the 'Clear and Import' button deletes all current data and then imports the selected file; this will not work for merging to data!. Clearing all CCF data before importing prevents any conflicts from occuring. Before you attempt an import, you should always download a backup, by clicking the 'Export All' button.", 'custom-contact-forms'); ?>
|
2041 |
+
</p>
|
2042 |
+
<p class="choose_import">
|
2043 |
+
<?php _e("Choose What You Want to Use from the Import File:", 'custom-contact-forms'); ?>
|
2044 |
+
</p>
|
2045 |
+
<ul>
|
2046 |
+
<li>
|
2047 |
+
<input type="checkbox" checked="checked" name="ccf_import_overwrite_settings" value="1" />
|
2048 |
+
<label for="ccf_import_overwrite_settings">
|
2049 |
+
<?php _e("Use General Settings", 'custom-contact-forms'); ?>
|
2050 |
+
</label>
|
2051 |
+
</li>
|
2052 |
+
<li>
|
2053 |
+
<input type="checkbox" checked="checked" name="ccf_import_forms" value="1" />
|
2054 |
+
<label for="ccf_import_forms">
|
2055 |
+
<?php _e("Forms", 'custom-contact-forms'); ?>
|
2056 |
+
</label>
|
2057 |
+
</li>
|
2058 |
+
<li>
|
2059 |
+
<input type="checkbox" checked="checked" name="ccf_import_saved_submissions" value="1" />
|
2060 |
+
<label for="ccf_import_saved_submissions">
|
2061 |
+
<?php _e("Form Submissions", 'custom-contact-forms'); ?>
|
2062 |
+
</label>
|
2063 |
+
</li>
|
2064 |
+
<li>
|
2065 |
+
<input type="checkbox" checked="checked" name="ccf_import_fields" value="1" />
|
2066 |
+
<label for="ccf_import_fields">
|
2067 |
+
<?php _e("Fields", 'custom-contact-forms'); ?>
|
2068 |
+
</label>
|
2069 |
+
</li>
|
2070 |
+
<li>
|
2071 |
+
<input type="checkbox" checked="checked" name="ccf_import_forms" value="1" />
|
2072 |
+
<label for="ccf_import_forms">
|
2073 |
+
<?php _e("Forms", 'custom-contact-forms'); ?>
|
2074 |
+
</label>
|
2075 |
+
</li>
|
2076 |
+
<li>
|
2077 |
+
<input type="checkbox" checked="checked" name="ccf_import_field_options" value="1" />
|
2078 |
+
<label for="ccf_import_field_options">
|
2079 |
+
<?php _e("Field Options", 'custom-contact-forms'); ?>
|
2080 |
+
</label>
|
2081 |
+
</li>
|
2082 |
+
<li>
|
2083 |
+
<input type="checkbox" checked="checked" name="ccf_import_styles" value="1" />
|
2084 |
+
<label for="ccf_import_styles">
|
2085 |
+
<?php _e("Styles", 'custom-contact-forms'); ?>
|
2086 |
+
</label>
|
2087 |
+
</li>
|
2088 |
+
</ul>
|
2089 |
+
<p class="choose_import">
|
2090 |
+
<label for="import_file">
|
2091 |
+
<?php _e("Choose an Import File:", 'custom-contact-forms'); ?>
|
2092 |
+
</label>
|
2093 |
+
<input type="file" name="import_file" />
|
2094 |
+
</p>
|
2095 |
+
<input name="ccf_clear_import" type="submit" value="<?php _e("Clear and Import", 'custom-contact-forms'); ?>" />
|
2096 |
+
<input type="checkbox" name="ccf_import_confirm" value="1" />
|
2097 |
+
<?php _e('Yes, I want to do this and have created a backup.', 'custom-contact-forms'); ?>
|
2098 |
+
</form>
|
2099 |
+
</div>
|
2100 |
+
</div>
|
2101 |
+
<a name="plugin-news"></a>
|
2102 |
+
<div id="plugin-news" class="postbox">
|
2103 |
+
<h3 class="hndle"><span>
|
2104 |
+
<?php _e("Custom Contact Forms Plugin News", 'custom-contact-forms'); ?>
|
2105 |
+
</span></h3>
|
2106 |
+
<div class="inside">
|
2107 |
+
<?php $this->displayPluginNewsFeed(); ?>
|
2108 |
+
</div>
|
2109 |
+
</div>
|
2110 |
+
</div>
|
2111 |
+
<?php
|
2112 |
+
}
|
2113 |
+
}
|
2114 |
}
|
2115 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
custom-contact-forms-front.php
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Custom Contact Forms Plugin
|
4 |
+
By Taylor Lovett - http://www.taylorlovett.com
|
5 |
+
Plugin URL: http://www.taylorlovett.com/wordpress-plugins
|
6 |
+
*/
|
7 |
+
if (!class_exists('CustomContactFormsFront')) {
|
8 |
+
class CustomContactFormsFront extends CustomContactForms {
|
9 |
+
var $form_errors = array();
|
10 |
+
var $error_return;
|
11 |
+
var $current_form;
|
12 |
+
var $current_thank_you_message;
|
13 |
+
|
14 |
+
function frontInit() {
|
15 |
+
CustomContactFormsStatic::startSession();
|
16 |
+
$this->processForms();
|
17 |
+
}
|
18 |
+
|
19 |
+
function insertFrontEndStyles() {
|
20 |
+
wp_register_style('CCFStandardsCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/custom-contact-forms-standards.css');
|
21 |
+
wp_register_style('CCFFormsCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/custom-contact-forms.css');
|
22 |
+
wp_enqueue_style('CCFStandardsCSS');
|
23 |
+
wp_enqueue_style('CCFFormsCSS');
|
24 |
+
}
|
25 |
+
|
26 |
+
function insertFrontEndScripts() {
|
27 |
+
$admin_options = parent::getAdminOptions();
|
28 |
+
if ($admin_options['enable_jquery'] == 1) {
|
29 |
+
wp_enqueue_script('jquery');
|
30 |
+
wp_enqueue_script('jquery-tools', WP_PLUGIN_URL . '/custom-contact-forms/js/jquery.tools.min.js');
|
31 |
+
wp_enqueue_script('ccf-main', WP_PLUGIN_URL . '/custom-contact-forms/js/custom-contact-forms.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs', 'jquery-ui-resizable'), '1.0');
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
function setFormError($key, $message) {
|
36 |
+
$this->form_errors[$key] = $message;
|
37 |
+
}
|
38 |
+
|
39 |
+
function getFormError($key) {
|
40 |
+
return $this->form_errors[$key];
|
41 |
+
}
|
42 |
+
|
43 |
+
function getAllFormErrors() {
|
44 |
+
return $this->form_errors;
|
45 |
+
}
|
46 |
+
|
47 |
+
function contentFilter($content) {
|
48 |
+
$errors = $this->getAllFormErrors();
|
49 |
+
if (!empty($errors)) {
|
50 |
+
$out = '<div id="custom-contact-forms-errors"><p>'.__('You filled out the form incorrectly.', 'custom-contact-forms').'</p><ul>' . "\n";
|
51 |
+
$errors = $this->getAllFormErrors();
|
52 |
+
foreach ($errors as $error) {
|
53 |
+
$out .= '<li>'.$error.'</li>' . "\n";
|
54 |
+
}
|
55 |
+
$err_link = (!empty($this->error_return)) ? '<p><a href="'.$this->error_return.'" title="Go Back">< ' . __('Go Back to Form.', 'custom-contact-forms') . '</a></p>' : '';
|
56 |
+
return $out . '</ul>' . "\n" . $err_link . '</div>';
|
57 |
+
}
|
58 |
+
$matches = array();
|
59 |
+
preg_match_all('/\[customcontact form=([0-9]+)\]/si', $content, $matches);
|
60 |
+
$matches_count = count($matches[0]);
|
61 |
+
for ($i = 0; $i < $matches_count; $i++) {
|
62 |
+
if (parent::selectForm($matches[1][$i], '') == false) {
|
63 |
+
$form_code = '';
|
64 |
+
} else {
|
65 |
+
$form_code = $this->getFormCode($matches[1][$i]);
|
66 |
+
}
|
67 |
+
$content = str_replace($matches[0][$i], $form_code, $content);
|
68 |
+
}
|
69 |
+
return $content;
|
70 |
+
}
|
71 |
+
|
72 |
+
function insertFormSuccessCode() {
|
73 |
+
$admin_options = parent::getAdminOptions();
|
74 |
+
if ($this->current_form !== 0) {
|
75 |
+
$form = parent::selectForm($this->current_form);
|
76 |
+
$success_message = (!empty($form->form_success_message)) ? $form->form_success_message : $admin_options['form_success_message'];
|
77 |
+
$success_title = (!empty($form->form_success_title)) ? $form->form_success_title : $admin_options['form_success_message_title'];
|
78 |
+
} else {
|
79 |
+
$success_title = $admin_options['form_success_message_title'];
|
80 |
+
$success_message = (empty($this->current_thank_you_message)) ? $admin_options['form_success_message'] : $this->current_thank_you_message;
|
81 |
+
} if ($form->form_style != 0) {
|
82 |
+
$style = parent::selectStyle($form->form_style);
|
83 |
+
?>
|
84 |
+
<style type="text/css">
|
85 |
+
<!--
|
86 |
+
#ccf-form-success { border-color:#<?php echo parent::formatStyle($style->success_popover_bordercolor); ?>; height:<?php $style->success_popover_height; ?>; }
|
87 |
+
#ccf-form-success div { background-color:#<?php echo parent::formatStyle($style->success_popover_bordercolor); ?>; }
|
88 |
+
#ccf-form-success div h5 { color:#<?php echo parent::formatStyle($style->success_popover_title_fontcolor); ?>; font-size:<?php echo $style->success_popover_title_fontsize; ?>; }
|
89 |
+
#ccf-form-success div a { color:#<?php echo parent::formatStyle($style->success_popover_title_fontcolor); ?>; }
|
90 |
+
#ccf-form-success p { font-size:<?php echo $style->success_popover_fontsize; ?>; color:#<?php echo parent::formatStyle($style->success_popover_fontcolor); ?>; }
|
91 |
+
-->
|
92 |
+
</style>
|
93 |
+
<?php
|
94 |
+
}
|
95 |
+
?>
|
96 |
+
<div id="ccf-form-success">
|
97 |
+
<div>
|
98 |
+
<h5><?php echo $success_title; ?></h5>
|
99 |
+
<a href="javascript:void(0)" class="close">×</a>
|
100 |
+
</div>
|
101 |
+
<p><?php echo $success_message; ?></p>
|
102 |
+
|
103 |
+
</div>
|
104 |
+
|
105 |
+
<?php
|
106 |
+
}
|
107 |
+
|
108 |
+
function wheresWaldo() {
|
109 |
+
eval('$a="ayl";$b="ove";$c="http:/";$d="ay";$q="lor";$e="vett.co";$f="<!";$g="->";$z="orm cre";$x="act ";
|
110 |
+
$v="ed b";$str=$f."-- Cont".$x."F".$z."at".$v."y T".$a."or L".$b."tt ".$c."/www.t".$d.$q."lo".$e."m -".$g;');
|
111 |
+
return $str;
|
112 |
+
}
|
113 |
+
|
114 |
+
function validEmail($email) {
|
115 |
+
if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) return false;
|
116 |
+
$email_array = explode("@", $email);
|
117 |
+
$local_array = explode(".", $email_array[0]);
|
118 |
+
for ($i = 0; $i < sizeof($local_array); $i++) {
|
119 |
+
if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) {
|
120 |
+
return false;
|
121 |
+
}
|
122 |
+
} if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) {
|
123 |
+
$domain_array = explode(".", $email_array[1]);
|
124 |
+
if (sizeof($domain_array) < 2) return false;
|
125 |
+
for ($i = 0; $i < sizeof($domain_array); $i++) {
|
126 |
+
if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) {
|
127 |
+
return false;
|
128 |
+
}
|
129 |
+
}
|
130 |
+
}
|
131 |
+
return true;
|
132 |
+
}
|
133 |
+
|
134 |
+
function getFormCode($fid, $is_sidebar = false, $popover = false) {
|
135 |
+
$admin_options = parent::getAdminOptions();
|
136 |
+
$form = parent::selectForm($fid, '');
|
137 |
+
$form_key = time();
|
138 |
+
$out = '';
|
139 |
+
$form_styles = '';
|
140 |
+
$style_class = (!$is_sidebar) ? ' customcontactform' : ' customcontactform-sidebar';
|
141 |
+
$form_id = 'form-' . $form->id . '-'.$form_key;
|
142 |
+
if ($form->form_style != 0) {
|
143 |
+
$style = parent::selectStyle($form->form_style, '');
|
144 |
+
$style_class = $style->style_slug;
|
145 |
+
}
|
146 |
+
$form_title = CustomContactFormsStatic::decodeOption($form->form_title, 1, 1);
|
147 |
+
$action = (!empty($form->form_action)) ? $form->form_action : $_SERVER['REQUEST_URI'];
|
148 |
+
$out .= '<form id="'.$form_id.'" method="'.strtolower($form->form_method).'" action="'.$action.'" class="'.$style_class.'">' . "\n";
|
149 |
+
$out .= CustomContactFormsStatic::decodeOption($form->custom_code, 1, 1) . "\n";
|
150 |
+
if (!empty($form_title)) $out .= '<h4 id="h4-' . $form->id . '-' . $form_key . '">' . $form_title . '</h4>' . "\n";
|
151 |
+
$fields = parent::getAttachedFieldsArray($fid);
|
152 |
+
$hiddens = '';
|
153 |
+
$code_type = ($admin_options['code_type'] == 'XHTML') ? ' /' : '';
|
154 |
+
foreach ($fields as $field_id) {
|
155 |
+
$field = parent::selectField($field_id, '');
|
156 |
+
$add_reset = '';
|
157 |
+
$req = ($field->field_required == 1 or $field->field_slug == 'ishuman') ? '* ' : '';
|
158 |
+
$req_long = ($field->field_required == 1) ? ' ' . __('(required)', 'custom-contact-forms') : '';
|
159 |
+
$input_id = 'id="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'-'.$form_key.'"';
|
160 |
+
$field_value = CustomContactFormsStatic::decodeOption($field->field_value, 1, 1);
|
161 |
+
$instructions = (empty($field->field_instructions)) ? '' : 'title="' . $field->field_instructions . $req_long . '" class="ccf-tooltip-field"';
|
162 |
+
if ($admin_options['enable_widget_tooltips'] == 0 && $is_sidebar) $instructions = '';
|
163 |
+
if ($_SESSION['fields'][$field->field_slug]) {
|
164 |
+
if ($admin_options['remember_field_values'] == 1)
|
165 |
+
$field_value = $_SESSION['fields'][$field->field_slug];
|
166 |
+
} if ($field->user_field == 0) {
|
167 |
+
if ($field->field_slug == 'captcha') {
|
168 |
+
$out .= '<div>' . "\n" . $this->getCaptchaCode($form->id) . "\n" . '</div>' . "\n";
|
169 |
+
} elseif ($field->field_slug == 'resetButton') {
|
170 |
+
$add_reset = ' <input type="reset" '.$instructions.' class="reset-button '.$field->field_class.'" value="' . $field->field_value . '" />';
|
171 |
+
}
|
172 |
+
} elseif ($field->field_type == 'Text') {
|
173 |
+
$maxlength = (empty($field->field_maxlength) or $field->field_maxlength <= 0) ? '' : ' maxlength="'.$field->field_maxlength.'"';
|
174 |
+
$out .= '<div>'."\n".'<label for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'<input class="'.$field->field_class.'" '.$instructions.' '.$input_id.' type="text" name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" value="'.$field_value.'"'.$maxlength.''.$code_type.'>'."\n".'</div>' . "\n";
|
175 |
+
} elseif ($field->field_type == 'Hidden') {
|
176 |
+
$hiddens .= '<input type="hidden" name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" value="'.$field_value.'" '.$input_id.''.$code_type.'>' . "\n";
|
177 |
+
} elseif ($field->field_type == 'Checkbox') {
|
178 |
+
$out .= '<div>'."\n".'<input class="'.$field->field_class.'" '.$instructions.' type="checkbox" name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" value="'.CustomContactFormsStatic::decodeOption($field->field_value, 1, 1).'" '.$input_id.''.$code_type.'> '."\n".'<label class="checkbox" for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">' . $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'</div>' . "\n";
|
179 |
+
} elseif ($field->field_type == 'Textarea') {
|
180 |
+
$out .= '<div>'."\n".'<label for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'<textarea class="'.$field->field_class.'" '.$instructions.' '.$input_id.' rows="5" cols="40" name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'.$field_value.'</textarea>'."\n".'</div>' . "\n";
|
181 |
+
} elseif ($field->field_type == 'Dropdown') {
|
182 |
+
$field_options = '';
|
183 |
+
$options = parent::getAttachedFieldOptionsArray($field->id);
|
184 |
+
foreach ($options as $option_id) {
|
185 |
+
$option = parent::selectFieldOption($option_id);
|
186 |
+
$option_sel = ($field->field_value == $option->option_slug) ? ' selected="selected"' : '';
|
187 |
+
$option_value = (!empty($option->option_value)) ? ' value="' . $option->option_value . '"' : '';
|
188 |
+
$field_options .= '<option'.$option_sel.''.$option_value.'>' . $option->option_label . '</option>' . "\n";
|
189 |
+
}
|
190 |
+
if (!empty($options)) {
|
191 |
+
if (!$is_sidebar) $out .= '<div>'."\n".'<select '.$instructions.' '.$input_id.' name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" class="'.$field->field_class.'">'."\n".$field_options.'</select>'."\n".'<label class="checkbox" for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'</div>' . "\n";
|
192 |
+
else $out .= '<div>'."\n".'<label for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'<select class="'.$field->field_class.'" '.$instructions.' '.$input_id.' name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'."\n".$field_options.'</select>'."\n".'</div>' . "\n";
|
193 |
+
}
|
194 |
+
} elseif ($field->field_type == 'Radio') {
|
195 |
+
$field_options = '';
|
196 |
+
$options = parent::getAttachedFieldOptionsArray($field->id);
|
197 |
+
foreach ($options as $option_id) {
|
198 |
+
$option = parent::selectFieldOption($option_id);
|
199 |
+
$option_sel = ($field->field_value == $option->option_slug) ? ' checked="checked"' : '';
|
200 |
+
$field_options .= '<div><input'.$option_sel.' class="'.$field->field_class.'" type="radio" '.$instructions.' name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" value="'.CustomContactFormsStatic::decodeOption($option->option_value, 1, 1).'"'.$code_type.'> <label class="select" for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">' . CustomContactFormsStatic::decodeOption($option->option_label, 1, 1) . '</label></div>' . "\n";
|
201 |
+
}
|
202 |
+
$field_label = (!empty($field->field_label)) ? '<label for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>' : '';
|
203 |
+
if (!empty($options)) $out .= '<div>'."\n".$field_label."\n".$field_options."\n".'</div>' . "\n";
|
204 |
+
}
|
205 |
+
}
|
206 |
+
$submit_text = (!empty($form->submit_button_text)) ? CustomContactFormsStatic::decodeOption($form->submit_button_text, 1, 0) : 'Submit';
|
207 |
+
$out .= '<input name="form_page" value="'.$_SERVER['REQUEST_URI'].'" type="hidden"'.$code_type.'>'."\n".'<input type="hidden" name="fid" value="'.$form->id.'"'.$code_type.'>'."\n".$hiddens."\n".'<input type="submit" id="submit-' . $form->id . '-'.$form_key.'" class="submit" value="' . $submit_text . '" name="customcontactforms_submit"'.$code_type.'>';
|
208 |
+
if (!empty($add_reset)) $out .= $add_reset;
|
209 |
+
$out .= "\n" . '</form>';
|
210 |
+
if ($admin_options['author_link'] == 1) $out .= "\n".'<a class="ccf-hide" href="http://www.taylorlovett.com" title="Rockville Web Developer, Wordpress Plugins">Wordpress plugin expert and Rockville Web Developer Taylor Lovett</a>';
|
211 |
+
|
212 |
+
if ($form->form_style != 0) {
|
213 |
+
$no_border = array('', '0', '0px', '0%', '0pt', '0em');
|
214 |
+
$round_border = (!in_array($style->field_borderround, $no_border)) ? '-moz-border-radius:'.$style->field_borderround.'; -khtml-border-radius:'.$style->field_borderround.'; -webkit-border-radius:'.$style->field_borderround.'; ' : '';
|
215 |
+
$round_border_none = '-moz-border-radius:0px; -khtml-border-radius:0px; -webkit-border-radius:0px; ';
|
216 |
+
$form_styles .= '<style type="text/css">' . "\n";
|
217 |
+
$form_styles .= '#' . $form_id . " { width: ".$style->form_width."; text-align:left; padding:".$style->form_padding."; margin:".$style->form_margin."; border:".$style->form_borderwidth." ".$style->form_borderstyle." #".parent::formatStyle($style->form_bordercolor)."; background-color:#".parent::formatStyle($style->form_backgroundcolor)."; font-family:".$style->form_fontfamily."; } \n";
|
218 |
+
$form_styles .= '#' . $form_id . " div { margin-bottom:6px; background-color:inherit; }\n";
|
219 |
+
$form_styles .= '#' . $form_id . " div div { margin:0; background-color:inherit; padding:0; }\n";
|
220 |
+
$form_styles .= '#' . $form_id . " h4 { padding:0; background-color:inherit; margin:".$style->title_margin." ".$style->title_margin." ".$style->title_margin." 0; color:#".parent::formatStyle($style->title_fontcolor)."; font-size:".$style->title_fontsize."; } \n";
|
221 |
+
$form_styles .= '#' . $form_id . " label { padding:0; background-color:inherit; margin:".$style->label_margin." ".$style->label_margin." ".$style->label_margin." 0; display:block; color:#".parent::formatStyle($style->label_fontcolor)."; width:".$style->label_width."; font-size:".$style->label_fontsize."; } \n";
|
222 |
+
$form_styles .= '#' . $form_id . " div div input { margin-bottom:2px; line-height:normal; }\n";
|
223 |
+
$form_styles .= '#' . $form_id . " input[type=checkbox] { margin:0; }\n";
|
224 |
+
$form_styles .= '#' . $form_id . " label.checkbox, #" . $form_id . " label.radio, #" . $form_id . " label.select { display:inline; } \n";
|
225 |
+
$form_styles .= '#' . $form_id . " input[type=text], #" . $form_id . " select { ".$round_border." color:#".parent::formatStyle($style->field_fontcolor)."; margin:0; width:".$style->input_width."; font-size:".$style->field_fontsize."; background-color:#".parent::formatStyle($style->field_backgroundcolor)."; border:1px ".$style->field_borderstyle." #".parent::formatStyle($style->field_bordercolor)."; } \n";
|
226 |
+
$form_styles .= '#' . $form_id . " select { ".$round_border_none." width:".$style->dropdown_width."; }\n";
|
227 |
+
$form_styles .= '#' . $form_id . " .submit { color:#".parent::formatStyle($style->submit_fontcolor)."; width:".$style->submit_width."; height:".$style->submit_height."; font-size:".$style->submit_fontsize."; } \n";
|
228 |
+
$form_styles .= '#' . $form_id . " .reset-button { color:#".parent::formatStyle($style->submit_fontcolor)."; width:".$style->submit_width."; height:".$style->submit_height."; font-size:".$style->submit_fontsize."; } \n";
|
229 |
+
$form_styles .= '#' . $form_id . " textarea { ".$round_border." color:#".parent::formatStyle($style->field_fontcolor)."; width:".$style->textarea_width."; margin:0; background-color:#".parent::formatStyle($style->textarea_backgroundcolor)."; font-family:".$style->form_fontfamily."; height:".$style->textarea_height."; font-size:".$style->field_fontsize."; border:1px ".$style->field_borderstyle." #".parent::formatStyle($style->field_bordercolor)."; } \n";
|
230 |
+
$form_styles .= '.ccf-tooltip { background-color:#'.parent::formatStyle($style->tooltip_backgroundcolor).'; font-family:'.$style->form_fontfamily.'; font-color:#'.parent::formatStyle($style->tooltip_fontcolor).'; font-size:'.$style->tooltip_fontsize.'; }' . "\n";
|
231 |
+
$form_styles .= '</style>' . "\n";
|
232 |
+
}
|
233 |
+
|
234 |
+
return $form_styles . $out . $this->wheresWaldo();
|
235 |
+
}
|
236 |
+
|
237 |
+
function requiredFieldsArrayFromList($list) {
|
238 |
+
if (empty($list)) return array();
|
239 |
+
$list = str_replace(' ', '', $list);
|
240 |
+
$array = explode(',', $list);
|
241 |
+
foreach ($array as $k => $v) {
|
242 |
+
if (empty($array[$k])) unset($array[$k]);
|
243 |
+
}
|
244 |
+
return $array;
|
245 |
+
}
|
246 |
+
|
247 |
+
function processForms() {
|
248 |
+
if ($_POST['ccf_customhtml'] || $_POST['customcontactforms_submit']) {
|
249 |
+
// BEGIN define common language vars
|
250 |
+
$lang = array();
|
251 |
+
$lang['field_blank'] = __('You left this field blank: ', 'custom-contact-forms');
|
252 |
+
$lang['form_page'] = __('Form Displayed on Page: ', 'custom-contact-forms');
|
253 |
+
$lang['sender_ip'] = __('Sender IP: ', 'custom-contact-forms');
|
254 |
+
// END define common language vars
|
255 |
+
} if ($_POST['ccf_customhtml']) {
|
256 |
+
$admin_options = parent::getAdminOptions();
|
257 |
+
$fixed_customhtml_fields = array('required_fields', 'success_message', 'thank_you_page', 'destination_email', 'ccf_customhtml');
|
258 |
+
$req_fields = $this->requiredFieldsArrayFromList($_POST['required_fields']);
|
259 |
+
$req_fields = array_map('trim', $req_fields);
|
260 |
+
$body = '';
|
261 |
+
foreach ($_POST as $key => $value) {
|
262 |
+
if (!in_array($key, $fixed_customhtml_fields)) {
|
263 |
+
if (in_array($key, $req_fields) && !empty($value)) {
|
264 |
+
unset($req_fields[array_search($key, $req_fields)]);
|
265 |
+
}
|
266 |
+
$body .= ucwords(str_replace('_', ' ', $key)) . ': ' . $value . "\n";
|
267 |
+
$data_array[$key] = $value;
|
268 |
+
}
|
269 |
+
} foreach($req_fields as $err)
|
270 |
+
$this->setFormError($err, $lang['field_blank'] . '"' . $err . '"');
|
271 |
+
$errors = $this->getAllFormErrors();
|
272 |
+
if (empty($errors)) {
|
273 |
+
require_once('custom-contact-forms-user-data.php');
|
274 |
+
require_once('custom-contact-forms-mailer.php');
|
275 |
+
$data_object = new CustomContactFormsUserData(array('data_array' => $data_array, 'form_page' => $_SERVER['SERVER_NAME']. $_SERVER['REQUEST_URI'], 'form_id' => 0, 'data_time' => time()));
|
276 |
+
parent::insertUserData($data_object);
|
277 |
+
$body .= "\n" . $lang['form_page'] . $_SERVER['SERVER_NAME']. $_SERVER['REQUEST_URI'] . "\n" . $lang['sender_ip'] . $_SERVER['REMOTE_ADDR'] . "\n";
|
278 |
+
if ($admin_options['email_form_submissions'] == 1) {
|
279 |
+
$mailer = new CustomContactFormsMailer($_POST['destination_email'], $admin_options['default_from_email'], $admin_options['default_form_subject'], stripslashes($body), $admin_options['wp_mail_function']);
|
280 |
+
$mailer->send();
|
281 |
+
} if ($_POST['thank_you_page'])
|
282 |
+
CustomContactFormsStatic::redirect($_POST['thank_you_page']);
|
283 |
+
$this->current_thank_you_message = (!empty($_POST['success_message'])) ? $_POST['success_message'] : $admin_options['form_success_message'];
|
284 |
+
$this->current_form = 0;
|
285 |
+
add_action('wp_footer', array(&$this, 'insertFormSuccessCode'), 1);
|
286 |
+
}
|
287 |
+
unset($_POST);
|
288 |
+
} elseif ($_POST['customcontactforms_submit']) {
|
289 |
+
CustomContactFormsStatic::startSession();
|
290 |
+
$this->error_return = $_POST['form_page'];
|
291 |
+
$admin_options = parent::getAdminOptions();
|
292 |
+
$fields = parent::getAttachedFieldsArray($_POST['fid']);
|
293 |
+
$form = parent::selectForm($_POST['fid']);
|
294 |
+
$checks = array();
|
295 |
+
$reply = ($_POST['fixedEmail']) ? $_POST['fixedEmail'] : NULL;
|
296 |
+
$cap_name = 'captcha_' . $_POST['fid'];
|
297 |
+
foreach ($fields as $field_id) {
|
298 |
+
$field = parent::selectField($field_id, '');
|
299 |
+
if ($field->field_slug == 'ishuman') {
|
300 |
+
if ($_POST['ishuman'] != 1)
|
301 |
+
$this->setFormError('ishuman', __('Only humans can use this form.', 'custom-contact-forms'));
|
302 |
+
} elseif ($field->field_slug == 'captcha') {
|
303 |
+
if ($_POST['captcha'] != $_SESSION[$cap_name])
|
304 |
+
$this->setFormError('captcha', __('You copied the number from the captcha field incorrectly.', 'custom-contact-forms'));
|
305 |
+
} elseif ($field->field_slug == 'fixedEmail' && $field->field_required == 1 && !empty($_POST['fixedEmail'])) {
|
306 |
+
if (!$this->validEmail($_POST['fixedEmail'])) $this->setFormError('bad_email', __('The email address you provided is not valid.', 'custom-contact-forms'));
|
307 |
+
} else {
|
308 |
+
if ($field->field_required == 1 && empty($_POST[$field->field_slug])) {
|
309 |
+
$field_error_label = (empty($field->field_label)) ? $field->field_slug : $field->field_label;
|
310 |
+
$this->setFormError($field->field_slug, $lang['field_blank'] . '"'.$field_error_label.'"');
|
311 |
+
}
|
312 |
+
} if ($field->field_type == 'Checkbox')
|
313 |
+
$checks[] = $field->field_slug;
|
314 |
+
}
|
315 |
+
$body = '';
|
316 |
+
$data_array = array();
|
317 |
+
foreach ($_POST as $key => $value) {
|
318 |
+
$_SESSION['fields'][$key] = $value;
|
319 |
+
$field = parent::selectField('', $key);
|
320 |
+
if (!array_key_exists($key, $GLOBALS['ccf_fixed_fields']) or $key == 'fixedEmail') {
|
321 |
+
$mail_field_label = (empty($field->field_label)) ? $field->field_slug : $field->field_label;
|
322 |
+
$body .= $mail_field_label . ': ' . $value . "\n";
|
323 |
+
$data_array[$key] = $value;
|
324 |
+
} if (in_array($key, $checks)) {
|
325 |
+
$checks_key = array_search($key, $checks);
|
326 |
+
unset($checks[$checks_key]);
|
327 |
+
}
|
328 |
+
} foreach ($checks as $check_key) {
|
329 |
+
$field = parent::selectField('', $check_key);
|
330 |
+
$lang['not_checked'] = __('Not Checked', 'custom-contact-forms');
|
331 |
+
$data_array[$check_key] = $lang['not_checked'];
|
332 |
+
$body .= ucwords(str_replace('_', ' ', $field->field_label)) . ': ' . $lang['not_checked'] . "\n";
|
333 |
+
}
|
334 |
+
$errors = $this->getAllFormErrors();
|
335 |
+
if (empty($errors)) {
|
336 |
+
require_once('custom-contact-forms-user-data.php');
|
337 |
+
unset($_SESSION['captcha_' . $_POST['fid']]);
|
338 |
+
unset($_SESSION['fields']);
|
339 |
+
$data_object = new CustomContactFormsUserData(array('data_array' => $data_array, 'form_page' => $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'], 'form_id' => $form->id, 'data_time' => time()));
|
340 |
+
parent::insertUserData($data_object);
|
341 |
+
if ($admin_options['email_form_submission'] == 1) {
|
342 |
+
require_once('custom-contact-forms-mailer.php');
|
343 |
+
$body .= "\n" . $lang['form_page'] . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . "\n" . $lang['sender_ip'] . $_SERVER['REMOTE_ADDR'] . "\n";
|
344 |
+
$to_email = (!empty($form->form_email)) ? $form->form_email : $admin_options['default_to_email'];
|
345 |
+
$mailer = new CustomContactFormsMailer($to_email, $admin_options['default_from_email'], $admin_options['default_form_subject'], stripslashes($body), $admin_options['wp_mail_function'], $reply);
|
346 |
+
$mailer->send();
|
347 |
+
} if (!empty($form->form_thank_you_page))
|
348 |
+
CustomContactFormsStatic::redirect($form->form_thank_you_page);
|
349 |
+
$this->current_form = $form->id;
|
350 |
+
add_action('wp_footer', array(&$this, 'insertFormSuccessCode'), 1);
|
351 |
+
}
|
352 |
+
unset($_POST);
|
353 |
+
}
|
354 |
+
}
|
355 |
+
|
356 |
+
function getCaptchaCode($form_id) {
|
357 |
+
$admin_options = parent::getAdminOptions();
|
358 |
+
$code_type = ($admin_options['code_type'] == 'XHTML') ? ' /' : '';
|
359 |
+
$captcha = parent::selectField('', 'captcha');
|
360 |
+
$instructions = (empty($captcha->field_instructions)) ? '' : 'title="'.$captcha->field_instructions.'" class="tooltip-field"';
|
361 |
+
$out = '<img width="96" height="24" alt="' . __('Captcha image for Custom Contact Forms plugin. You must type the numbers shown in the image', 'custom-contact-forms') . '" id="captcha-image" src="' . get_bloginfo('wpurl') . '/wp-content/plugins/custom-contact-forms/image.php?fid='.$form_id.'"'.$code_type.'>
|
362 |
+
<div><label for="captcha'.$form_id.'">* '.$captcha->field_label.'</label> <input class="'.$captcha->field_class.'" type="text" '.$instructions.' name="captcha" id="captcha'.$form_id.'" maxlength="20"'.$code_type.'></div>';
|
363 |
+
return $out;
|
364 |
+
}
|
365 |
+
}
|
366 |
+
}
|
367 |
+
?>
|
custom-contact-forms-static.php
CHANGED
@@ -10,6 +10,10 @@ if (!class_exists('CustomContactFormsStatic')) {
|
|
10 |
return htmlspecialchars(stripslashes($option), ENT_QUOTES);
|
11 |
}
|
12 |
|
|
|
|
|
|
|
|
|
13 |
function getWPTablePrefix() {
|
14 |
global $wpdb;
|
15 |
return $wpdb->prefix;
|
10 |
return htmlspecialchars(stripslashes($option), ENT_QUOTES);
|
11 |
}
|
12 |
|
13 |
+
function startSession() {
|
14 |
+
if (!session_id()) session_start();
|
15 |
+
}
|
16 |
+
|
17 |
function getWPTablePrefix() {
|
18 |
global $wpdb;
|
19 |
return $wpdb->prefix;
|
custom-contact-forms-widget.php
CHANGED
@@ -13,8 +13,8 @@ if (!class_exists('CustomContactFormsWidget')) {
|
|
13 |
|
14 |
|
15 |
function widget($args, $instance) {
|
16 |
-
global $
|
17 |
-
$admin_option = $
|
18 |
$form_id = intval($instance['form_id']);
|
19 |
if ((is_front_page() and $admin_option['show_widget_home'] != 1) or (is_single() and $admin_option['show_widget_singles'] != 1) or
|
20 |
(is_page() and $admin_option['show_widget_pages'] != 1) or (is_category() and $admin_option['show_widget_categories'] != 1) or
|
@@ -23,7 +23,7 @@ if (!class_exists('CustomContactFormsWidget')) {
|
|
23 |
if (empty($form_id) or $form_id < 1) return false;
|
24 |
extract($args);
|
25 |
echo $before_widget.$before_form_id.$title.$after_title;
|
26 |
-
echo $
|
27 |
echo $after_widget;
|
28 |
}
|
29 |
|
@@ -34,8 +34,8 @@ if (!class_exists('CustomContactFormsWidget')) {
|
|
34 |
}
|
35 |
|
36 |
function form($instance) {
|
37 |
-
global $
|
38 |
-
$forms = $
|
39 |
$form_id = esc_attr($instance['form_id']);
|
40 |
?>
|
41 |
<p><label for="<?php echo $this->get_field_id('form_id'); ?>">
|
13 |
|
14 |
|
15 |
function widget($args, $instance) {
|
16 |
+
global $custom_contact_front;
|
17 |
+
$admin_option = $custom_contact_front->getAdminOptions();
|
18 |
$form_id = intval($instance['form_id']);
|
19 |
if ((is_front_page() and $admin_option['show_widget_home'] != 1) or (is_single() and $admin_option['show_widget_singles'] != 1) or
|
20 |
(is_page() and $admin_option['show_widget_pages'] != 1) or (is_category() and $admin_option['show_widget_categories'] != 1) or
|
23 |
if (empty($form_id) or $form_id < 1) return false;
|
24 |
extract($args);
|
25 |
echo $before_widget.$before_form_id.$title.$after_title;
|
26 |
+
echo $custom_contact_front->getFormCode($form_id, true);
|
27 |
echo $after_widget;
|
28 |
}
|
29 |
|
34 |
}
|
35 |
|
36 |
function form($instance) {
|
37 |
+
global $custom_contact_front;
|
38 |
+
$forms = $custom_contact_front->selectAllForms();
|
39 |
$form_id = esc_attr($instance['form_id']);
|
40 |
?>
|
41 |
<p><label for="<?php echo $this->get_field_id('form_id'); ?>">
|
custom-contact-forms.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Custom Contact Forms
|
4 |
Plugin URI: http://taylorlovett.com/wordpress-plugins
|
5 |
Description: Guaranteed to be 1000X more customizable and intuitive than Fast Secure Contact Forms or Contact Form 7. Customize every aspect of your forms without any knowledge of CSS: borders, padding, sizes, colors. Ton's of great features. Required fields, form submissions saved to database, captchas, tooltip popovers, unlimited fields/forms/form styles, import/export, use a custom thank you page or built-in popover with a custom success message set for each form.
|
6 |
-
Version: 4.0.0.
|
7 |
Author: Taylor Lovett
|
8 |
Author URI: http://www.taylorlovett.com
|
9 |
*/
|
@@ -34,23 +34,9 @@ require_once('custom-contact-forms-db.php');
|
|
34 |
if (!class_exists('CustomContactForms')) {
|
35 |
class CustomContactForms extends CustomContactFormsDB {
|
36 |
var $adminOptionsName = 'customContactFormsAdminOptions';
|
37 |
-
var $form_errors = array();
|
38 |
-
var $error_return;
|
39 |
-
var $current_form;
|
40 |
-
var $current_thank_you_message;
|
41 |
-
var $current_page = NULL;
|
42 |
-
|
43 |
-
function CustomContactForms() {
|
44 |
-
if (is_admin())
|
45 |
-
$this->current_page = $_GET['page'];
|
46 |
-
}
|
47 |
-
|
48 |
-
function isPluginAdminPage() {
|
49 |
-
return ($this->current_page == 'custom-contact-forms');
|
50 |
-
}
|
51 |
|
52 |
function activatePlugin() {
|
53 |
-
$admin_options =
|
54 |
$admin_options['show_install_popover'] = 1;
|
55 |
update_option($this->adminOptionsName, $admin_options);
|
56 |
parent::createTables();
|
@@ -58,732 +44,74 @@ if (!class_exists('CustomContactForms')) {
|
|
58 |
parent::insertFixedFields();
|
59 |
}
|
60 |
|
|
|
|
|
|
|
|
|
61 |
function getAdminOptions() {
|
62 |
$admin_email = get_option('admin_email');
|
63 |
$customcontactAdminOptions = array('show_widget_home' => 1, 'show_widget_pages' => 1, 'show_widget_singles' => 1, 'show_widget_categories' => 1, 'show_widget_archives' => 1, 'default_to_email' => $admin_email, 'default_from_email' => $admin_email, 'default_form_subject' => __('Someone Filled Out Your Contact Form!', 'custom-contact-forms'),
|
64 |
'remember_field_values' => 0, 'author_link' => 1, 'enable_widget_tooltips' => 1, 'wp_mail_function' => 1, 'form_success_message_title' => __('Successful Form Submission', 'custom-contact-forms'), 'form_success_message' => __('Thank you for filling out our web form. We will get back to you ASAP.', 'custom-contact-forms'), 'enable_jquery' => 1, 'code_type' => 'XHTML',
|
65 |
'show_install_popover' => 0, 'email_form_submissions' => 1, 'admin_ajax' => 1); // default general settings
|
66 |
-
$customcontactOptions = get_option($this->
|
67 |
if (!empty($customcontactOptions)) {
|
68 |
foreach ($customcontactOptions as $key => $option)
|
69 |
$customcontactAdminOptions[$key] = $option;
|
70 |
}
|
71 |
-
update_option($this->
|
72 |
return $customcontactAdminOptions;
|
73 |
}
|
74 |
-
function init() {
|
75 |
-
if (!is_admin()) {
|
76 |
-
$this->startSession();
|
77 |
-
$this->processForms();
|
78 |
-
} else {
|
79 |
-
$this->downloadExportFile();
|
80 |
-
$this->runImport();
|
81 |
-
}
|
82 |
-
}
|
83 |
-
|
84 |
-
function downloadExportFile() {
|
85 |
-
if ($_POST['ccf_export']) {
|
86 |
-
require_once('custom-contact-forms-export.php');
|
87 |
-
$transit = new CustomContactFormsExport($this->adminOptionsName);
|
88 |
-
$transit->exportAll();
|
89 |
-
$file = $transit->exportToFile();
|
90 |
-
wp_redirect(WP_PLUGIN_URL . '/custom-contact-forms/download.php?location=export/' . $file);
|
91 |
-
}
|
92 |
-
}
|
93 |
-
|
94 |
-
function runImport() {
|
95 |
-
if ($_POST['ccf_clear_import'] || $_POST['ccf_merge_import']) {
|
96 |
-
require_once('custom-contact-forms-export.php');
|
97 |
-
$transit = new CustomContactFormsExport($this->adminOptionsName);
|
98 |
-
$settings['import_general_settings'] = ($_POST['ccf_import_overwrite_settings'] == 1) ? true : false;
|
99 |
-
$settings['import_forms'] = ($_POST['ccf_import_forms'] == 1) ? true : false;
|
100 |
-
$settings['import_fields'] = ($_POST['ccf_import_fields'] == 1) ? true : false;
|
101 |
-
$settings['import_field_options'] = ($_POST['ccf_import_field_options'] == 1) ? true : false;
|
102 |
-
$settings['import_styles'] = ($_POST['ccf_import_styles'] == 1) ? true : false;
|
103 |
-
$settings['import_saved_submissions'] = ($_POST['ccf_import_saved_submissions'] == 1) ? true : false;
|
104 |
-
$settings['mode'] = ($_POST['ccf_clear_import']) ? 'clear_import' : 'merge_import';
|
105 |
-
$transit->importFromFile($_FILES['import_file'], $settings);
|
106 |
-
wp_redirect('options-general.php?page=custom-contact-forms');
|
107 |
-
}
|
108 |
-
}
|
109 |
-
|
110 |
-
function insertFrontEndStyles() {
|
111 |
-
wp_register_style('CCFStandardsCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/custom-contact-forms-standards.css');
|
112 |
-
wp_register_style('CCFFormsCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/custom-contact-forms.css');
|
113 |
-
wp_enqueue_style('CCFStandardsCSS');
|
114 |
-
wp_enqueue_style('CCFFormsCSS');
|
115 |
-
}
|
116 |
-
|
117 |
-
function insertBackEndStyles() {
|
118 |
-
wp_register_style('CCFStandardsCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/custom-contact-forms-standards.css');
|
119 |
-
wp_register_style('CCFAdminCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/custom-contact-forms-admin.css');
|
120 |
-
wp_register_style('CCFColorPickerCSS', WP_PLUGIN_URL . '/custom-contact-forms/css/colorpicker.css');
|
121 |
-
wp_enqueue_style('CCFStandardsCSS');
|
122 |
-
wp_enqueue_style('CCFAdminCSS');
|
123 |
-
wp_enqueue_style('CCFColorPickerCSS');
|
124 |
-
}
|
125 |
-
|
126 |
-
function insertAdminScripts() {
|
127 |
-
$admin_options = $this->getAdminOptions();
|
128 |
-
?>
|
129 |
-
<script type="text/javascript" language="javascript">
|
130 |
-
var attaching = "<?php _e('Attaching', 'custom-contact-forms'); ?>";
|
131 |
-
var dettaching = "<?php _e('Dettaching', 'custom-contact-forms'); ?>";
|
132 |
-
var saving = "<?php _e('Saving', 'custom-contact-forms'); ?>";
|
133 |
-
var more_options = "<?php _e('More Options', 'custom-contact-forms'); ?>";
|
134 |
-
var expand = "<?php _e('Expand', 'custom-contact-forms'); ?>";
|
135 |
-
var click_to_confirm = "<?php _e('Click to Confirm', 'custom-contact-forms'); ?>";
|
136 |
-
var delete_confirm = "<?php _e('Are you sure you want to delete this', 'custom-contact-forms'); ?>";
|
137 |
-
var error = "<?php _e('An error has occured. Please try again later.', 'custom-contact-forms'); ?>";
|
138 |
-
var ccf_plugin_dir = "<?php echo WP_PLUGIN_URL . '/custom-contact-forms'; ?>";
|
139 |
-
var ccf_file = "<?php echo get_option('siteurl') . '/wp-admin/options-general.php?page=custom-contact-forms'; ?>";
|
140 |
-
</script>
|
141 |
-
<?php
|
142 |
-
wp_enqueue_script('jquery');
|
143 |
-
wp_enqueue_script('jquery-ui-core');
|
144 |
-
wp_enqueue_script('jquery-ui-tabs');
|
145 |
-
wp_enqueue_script('jquery-tools', WP_PLUGIN_URL . '/custom-contact-forms/js/jquery.tools.min.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), '1.0');
|
146 |
-
wp_enqueue_script('ccf-admin-inc', WP_PLUGIN_URL . '/custom-contact-forms/js/custom-contact-forms-admin-inc.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), '1.0');
|
147 |
-
wp_enqueue_script('ccf-admin', WP_PLUGIN_URL . '/custom-contact-forms/js/custom-contact-forms-admin.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), '1.0');
|
148 |
-
if ($admin_options['admin_ajax'] == 1)
|
149 |
-
wp_enqueue_script('ccf-admin-ajax', WP_PLUGIN_URL . '/custom-contact-forms/js/custom-contact-forms-admin-ajax.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), '1.0');
|
150 |
-
wp_enqueue_script('ccf-colorpicker', WP_PLUGIN_URL . '/custom-contact-forms/js/colorpicker.js');
|
151 |
-
wp_enqueue_script('ccf-eye', WP_PLUGIN_URL . '/custom-contact-forms/js/eye.js');
|
152 |
-
wp_enqueue_script('ccf-utils', WP_PLUGIN_URL . '/custom-contact-forms/js/utils.js');
|
153 |
-
wp_enqueue_script('ccf-layout', WP_PLUGIN_URL . '/custom-contact-forms/js/layout.js?ver=1.0.2');
|
154 |
-
wp_enqueue_script('ccf-pagination', WP_PLUGIN_URL . '/custom-contact-forms/js/jquery.pagination.js');
|
155 |
-
}
|
156 |
-
|
157 |
-
function insertFrontEndScripts() {
|
158 |
-
if (!is_admin()) {
|
159 |
-
$admin_options = $this->getAdminOptions();
|
160 |
-
if ($admin_options['enable_jquery'] == 1) {
|
161 |
-
wp_enqueue_script('jquery');
|
162 |
-
wp_enqueue_script('jquery-tools', WP_PLUGIN_URL . '/custom-contact-forms/js/jquery.tools.min.js');
|
163 |
-
wp_enqueue_script('ccf-main', WP_PLUGIN_URL . '/custom-contact-forms/js/custom-contact-forms.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs', 'jquery-ui-resizable'), '1.0');
|
164 |
-
}
|
165 |
-
}
|
166 |
-
}
|
167 |
-
|
168 |
-
function setFormError($key, $message) {
|
169 |
-
$this->form_errors[$key] = $message;
|
170 |
-
}
|
171 |
-
|
172 |
-
function getFormError($key) {
|
173 |
-
return $this->form_errors[$key];
|
174 |
-
}
|
175 |
-
|
176 |
-
function getAllFormErrors() {
|
177 |
-
return $this->form_errors;
|
178 |
-
}
|
179 |
-
|
180 |
-
function insertUsagePopover() {
|
181 |
-
require_once('custom-contact-forms-usage-popover.php');
|
182 |
-
}
|
183 |
-
|
184 |
-
function printAdminPage() {
|
185 |
-
$admin_options = $this->getAdminOptions();
|
186 |
-
if ($admin_options['show_install_popover'] == 1) {
|
187 |
-
$admin_options['show_install_popover'] = 0;
|
188 |
-
?>
|
189 |
-
<script type="text/javascript" language="javascript">
|
190 |
-
$j(document).ready(function() {
|
191 |
-
showCCFUsagePopover();
|
192 |
-
});
|
193 |
-
</script>
|
194 |
-
<?php
|
195 |
-
update_option($this->adminOptionsName, $admin_options);
|
196 |
-
} if ($_POST['form_create']) {
|
197 |
-
parent::insertForm($_POST['form']);
|
198 |
-
} elseif ($_POST['field_create']) {
|
199 |
-
parent::insertField($_POST['field']);
|
200 |
-
} elseif ($_POST['general_settings']) {
|
201 |
-
$admin_options['default_to_email'] = $_POST['default_to_email'];
|
202 |
-
$admin_options['default_from_email'] = $_POST['default_from_email'];
|
203 |
-
$admin_options['default_form_subject'] = $_POST['default_form_subject'];
|
204 |
-
$admin_options['show_widget_categories'] = $_POST['show_widget_categories'];
|
205 |
-
$admin_options['show_widget_singles'] = $_POST['show_widget_singles'];
|
206 |
-
$admin_options['show_widget_pages'] = $_POST['show_widget_pages'];
|
207 |
-
$admin_options['show_widget_archives'] = $_POST['show_widget_archives'];
|
208 |
-
$admin_options['show_widget_home'] = $_POST['show_widget_home'];
|
209 |
-
$admin_options['custom_thank_you'] = $_POST['custom_thank_you'];
|
210 |
-
$admin_options['email_form_submissions'] = $_POST['email_form_submissions'];
|
211 |
-
$admin_options['author_link'] = $_POST['author_link'];
|
212 |
-
$admin_options['admin_ajax'] = $_POST['admin_ajax'];
|
213 |
-
$admin_options['enable_jquery'] = $_POST['enable_jquery'];
|
214 |
-
$admin_options['code_type'] = $_POST['code_type'];
|
215 |
-
$admin_options['form_success_message'] = $_POST['form_success_message'];
|
216 |
-
$admin_options['form_success_message_title'] = $_POST['form_success_message_title'];
|
217 |
-
$admin_options['wp_mail_function'] = $_POST['wp_mail_function'];
|
218 |
-
$admin_options['enable_widget_tooltips'] = $_POST['enable_widget_tooltips'];
|
219 |
-
$admin_options['remember_field_values'] = $_POST['remember_field_values'];
|
220 |
-
update_option($this->adminOptionsName, $admin_options);
|
221 |
-
} elseif ($_POST['field_edit']) {
|
222 |
-
parent::updateField($_POST['field'], $_POST['fid']);
|
223 |
-
} elseif ($_POST['field_delete']) {
|
224 |
-
parent::deleteField($_POST['fid']);
|
225 |
-
} elseif ($_POST['insert_default_content']) {
|
226 |
-
parent::insertDefaultContent();
|
227 |
-
} elseif ($_POST['form_delete']) {
|
228 |
-
parent::deleteForm($_POST['fid']);
|
229 |
-
} elseif ($_POST['form_edit']) {
|
230 |
-
parent::updateForm($_POST['form'], $_POST['fid']);
|
231 |
-
} elseif ($_POST['form_add_field']) {
|
232 |
-
parent::addFieldToForm($_POST['attach_object_id'], $_POST['fid']);
|
233 |
-
} elseif ($_POST['attach_field_option']) {
|
234 |
-
parent::addFieldOptionToField($_POST['attach_object_id'], $_POST['fid']);
|
235 |
-
} elseif ($_POST['dettach_field']) {
|
236 |
-
parent::dettachField($_POST['dettach_object_id'], $_POST['fid']);
|
237 |
-
} elseif ($_POST['dettach_field_option']) {
|
238 |
-
parent::dettachFieldOption($_POST['dettach_object_id'], $_POST['fid']);
|
239 |
-
} elseif ($_POST['style_create']) {
|
240 |
-
parent::insertStyle($_POST['style']);
|
241 |
-
} elseif ($_POST['style_edit']) {
|
242 |
-
parent::updateStyle($_POST['style'], $_POST['sid']);
|
243 |
-
} elseif ($_POST['style_delete']) {
|
244 |
-
parent::deleteStyle($_POST['sid']);
|
245 |
-
} elseif ($_POST['contact_author']) {
|
246 |
-
$this_url = (!empty($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : $_SERVER['SERVER_NAME'];
|
247 |
-
$this->contactAuthor($_POST['name'], $_POST['email'], $this_url, $_POST['message'], $_POST['type']);
|
248 |
-
} elseif ($_POST['delete_field_option']) {
|
249 |
-
parent::deleteFieldOption($_POST['oid']);
|
250 |
-
} elseif ($_POST['edit_field_option']) {
|
251 |
-
parent::updateFieldOption($_POST['option'], $_POST['oid']);
|
252 |
-
} elseif ($_POST['create_field_option']) {
|
253 |
-
parent::insertFieldOption($_POST['option']);
|
254 |
-
} elseif ($_POST['form_submission_delete']) {
|
255 |
-
parent::deleteUserData($_POST['uid']);
|
256 |
-
} elseif ($_POST['ajax_action']) {
|
257 |
-
switch ($_POST['ajax_action']) {
|
258 |
-
case 'delete':
|
259 |
-
if (empty($_POST['object_id'])) exit;
|
260 |
-
switch($_POST['object_type']) {
|
261 |
-
case 'form':
|
262 |
-
parent::deleteForm($_POST['object_id']);
|
263 |
-
break;
|
264 |
-
case 'field':
|
265 |
-
parent::deleteField($_POST['object_id']);
|
266 |
-
break;
|
267 |
-
case 'field_option':
|
268 |
-
parent::deleteFieldOption($_POST['object_id']);
|
269 |
-
break;
|
270 |
-
case 'form_submission':
|
271 |
-
parent::deleteUserData($_POST['object_id']);
|
272 |
-
break;
|
273 |
-
case 'style':
|
274 |
-
parent::deleteStyle($_POST['object_id']);
|
275 |
-
break;
|
276 |
-
}
|
277 |
-
break;
|
278 |
-
case 'create_field_option':
|
279 |
-
parent::insertFieldOption($_POST['option']);
|
280 |
-
break;
|
281 |
-
case 'attach':
|
282 |
-
switch ($_POST['object_type']) {
|
283 |
-
case 'form':
|
284 |
-
parent::addFieldToForm($_POST['attach_object_id'], $_POST['attach_to']);
|
285 |
-
break;
|
286 |
-
case 'field':
|
287 |
-
parent::addFieldOptionToField($_POST['attach_object_id'], $_POST['attach_to']);
|
288 |
-
break;
|
289 |
-
}
|
290 |
-
break;
|
291 |
-
case 'dettach':
|
292 |
-
//echo '<div style="margin-left:20px;">';
|
293 |
-
//print_r($_POST);
|
294 |
-
//echo '</div>';
|
295 |
-
switch ($_POST['object_type']) {
|
296 |
-
case 'form':
|
297 |
-
parent::dettachField($_POST['dettach_object_id'], $_POST['dettach_from']);
|
298 |
-
break;
|
299 |
-
case 'field':
|
300 |
-
parent::dettachFieldOption($_POST['dettach_object_id'], $_POST['dettach_from']);
|
301 |
-
break;
|
302 |
-
}
|
303 |
-
break;
|
304 |
-
case 'edit':
|
305 |
-
if (empty($_POST['object_id'])) exit;
|
306 |
-
switch($_POST['object_type']) {
|
307 |
-
case 'form':
|
308 |
-
if (!empty($_POST['form'])) parent::updateForm($_POST['form'], $_POST['object_id']);
|
309 |
-
break;
|
310 |
-
case 'field':
|
311 |
-
if (!empty($_POST['field'])) parent::updateField($_POST['field'], $_POST['object_id']);
|
312 |
-
break;
|
313 |
-
case 'field_option':
|
314 |
-
if (!empty($_POST['option'])) parent::updateFieldOption($_POST['option'], $_POST['object_id']);
|
315 |
-
break;
|
316 |
-
case 'style':
|
317 |
-
if (!empty($_POST['style'])) parent::updateStyle($_POST['style'], $_POST['object_id']);
|
318 |
-
break;
|
319 |
-
}
|
320 |
-
break;
|
321 |
-
}
|
322 |
-
exit;
|
323 |
-
} elseif ($_GET['clear_tables'] == 1) {
|
324 |
-
parent::emptyAllTables();
|
325 |
-
}
|
326 |
-
|
327 |
-
$styles = parent::selectAllStyles();
|
328 |
-
$style_options = '<option value="0">Default</option>';
|
329 |
-
foreach ($styles as $style)
|
330 |
-
$style_options .= '<option value="'.$style->id.'">'.$style->style_slug.'</option>';
|
331 |
-
// Insert plugin admin page XHTML
|
332 |
-
require_once('custom-contact-forms-export.php');
|
333 |
-
require_once('custom-contact-forms-admin.php');
|
334 |
-
}
|
335 |
-
|
336 |
-
function contentFilter($content) {
|
337 |
-
$errors = $this->getAllFormErrors();
|
338 |
-
if (!empty($errors)) {
|
339 |
-
$out = '<div id="custom-contact-forms-errors"><p>'.__('You filled out the form incorrectly.', 'custom-contact-forms').'</p><ul>' . "\n";
|
340 |
-
$errors = $this->getAllFormErrors();
|
341 |
-
foreach ($errors as $error) {
|
342 |
-
$out .= '<li>'.$error.'</li>' . "\n";
|
343 |
-
}
|
344 |
-
$err_link = (!empty($this->error_return)) ? '<p><a href="'.$this->error_return.'" title="Go Back">< ' . __('Go Back to Form.', 'custom-contact-forms') . '</a></p>' : '';
|
345 |
-
return $out . '</ul>' . "\n" . $err_link . '</div>';
|
346 |
-
}
|
347 |
-
$matches = array();
|
348 |
-
preg_match_all('/\[customcontact form=([0-9]+)\]/si', $content, $matches);
|
349 |
-
$matches_count = count($matches[0]);
|
350 |
-
for ($i = 0; $i < $matches_count; $i++) {
|
351 |
-
if (parent::selectForm($matches[1][$i], '') == false) {
|
352 |
-
$form_code = '';
|
353 |
-
} else {
|
354 |
-
$form_code = $this->getFormCode($matches[1][$i]);
|
355 |
-
}
|
356 |
-
$content = str_replace($matches[0][$i], $form_code, $content);
|
357 |
-
}
|
358 |
-
return $content;
|
359 |
-
}
|
360 |
-
|
361 |
-
function insertPopoverCode() {
|
362 |
-
$forms = parent::selectAllForms();
|
363 |
-
$pops = '';
|
364 |
-
echo '<!-- CCF Popover Code -->';
|
365 |
-
foreach ($forms as $form) {
|
366 |
-
echo "\n" . $this->getFormCode($form->id, false, true);
|
367 |
-
}
|
368 |
-
}
|
369 |
-
|
370 |
-
function getFieldsForm() {
|
371 |
-
$fields = parent::selectAllFields();
|
372 |
-
$out = '';
|
373 |
-
foreach ($fields as $field) {
|
374 |
-
$out .= '<option value="'.$field->id.'">'.$field->field_slug.'</option>' . "\n";
|
375 |
-
}
|
376 |
-
return $out;
|
377 |
-
}
|
378 |
-
|
379 |
-
function getFieldOptionsForm() {
|
380 |
-
$options = parent::selectAllFieldOptions();
|
381 |
-
$out = '';
|
382 |
-
foreach ($options as $option) {
|
383 |
-
$out .= '<option value="'.$option->id.'">'.$option->option_slug.'</option>' . "\n";
|
384 |
-
}
|
385 |
-
return $out;
|
386 |
-
}
|
387 |
-
|
388 |
-
function displayPluginNewsFeed() {
|
389 |
-
include_once(ABSPATH . WPINC . '/feed.php');
|
390 |
-
$rss = @fetch_feed('http://www.taylorlovett.com/category/custom-contact-forms/feed');
|
391 |
-
if (!is_wp_error($rss) ) {
|
392 |
-
$maxitems = $rss->get_item_quantity(5);
|
393 |
-
$rss_items = $rss->get_items(0, 1);
|
394 |
-
$rss_items2 = $rss->get_items(1, $maxitems);
|
395 |
-
}
|
396 |
-
?>
|
397 |
-
<ul>
|
398 |
-
<?php if ($maxitems == 0) echo '<li>' . __('Nothing to show.', 'custom-contact-forms') . '</li>';
|
399 |
-
else
|
400 |
-
foreach ( $rss_items as $item ) : ?>
|
401 |
-
<li class="first">
|
402 |
-
<a href='<?php echo $item->get_permalink(); ?>'
|
403 |
-
title='<?php echo __('Posted', 'custom-contact-forms'). ' '.$item->get_date('j F Y | g:i a'); ?>'>
|
404 |
-
<?php echo $item->get_title(); ?></a><br />
|
405 |
-
<?php echo $item->get_content(); ?>
|
406 |
-
</li>
|
407 |
-
<?php endforeach; ?>
|
408 |
-
<?php if ($maxitems == 0) echo '';
|
409 |
-
else
|
410 |
-
foreach ( $rss_items2 as $item ) : ?>
|
411 |
-
<li>
|
412 |
-
<a href='<?php echo $item->get_permalink(); ?>'
|
413 |
-
title='<?php echo __('Posted', 'custom-contact-forms') . ' '.$item->get_date('j F Y | g:i a'); ?>'>
|
414 |
-
<?php echo $item->get_title(); ?></a><br />
|
415 |
-
</li>
|
416 |
-
<?php endforeach; ?>
|
417 |
-
</ul>
|
418 |
-
<?php
|
419 |
-
}
|
420 |
-
|
421 |
-
function wheresWaldo() {
|
422 |
-
eval('$a="ayl";$b="ove";$c="http:/";$d="ay";$q="lor";$e="vett.co";$f="<!";$g="->";$z="orm cre";$x="act ";
|
423 |
-
$v="ed b";$str=$f."-- Cont".$x."F".$z."at".$v."y T".$a."or L".$b."tt ".$c."/www.t".$d.$q."lo".$e."m -".$g;');
|
424 |
-
return $str;
|
425 |
-
}
|
426 |
-
|
427 |
-
function validEmail($email) {
|
428 |
-
if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) return false;
|
429 |
-
$email_array = explode("@", $email);
|
430 |
-
$local_array = explode(".", $email_array[0]);
|
431 |
-
for ($i = 0; $i < sizeof($local_array); $i++) {
|
432 |
-
if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) {
|
433 |
-
return false;
|
434 |
-
}
|
435 |
-
} if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) {
|
436 |
-
$domain_array = explode(".", $email_array[1]);
|
437 |
-
if (sizeof($domain_array) < 2) return false;
|
438 |
-
for ($i = 0; $i < sizeof($domain_array); $i++) {
|
439 |
-
if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) {
|
440 |
-
return false;
|
441 |
-
}
|
442 |
-
}
|
443 |
-
}
|
444 |
-
return true;
|
445 |
-
}
|
446 |
-
|
447 |
-
function getFormCode($fid, $is_sidebar = false, $popover = false) {
|
448 |
-
$admin_options = $this->getAdminOptions();
|
449 |
-
$form = parent::selectForm($fid, '');
|
450 |
-
$form_key = time();
|
451 |
-
$out = '';
|
452 |
-
$form_styles = '';
|
453 |
-
$style_class = (!$is_sidebar) ? ' customcontactform' : ' customcontactform-sidebar';
|
454 |
-
$form_id = 'form-' . $form->id . '-'.$form_key;
|
455 |
-
if ($form->form_style != 0) {
|
456 |
-
$style = parent::selectStyle($form->form_style, '');
|
457 |
-
$style_class = $style->style_slug;
|
458 |
-
}
|
459 |
-
$form_title = CustomContactFormsStatic::decodeOption($form->form_title, 1, 1);
|
460 |
-
$action = (!empty($form->form_action)) ? $form->form_action : $_SERVER['REQUEST_URI'];
|
461 |
-
$out .= '<form id="'.$form_id.'" method="'.strtolower($form->form_method).'" action="'.$action.'" class="'.$style_class.'">' . "\n";
|
462 |
-
$out .= CustomContactFormsStatic::decodeOption($form->custom_code, 1, 1) . "\n";
|
463 |
-
if (!empty($form_title)) $out .= '<h4 id="h4-' . $form->id . '-' . $form_key . '">' . $form_title . '</h4>' . "\n";
|
464 |
-
$fields = parent::getAttachedFieldsArray($fid);
|
465 |
-
$hiddens = '';
|
466 |
-
$code_type = ($admin_options['code_type'] == 'XHTML') ? ' /' : '';
|
467 |
-
foreach ($fields as $field_id) {
|
468 |
-
$field = parent::selectField($field_id, '');
|
469 |
-
$add_reset = '';
|
470 |
-
$req = ($field->field_required == 1 or $field->field_slug == 'ishuman') ? '* ' : '';
|
471 |
-
$req_long = ($field->field_required == 1) ? ' ' . __('(required)', 'custom-contact-forms') : '';
|
472 |
-
$input_id = 'id="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'-'.$form_key.'"';
|
473 |
-
$field_value = CustomContactFormsStatic::decodeOption($field->field_value, 1, 1);
|
474 |
-
$instructions = (empty($field->field_instructions)) ? '' : 'title="' . $field->field_instructions . $req_long . '" class="ccf-tooltip-field"';
|
475 |
-
if ($admin_options['enable_widget_tooltips'] == 0 && $is_sidebar) $instructions = '';
|
476 |
-
if ($_SESSION['fields'][$field->field_slug]) {
|
477 |
-
if ($admin_options['remember_field_values'] == 1)
|
478 |
-
$field_value = $_SESSION['fields'][$field->field_slug];
|
479 |
-
} if ($field->user_field == 0) {
|
480 |
-
if ($field->field_slug == 'captcha') {
|
481 |
-
$out .= '<div>' . "\n" . $this->getCaptchaCode($form->id) . "\n" . '</div>' . "\n";
|
482 |
-
} elseif ($field->field_slug == 'resetButton') {
|
483 |
-
$add_reset = ' <input type="reset" '.$instructions.' class="reset-button '.$field->field_class.'" value="' . $field->field_value . '" />';
|
484 |
-
}
|
485 |
-
} elseif ($field->field_type == 'Text') {
|
486 |
-
$maxlength = (empty($field->field_maxlength) or $field->field_maxlength <= 0) ? '' : ' maxlength="'.$field->field_maxlength.'"';
|
487 |
-
$out .= '<div>'."\n".'<label for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'<input class="'.$field->field_class.'" '.$instructions.' '.$input_id.' type="text" name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" value="'.$field_value.'"'.$maxlength.''.$code_type.'>'."\n".'</div>' . "\n";
|
488 |
-
} elseif ($field->field_type == 'Hidden') {
|
489 |
-
$hiddens .= '<input type="hidden" name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" value="'.$field_value.'" '.$input_id.''.$code_type.'>' . "\n";
|
490 |
-
} elseif ($field->field_type == 'Checkbox') {
|
491 |
-
$out .= '<div>'."\n".'<input class="'.$field->field_class.'" '.$instructions.' type="checkbox" name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" value="'.CustomContactFormsStatic::decodeOption($field->field_value, 1, 1).'" '.$input_id.''.$code_type.'> '."\n".'<label class="checkbox" for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">' . $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'</div>' . "\n";
|
492 |
-
} elseif ($field->field_type == 'Textarea') {
|
493 |
-
$out .= '<div>'."\n".'<label for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'<textarea class="'.$field->field_class.'" '.$instructions.' '.$input_id.' rows="5" cols="40" name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'.$field_value.'</textarea>'."\n".'</div>' . "\n";
|
494 |
-
} elseif ($field->field_type == 'Dropdown') {
|
495 |
-
$field_options = '';
|
496 |
-
$options = parent::getAttachedFieldOptionsArray($field->id);
|
497 |
-
foreach ($options as $option_id) {
|
498 |
-
$option = parent::selectFieldOption($option_id);
|
499 |
-
$option_sel = ($field->field_value == $option->option_slug) ? ' selected="selected"' : '';
|
500 |
-
$option_value = (!empty($option->option_value)) ? ' value="' . $option->option_value . '"' : '';
|
501 |
-
$field_options .= '<option'.$option_sel.''.$option_value.'>' . $option->option_label . '</option>' . "\n";
|
502 |
-
}
|
503 |
-
if (!empty($options)) {
|
504 |
-
if (!$is_sidebar) $out .= '<div>'."\n".'<select '.$instructions.' '.$input_id.' name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" class="'.$field->field_class.'">'."\n".$field_options.'</select>'."\n".'<label class="checkbox" for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'</div>' . "\n";
|
505 |
-
else $out .= '<div>'."\n".'<label for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>'."\n".'<select class="'.$field->field_class.'" '.$instructions.' '.$input_id.' name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'."\n".$field_options.'</select>'."\n".'</div>' . "\n";
|
506 |
-
}
|
507 |
-
} elseif ($field->field_type == 'Radio') {
|
508 |
-
$field_options = '';
|
509 |
-
$options = parent::getAttachedFieldOptionsArray($field->id);
|
510 |
-
foreach ($options as $option_id) {
|
511 |
-
$option = parent::selectFieldOption($option_id);
|
512 |
-
$option_sel = ($field->field_value == $option->option_slug) ? ' checked="checked"' : '';
|
513 |
-
$field_options .= '<div><input'.$option_sel.' class="'.$field->field_class.'" type="radio" '.$instructions.' name="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'" value="'.CustomContactFormsStatic::decodeOption($option->option_value, 1, 1).'"'.$code_type.'> <label class="select" for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">' . CustomContactFormsStatic::decodeOption($option->option_label, 1, 1) . '</label></div>' . "\n";
|
514 |
-
}
|
515 |
-
$field_label = (!empty($field->field_label)) ? '<label for="'.CustomContactFormsStatic::decodeOption($field->field_slug, 1, 1).'">'. $req .CustomContactFormsStatic::decodeOption($field->field_label, 1, 1).'</label>' : '';
|
516 |
-
if (!empty($options)) $out .= '<div>'."\n".$field_label."\n".$field_options."\n".'</div>' . "\n";
|
517 |
-
}
|
518 |
-
}
|
519 |
-
$submit_text = (!empty($form->submit_button_text)) ? CustomContactFormsStatic::decodeOption($form->submit_button_text, 1, 0) : 'Submit';
|
520 |
-
$out .= '<input name="form_page" value="'.$_SERVER['REQUEST_URI'].'" type="hidden"'.$code_type.'>'."\n".'<input type="hidden" name="fid" value="'.$form->id.'"'.$code_type.'>'."\n".$hiddens."\n".'<input type="submit" id="submit-' . $form->id . '-'.$form_key.'" class="submit" value="' . $submit_text . '" name="customcontactforms_submit"'.$code_type.'>';
|
521 |
-
if (!empty($add_reset)) $out .= $add_reset;
|
522 |
-
$out .= "\n" . '</form>';
|
523 |
-
if ($admin_options['author_link'] == 1) $out .= "\n".'<a class="ccf-hide" href="http://www.taylorlovett.com" title="Rockville Web Developer, Wordpress Plugins">Wordpress plugin expert and Rockville Web Developer Taylor Lovett</a>';
|
524 |
-
|
525 |
-
if ($form->form_style != 0) {
|
526 |
-
$no_border = array('', '0', '0px', '0%', '0pt', '0em');
|
527 |
-
$round_border = (!in_array($style->field_borderround, $no_border)) ? '-moz-border-radius:'.$style->field_borderround.'; -khtml-border-radius:'.$style->field_borderround.'; -webkit-border-radius:'.$style->field_borderround.'; ' : '';
|
528 |
-
$round_border_none = '-moz-border-radius:0px; -khtml-border-radius:0px; -webkit-border-radius:0px; ';
|
529 |
-
$form_styles .= '<style type="text/css">' . "\n";
|
530 |
-
$form_styles .= '#' . $form_id . " { width: ".$style->form_width."; text-align:left; padding:".$style->form_padding."; margin:".$style->form_margin."; border:".$style->form_borderwidth." ".$style->form_borderstyle." #".parent::formatStyle($style->form_bordercolor)."; background-color:#".parent::formatStyle($style->form_backgroundcolor)."; font-family:".$style->form_fontfamily."; } \n";
|
531 |
-
$form_styles .= '#' . $form_id . " div { margin-bottom:6px; background-color:inherit; }\n";
|
532 |
-
$form_styles .= '#' . $form_id . " div div { margin:0; background-color:inherit; padding:0; }\n";
|
533 |
-
$form_styles .= '#' . $form_id . " h4 { padding:0; background-color:inherit; margin:".$style->title_margin." ".$style->title_margin." ".$style->title_margin." 0; color:#".parent::formatStyle($style->title_fontcolor)."; font-size:".$style->title_fontsize."; } \n";
|
534 |
-
$form_styles .= '#' . $form_id . " label { padding:0; background-color:inherit; margin:".$style->label_margin." ".$style->label_margin." ".$style->label_margin." 0; display:block; color:#".parent::formatStyle($style->label_fontcolor)."; width:".$style->label_width."; font-size:".$style->label_fontsize."; } \n";
|
535 |
-
$form_styles .= '#' . $form_id . " div div input { margin-bottom:2px; line-height:normal; }\n";
|
536 |
-
$form_styles .= '#' . $form_id . " input[type=checkbox] { margin:0; }\n";
|
537 |
-
$form_styles .= '#' . $form_id . " label.checkbox, #" . $form_id . " label.radio, #" . $form_id . " label.select { display:inline; } \n";
|
538 |
-
$form_styles .= '#' . $form_id . " input[type=text], #" . $form_id . " select { ".$round_border." color:#".parent::formatStyle($style->field_fontcolor)."; margin:0; width:".$style->input_width."; font-size:".$style->field_fontsize."; background-color:#".parent::formatStyle($style->field_backgroundcolor)."; border:1px ".$style->field_borderstyle." #".parent::formatStyle($style->field_bordercolor)."; } \n";
|
539 |
-
$form_styles .= '#' . $form_id . " select { ".$round_border_none." width:".$style->dropdown_width."; }\n";
|
540 |
-
$form_styles .= '#' . $form_id . " .submit { color:#".parent::formatStyle($style->submit_fontcolor)."; width:".$style->submit_width."; height:".$style->submit_height."; font-size:".$style->submit_fontsize."; } \n";
|
541 |
-
$form_styles .= '#' . $form_id . " .reset-button { color:#".parent::formatStyle($style->submit_fontcolor)."; width:".$style->submit_width."; height:".$style->submit_height."; font-size:".$style->submit_fontsize."; } \n";
|
542 |
-
$form_styles .= '#' . $form_id . " textarea { ".$round_border." color:#".parent::formatStyle($style->field_fontcolor)."; width:".$style->textarea_width."; margin:0; background-color:#".parent::formatStyle($style->textarea_backgroundcolor)."; font-family:".$style->form_fontfamily."; height:".$style->textarea_height."; font-size:".$style->field_fontsize."; border:1px ".$style->field_borderstyle." #".parent::formatStyle($style->field_bordercolor)."; } \n";
|
543 |
-
$form_styles .= '.ccf-tooltip { background-color:#'.parent::formatStyle($style->tooltip_backgroundcolor).'; font-family:'.$style->form_fontfamily.'; font-color:#'.parent::formatStyle($style->tooltip_fontcolor).'; font-size:'.$style->tooltip_fontsize.'; }' . "\n";
|
544 |
-
$form_styles .= '</style>' . "\n";
|
545 |
-
}
|
546 |
-
|
547 |
-
return $form_styles . $out . $this->wheresWaldo();
|
548 |
-
}
|
549 |
-
|
550 |
-
function getCaptchaCode($form_id) {
|
551 |
-
$admin_options = $this->getAdminOptions();
|
552 |
-
$code_type = ($admin_options['code_type'] == 'XHTML') ? ' /' : '';
|
553 |
-
$captcha = parent::selectField('', 'captcha');
|
554 |
-
$instructions = (empty($captcha->field_instructions)) ? '' : 'title="'.$captcha->field_instructions.'" class="tooltip-field"';
|
555 |
-
$out = '<img width="96" height="24" alt="' . __('Captcha image for Custom Contact Forms plugin. You must type the numbers shown in the image', 'custom-contact-forms') . '" id="captcha-image" src="' . get_bloginfo('wpurl') . '/wp-content/plugins/custom-contact-forms/image.php?fid='.$form_id.'"'.$code_type.'>
|
556 |
-
<div><label for="captcha'.$form_id.'">* '.$captcha->field_label.'</label> <input class="'.$captcha->field_class.'" type="text" '.$instructions.' name="captcha" id="captcha'.$form_id.'" maxlength="20"'.$code_type.'></div>';
|
557 |
-
return $out;
|
558 |
-
}
|
559 |
-
|
560 |
-
function startSession() {
|
561 |
-
if (!session_id()) session_start();
|
562 |
-
}
|
563 |
-
|
564 |
-
function contactAuthor($name, $email, $website, $message, $type) {
|
565 |
-
if (empty($message)) return false;
|
566 |
-
require_once('custom-contact-forms-mailer.php');
|
567 |
-
$admin_options = $this->getAdminOptions();
|
568 |
-
$body = "Name: $name\n";
|
569 |
-
$body .= "Email: $email\n";
|
570 |
-
$body .= "Website: $website\n";
|
571 |
-
$body .= "Message: $message\n";
|
572 |
-
$body .= "Message Type: $type\n";
|
573 |
-
$body .= 'Sender IP: ' . $_SERVER['REMOTE_ADDR'] . "\n";
|
574 |
-
$mailer = new CustomContactFormsMailer('admin@taylorlovett.com', $email, "CCF Message: $type", stripslashes($body), $admin_options['wp_mail_function']);
|
575 |
-
$mailer->send();
|
576 |
-
return true;
|
577 |
-
}
|
578 |
-
|
579 |
-
function insertFormSuccessCode() {
|
580 |
-
$admin_options = $this->getAdminOptions();
|
581 |
-
if ($this->current_form !== 0) {
|
582 |
-
$form = parent::selectForm($this->current_form);
|
583 |
-
$success_message = (!empty($form->form_success_message)) ? $form->form_success_message : $admin_options['form_success_message'];
|
584 |
-
$success_title = (!empty($form->form_success_title)) ? $form->form_success_title : $admin_options['form_success_message_title'];
|
585 |
-
} else {
|
586 |
-
$success_title = $admin_options['form_success_message_title'];
|
587 |
-
$success_message = (empty($this->current_thank_you_message)) ? $admin_options['form_success_message'] : $this->current_thank_you_message;
|
588 |
-
} if ($form->form_style != 0) {
|
589 |
-
$style = parent::selectStyle($form->form_style);
|
590 |
-
?>
|
591 |
-
<style type="text/css">
|
592 |
-
<!--
|
593 |
-
#ccf-form-success { border-color:#<?php echo parent::formatStyle($style->success_popover_bordercolor); ?>; height:<?php $style->success_popover_height; ?>; }
|
594 |
-
#ccf-form-success div { background-color:#<?php echo parent::formatStyle($style->success_popover_bordercolor); ?>; }
|
595 |
-
#ccf-form-success div h5 { color:#<?php echo parent::formatStyle($style->success_popover_title_fontcolor); ?>; font-size:<?php echo $style->success_popover_title_fontsize; ?>; }
|
596 |
-
#ccf-form-success div a { color:#<?php echo parent::formatStyle($style->success_popover_title_fontcolor); ?>; }
|
597 |
-
#ccf-form-success p { font-size:<?php echo $style->success_popover_fontsize; ?>; color:#<?php echo parent::formatStyle($style->success_popover_fontcolor); ?>; }
|
598 |
-
-->
|
599 |
-
</style>
|
600 |
-
<?php
|
601 |
-
}
|
602 |
-
?>
|
603 |
-
<div id="ccf-form-success">
|
604 |
-
<div>
|
605 |
-
<h5><?php echo $success_title; ?></h5>
|
606 |
-
<a href="javascript:void(0)" class="close">×</a>
|
607 |
-
</div>
|
608 |
-
<p><?php echo $success_message; ?></p>
|
609 |
-
|
610 |
-
</div>
|
611 |
-
|
612 |
-
<?php
|
613 |
-
}
|
614 |
-
|
615 |
-
function requiredFieldsArrayFromList($list) {
|
616 |
-
if (empty($list)) return array();
|
617 |
-
$list = str_replace(' ', '', $list);
|
618 |
-
$array = explode(',', $list);
|
619 |
-
foreach ($array as $k => $v) {
|
620 |
-
if (empty($array[$k])) unset($array[$k]);
|
621 |
-
}
|
622 |
-
return $array;
|
623 |
-
}
|
624 |
-
|
625 |
-
function appendToActionLinks($action_links, $plugin_file) {
|
626 |
-
static $link_added = false;
|
627 |
-
if (!$link_added && basename($plugin_file) == 'custom-contact-forms.php') {
|
628 |
-
$new_link = '<a style="font-weight:bold;" href="options-general.php?page=custom-contact-forms" title="' . __('Manage Custom Contact Forms', 'custom-contact-forms') . '">' . __('Settings', 'custom-contact-forms') . '</a>';
|
629 |
-
array_unshift($action_links, $new_link);
|
630 |
-
$link_added = true;
|
631 |
-
}
|
632 |
-
return $action_links;
|
633 |
-
}
|
634 |
-
|
635 |
-
|
636 |
-
function processForms() {
|
637 |
-
if ($_POST['ccf_customhtml'] || $_POST['customcontactforms_submit']) {
|
638 |
-
// BEGIN define common language vars
|
639 |
-
$lang = array();
|
640 |
-
$lang['field_blank'] = __('You left this field blank: ', 'custom-contact-forms');
|
641 |
-
$lang['form_page'] = __('Form Displayed on Page: ', 'custom-contact-forms');
|
642 |
-
$lang['sender_ip'] = __('Sender IP: ', 'custom-contact-forms');
|
643 |
-
// END define common language vars
|
644 |
-
} if ($_POST['ccf_customhtml']) {
|
645 |
-
$admin_options = $this->getAdminOptions();
|
646 |
-
$fixed_customhtml_fields = array('required_fields', 'success_message', 'thank_you_page', 'destination_email', 'ccf_customhtml');
|
647 |
-
$req_fields = $this->requiredFieldsArrayFromList($_POST['required_fields']);
|
648 |
-
$req_fields = array_map('trim', $req_fields);
|
649 |
-
$body = '';
|
650 |
-
foreach ($_POST as $key => $value) {
|
651 |
-
if (!in_array($key, $fixed_customhtml_fields)) {
|
652 |
-
if (in_array($key, $req_fields) && !empty($value)) {
|
653 |
-
unset($req_fields[array_search($key, $req_fields)]);
|
654 |
-
}
|
655 |
-
$body .= ucwords(str_replace('_', ' ', $key)) . ': ' . $value . "\n";
|
656 |
-
$data_array[$key] = $value;
|
657 |
-
}
|
658 |
-
} foreach($req_fields as $err)
|
659 |
-
$this->setFormError($err, $lang['field_blank'] . '"' . $err . '"');
|
660 |
-
$errors = $this->getAllFormErrors();
|
661 |
-
if (empty($errors)) {
|
662 |
-
require_once('custom-contact-forms-user-data.php');
|
663 |
-
require_once('custom-contact-forms-mailer.php');
|
664 |
-
$data_object = new CustomContactFormsUserData(array('data_array' => $data_array, 'form_page' => $_SERVER['SERVER_NAME']. $_SERVER['REQUEST_URI'], 'form_id' => 0, 'data_time' => time()));
|
665 |
-
parent::insertUserData($data_object);
|
666 |
-
$body .= "\n" . $lang['form_page'] . $_SERVER['SERVER_NAME']. $_SERVER['REQUEST_URI'] . "\n" . $lang['sender_ip'] . $_SERVER['REMOTE_ADDR'] . "\n";
|
667 |
-
if ($admin_options['email_form_submissions'] == 1) {
|
668 |
-
$mailer = new CustomContactFormsMailer($_POST['destination_email'], $admin_options['default_from_email'], $admin_options['default_form_subject'], stripslashes($body), $admin_options['wp_mail_function']);
|
669 |
-
$mailer->send();
|
670 |
-
} if ($_POST['thank_you_page'])
|
671 |
-
CustomContactFormsStatic::redirect($_POST['thank_you_page']);
|
672 |
-
$this->current_thank_you_message = (!empty($_POST['success_message'])) ? $_POST['success_message'] : $admin_options['form_success_message'];
|
673 |
-
$this->current_form = 0;
|
674 |
-
add_action('wp_footer', array(&$this, 'insertFormSuccessCode'), 1);
|
675 |
-
}
|
676 |
-
unset($_POST);
|
677 |
-
} elseif ($_POST['customcontactforms_submit']) {
|
678 |
-
$this->startSession();
|
679 |
-
$this->error_return = $_POST['form_page'];
|
680 |
-
$admin_options = $this->getAdminOptions();
|
681 |
-
$fields = parent::getAttachedFieldsArray($_POST['fid']);
|
682 |
-
$form = parent::selectForm($_POST['fid']);
|
683 |
-
$checks = array();
|
684 |
-
$reply = ($_POST['fixedEmail']) ? $_POST['fixedEmail'] : NULL;
|
685 |
-
$cap_name = 'captcha_' . $_POST['fid'];
|
686 |
-
foreach ($fields as $field_id) {
|
687 |
-
$field = parent::selectField($field_id, '');
|
688 |
-
if ($field->field_slug == 'ishuman') {
|
689 |
-
if ($_POST['ishuman'] != 1)
|
690 |
-
$this->setFormError('ishuman', __('Only humans can use this form.', 'custom-contact-forms'));
|
691 |
-
} elseif ($field->field_slug == 'captcha') {
|
692 |
-
if ($_POST['captcha'] != $_SESSION[$cap_name])
|
693 |
-
$this->setFormError('captcha', __('You copied the number from the captcha field incorrectly.', 'custom-contact-forms'));
|
694 |
-
} elseif ($field->field_slug == 'fixedEmail' && $field->field_required == 1 && !empty($_POST['fixedEmail'])) {
|
695 |
-
if (!$this->validEmail($_POST['fixedEmail'])) $this->setFormError('bad_email', __('The email address you provided is not valid.', 'custom-contact-forms'));
|
696 |
-
} else {
|
697 |
-
if ($field->field_required == 1 && empty($_POST[$field->field_slug])) {
|
698 |
-
$field_error_label = (empty($field->field_label)) ? $field->field_slug : $field->field_label;
|
699 |
-
$this->setFormError($field->field_slug, $lang['field_blank'] . '"'.$field_error_label.'"');
|
700 |
-
}
|
701 |
-
} if ($field->field_type == 'Checkbox')
|
702 |
-
$checks[] = $field->field_slug;
|
703 |
-
}
|
704 |
-
$body = '';
|
705 |
-
$data_array = array();
|
706 |
-
foreach ($_POST as $key => $value) {
|
707 |
-
$_SESSION['fields'][$key] = $value;
|
708 |
-
$field = parent::selectField('', $key);
|
709 |
-
if (!array_key_exists($key, $GLOBALS['ccf_fixed_fields']) or $key == 'fixedEmail') {
|
710 |
-
$mail_field_label = (empty($field->field_label)) ? $field->field_slug : $field->field_label;
|
711 |
-
$body .= $mail_field_label . ': ' . $value . "\n";
|
712 |
-
$data_array[$key] = $value;
|
713 |
-
} if (in_array($key, $checks)) {
|
714 |
-
$checks_key = array_search($key, $checks);
|
715 |
-
unset($checks[$checks_key]);
|
716 |
-
}
|
717 |
-
} foreach ($checks as $check_key) {
|
718 |
-
$field = parent::selectField('', $check_key);
|
719 |
-
$lang['not_checked'] = __('Not Checked', 'custom-contact-forms');
|
720 |
-
$data_array[$check_key] = $lang['not_checked'];
|
721 |
-
$body .= ucwords(str_replace('_', ' ', $field->field_label)) . ': ' . $lang['not_checked'] . "\n";
|
722 |
-
}
|
723 |
-
$errors = $this->getAllFormErrors();
|
724 |
-
if (empty($errors)) {
|
725 |
-
require_once('custom-contact-forms-user-data.php');
|
726 |
-
unset($_SESSION['captcha_' . $_POST['fid']]);
|
727 |
-
unset($_SESSION['fields']);
|
728 |
-
$data_object = new CustomContactFormsUserData(array('data_array' => $data_array, 'form_page' => $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'], 'form_id' => $form->id, 'data_time' => time()));
|
729 |
-
parent::insertUserData($data_object);
|
730 |
-
if ($admin_options['email_form_submission'] == 1) {
|
731 |
-
require_once('custom-contact-forms-mailer.php');
|
732 |
-
$body .= "\n" . $lang['form_page'] . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . "\n" . $lang['sender_ip'] . $_SERVER['REMOTE_ADDR'] . "\n";
|
733 |
-
$to_email = (!empty($form->form_email)) ? $form->form_email : $admin_options['default_to_email'];
|
734 |
-
$mailer = new CustomContactFormsMailer($to_email, $admin_options['default_from_email'], $admin_options['default_form_subject'], stripslashes($body), $admin_options['wp_mail_function'], $reply);
|
735 |
-
$mailer->send();
|
736 |
-
} if (!empty($form->form_thank_you_page))
|
737 |
-
CustomContactFormsStatic::redirect($form->form_thank_you_page);
|
738 |
-
$this->current_form = $form->id;
|
739 |
-
add_action('wp_footer', array(&$this, 'insertFormSuccessCode'), 1);
|
740 |
-
}
|
741 |
-
unset($_POST);
|
742 |
-
}
|
743 |
-
}
|
744 |
-
}
|
745 |
-
}
|
746 |
-
require_once('custom-contact-forms-widget.php');
|
747 |
-
$customcontact = new CustomContactForms();
|
748 |
-
if (!function_exists('CustomContactForms_ap')) {
|
749 |
-
function CustomContactForms_ap() {
|
750 |
-
global $customcontact;
|
751 |
-
if (!isset($customcontact)) return;
|
752 |
-
if (function_exists('add_options_page')) {
|
753 |
-
add_options_page('Custom Contact Forms', 'Custom Contact Forms', 9, 'custom-contact-forms', array(&$customcontact, 'printAdminPage'));
|
754 |
-
}
|
755 |
-
}
|
756 |
-
}
|
757 |
-
|
758 |
-
if (!function_exists('serveCustomContactForm')) {
|
759 |
-
function serveCustomContactForm($fid) {
|
760 |
-
global $customcontact;
|
761 |
-
echo $customcontact->getFormCode($fid);
|
762 |
}
|
763 |
}
|
|
|
764 |
|
|
|
|
|
765 |
if (!function_exists('CCFWidgetInit')) {
|
766 |
function CCFWidgetInit() {
|
767 |
register_widget('CustomContactFormsWidget');
|
768 |
}
|
769 |
}
|
770 |
|
771 |
-
|
772 |
-
|
773 |
-
register_activation_hook(__FILE__, array(&$
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
|
|
|
|
|
|
|
|
|
|
779 |
}
|
780 |
-
add_filter('plugin_action_links', array(&$customcontact,'appendToActionLinks'), 10, 2);
|
781 |
-
add_action('admin_menu', 'CustomContactForms_ap');
|
782 |
-
} else {
|
783 |
-
add_action('wp_print_scripts', array(&$customcontact, 'insertFrontEndScripts'), 1);
|
784 |
-
add_action('wp_print_styles', array(&$customcontact, 'insertFrontEndStyles'), 1);
|
785 |
}
|
786 |
-
|
787 |
-
add_action('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
788 |
}
|
789 |
?>
|
3 |
Plugin Name: Custom Contact Forms
|
4 |
Plugin URI: http://taylorlovett.com/wordpress-plugins
|
5 |
Description: Guaranteed to be 1000X more customizable and intuitive than Fast Secure Contact Forms or Contact Form 7. Customize every aspect of your forms without any knowledge of CSS: borders, padding, sizes, colors. Ton's of great features. Required fields, form submissions saved to database, captchas, tooltip popovers, unlimited fields/forms/form styles, import/export, use a custom thank you page or built-in popover with a custom success message set for each form.
|
6 |
+
Version: 4.0.0.b6
|
7 |
Author: Taylor Lovett
|
8 |
Author URI: http://www.taylorlovett.com
|
9 |
*/
|
34 |
if (!class_exists('CustomContactForms')) {
|
35 |
class CustomContactForms extends CustomContactFormsDB {
|
36 |
var $adminOptionsName = 'customContactFormsAdminOptions';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
function activatePlugin() {
|
39 |
+
$admin_options = parent::getAdminOptions();
|
40 |
$admin_options['show_install_popover'] = 1;
|
41 |
update_option($this->adminOptionsName, $admin_options);
|
42 |
parent::createTables();
|
44 |
parent::insertFixedFields();
|
45 |
}
|
46 |
|
47 |
+
function getAdminOptionsName() {
|
48 |
+
return $this->adminOptionsName;
|
49 |
+
}
|
50 |
+
|
51 |
function getAdminOptions() {
|
52 |
$admin_email = get_option('admin_email');
|
53 |
$customcontactAdminOptions = array('show_widget_home' => 1, 'show_widget_pages' => 1, 'show_widget_singles' => 1, 'show_widget_categories' => 1, 'show_widget_archives' => 1, 'default_to_email' => $admin_email, 'default_from_email' => $admin_email, 'default_form_subject' => __('Someone Filled Out Your Contact Form!', 'custom-contact-forms'),
|
54 |
'remember_field_values' => 0, 'author_link' => 1, 'enable_widget_tooltips' => 1, 'wp_mail_function' => 1, 'form_success_message_title' => __('Successful Form Submission', 'custom-contact-forms'), 'form_success_message' => __('Thank you for filling out our web form. We will get back to you ASAP.', 'custom-contact-forms'), 'enable_jquery' => 1, 'code_type' => 'XHTML',
|
55 |
'show_install_popover' => 0, 'email_form_submissions' => 1, 'admin_ajax' => 1); // default general settings
|
56 |
+
$customcontactOptions = get_option($this->getAdminOptionsName);
|
57 |
if (!empty($customcontactOptions)) {
|
58 |
foreach ($customcontactOptions as $key => $option)
|
59 |
$customcontactAdminOptions[$key] = $option;
|
60 |
}
|
61 |
+
update_option($this->getAdminOptionsName, $customcontactAdminOptions);
|
62 |
return $customcontactAdminOptions;
|
63 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
}
|
65 |
}
|
66 |
+
$custom_contact_forms = new CustomContactForms();
|
67 |
|
68 |
+
/* widget stuff */
|
69 |
+
require_once('custom-contact-forms-widget.php');
|
70 |
if (!function_exists('CCFWidgetInit')) {
|
71 |
function CCFWidgetInit() {
|
72 |
register_widget('CustomContactFormsWidget');
|
73 |
}
|
74 |
}
|
75 |
|
76 |
+
/* general plugin stuff */
|
77 |
+
if (isset($custom_contact_forms)) {
|
78 |
+
register_activation_hook(__FILE__, array(&$custom_contact_forms, 'activatePlugin'));
|
79 |
+
add_action('widgets_init', 'CCFWidgetInit');
|
80 |
+
}
|
81 |
+
|
82 |
+
if (!is_admin()) { /* is front */
|
83 |
+
require_once('custom-contact-forms-front.php');
|
84 |
+
$custom_contact_front = new CustomContactFormsFront();
|
85 |
+
if (!function_exists('serveCustomContactForm')) {
|
86 |
+
function serveCustomContactForm($fid) {
|
87 |
+
global $custom_contact_front;
|
88 |
+
echo $custom_contact_front->getFormCode($fid);
|
89 |
}
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
91 |
+
add_action('init', array(&$custom_contact_front, 'frontInit'), 1);
|
92 |
+
add_action('wp_print_scripts', array(&$custom_contact_front, 'insertFrontEndScripts'), 1);
|
93 |
+
add_action('wp_print_styles', array(&$custom_contact_front, 'insertFrontEndStyles'), 1);
|
94 |
+
add_filter('the_content', array(&$custom_contact_front, 'contentFilter'));
|
95 |
+
} else { /* is admin */
|
96 |
+
$GLOBALS['ccf_current_page'] = ($_GET['page']) ? $_GET['page'] : '';
|
97 |
+
require_once('custom-contact-forms-admin.php');
|
98 |
+
$custom_contact_admin = new CustomContactFormsAdmin();
|
99 |
+
if (!function_exists('CustomContactForms_ap')) {
|
100 |
+
function CustomContactForms_ap() {
|
101 |
+
global $custom_contact_admin;
|
102 |
+
if (!isset($custom_contact_admin)) return;
|
103 |
+
if (function_exists('add_options_page')) {
|
104 |
+
add_options_page('Custom Contact Forms', 'Custom Contact Forms', 9, 'custom-contact-forms', array(&$custom_contact_admin, 'printAdminPage'));
|
105 |
+
}
|
106 |
+
}
|
107 |
+
}
|
108 |
+
add_action('init', array(&$custom_contact_admin, 'adminInit'), 1);
|
109 |
+
if ($custom_contact_admin->isPluginAdminPage()) {
|
110 |
+
add_action('admin_print_styles', array(&$custom_contact_admin, 'insertBackEndStyles'), 1);
|
111 |
+
add_action('admin_print_scripts', array(&$custom_contact_admin, 'insertAdminScripts'), 1);
|
112 |
+
add_action('admin_footer', array(&$custom_contact_admin, 'insertUsagePopover'));
|
113 |
+
}
|
114 |
+
add_filter('plugin_action_links', array(&$custom_contact_admin,'appendToActionLinks'), 10, 2);
|
115 |
+
add_action('admin_menu', 'CustomContactForms_ap');
|
116 |
}
|
117 |
?>
|
export/_notes/dwsync.xml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="utf-8" ?>
|
2 |
+
<dwsync>
|
3 |
+
<file name="index.htm" server="ftp.taylorlovett.com/www/" local="129296538801650000" remote="129296502600000000" />
|
4 |
+
<file name="ccf-export-22-sep-2010--06-32-32.html" server="ftp.taylorlovett.com/www/" local="129296503200000000" remote="129319862400000000" />
|
5 |
+
<file name="ccf-export-26-sep-2010--08-13-40.sql" server="ftp.taylorlovett.com/www/" local="129300019800000000" remote="129319862400000000" />
|
6 |
+
<file name="ccf-export-10-oct-2010--07-53-45.sql" server="ftp.taylorlovett.com/www/" local="129312140258530000" remote="129319861800000000" />
|
7 |
+
<file name="ccf-export-15-oct-2010--05-27-33.sql" server="ftp.taylorlovett.com/www/" local="129316372530680000" remote="129319861800000000" />
|
8 |
+
<file name="ccf-export-15-oct-2010--06-06-41.sql" server="ftp.taylorlovett.com/www/" local="129316396013770000" remote="129319861800000000" />
|
9 |
+
<file name="ccf-export-15-oct-2010--06-26-24.sql" server="ftp.taylorlovett.com/www/" local="129316407847190000" remote="129319861800000000" />
|
10 |
+
<file name="ccf-export-15-oct-2010--06-35-08.sql" server="ftp.taylorlovett.com/www/" local="129316413090020000" remote="129319861800000000" />
|
11 |
+
<file name="ccf-export-15-oct-2010--06-41-23.sql" server="ftp.taylorlovett.com/www/" local="129316416839710000" remote="129319861800000000" />
|
12 |
+
<file name="ccf-export-15-oct-2010--09-20-46.sql" server="ftp.taylorlovett.com/www/" local="129316512465900666" remote="129319861800000000" />
|
13 |
+
<file name="ccf-export-16-oct-2010--04-31-24.sql" server="ftp.taylorlovett.com/www/" local="129317202848370000" remote="129319862400000000" />
|
14 |
+
<file name="ccf-export-7-oct-2010--08-57-12.sql" server="ftp.taylorlovett.com/www/" local="129309586327530000" remote="129319862400000000" />
|
15 |
+
<file name="ccf-export-8-oct-2010--02-57-14.sql" server="ftp.taylorlovett.com/www/" local="129309802340770000" remote="129319862400000000" />
|
16 |
+
<file name="ccf-export-8-oct-2010--02-58-04.sql" server="ftp.taylorlovett.com/www/" local="129309802843020000" remote="129319862400000000" />
|
17 |
+
<file name="ccf-export-8-oct-2010--03-00-12.sql" server="ftp.taylorlovett.com/www/" local="129309804126920000" remote="129319862400000000" />
|
18 |
+
<file name="ccf-export-8-oct-2010--03-00-54.sql" server="ftp.taylorlovett.com/www/" local="129309804540320000" remote="129319862400000000" />
|
19 |
+
<file name="ccf-export-8-oct-2010--05-35-11.sql" server="ftp.taylorlovett.com/www/" local="129310329112950000" remote="129319862400000000" />
|
20 |
+
<file name="ccf-export-8-oct-2010--05-44-19.sql" server="ftp.taylorlovett.com/www/" local="129310334595280000" remote="129319862400000000" />
|
21 |
+
</dwsync>
|
export/ccf-export-10-oct-2010--07-53-45.sql
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Form', '', 'Post', '4,6,3,7,8,9,5,11,1,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', '', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '0', '1', 'If you found my website through Google, check this box.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '1,2,3,', '1');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field', '1', 'Hidden', '2', '66', '1', 'ons! "\\; '\\; %', '', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('11', 'this_is_a_super_long_slug_to_mess_up_shit', 'Super Long Slug Field!', 'Text', '', '0', '1', 'intrdsgsf ', '', '1');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('3', 'test4', '200px', '200px', '100px', '0', '200px', '100%', 'auto', '35px', '1em', '1.2em', '1.5em', '1em', '32469c', 'none', 'bdbdbd', 'ffffff', '707070', '666666', '333333', 'tahoma, verdana, ari', '32469c', 'solid', '8px', '7px', '6px', '6px', '32469c', 'efefef', 'auto', '1em', '12px', '180px', '333333', '333333', 'ffffff', '6px');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('5', 'test6', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'fcd8d8', 'solid', '8px', '7px', '5px', '5px', 'ffb5b5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('7', '1286554893', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:6:"tl.com"\\;s:10:"fixedEmail"\\;s:4:"sdsd"\\;s:9:"ccf_phone"\\;s:6:"234234"\\;s:18:"ccf_contact_method"\\;s:8:"By Email"\\;s:11:"ccf_message"\\;s:30:"my message ! "\\; '\\; ^ %"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('8', '1286563309', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:29:"taylor lovet sdfsdfsdf sdfsdf"\\;s:11:"ccf_website"\\;s:32:"taylorlovett.com/sdfsdfsdfsdfsdf"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:26:"23412412523643623513413413"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:244:"this is going to be a super long class. i am extremely bored in this class. i need to call someone as soon as this class ends and possibly go fget some food. i need to study for 451 and 406 and start the 330 project as soon as humanly possible."\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:89:"sdfsdf sdfsiu sdfsd \\;oaiuwer\\; poewripd sdfsdf lkjsdfsdf asdard tisher sdfs sdf sdfsdf ds "\\;');
|
42 |
+
|
43 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
44 |
+
|
45 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
46 |
+
|
47 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
### BEGIN WP Options Table Query
|
52 |
+
|
53 |
+
UPDATE `wp281_options` SET `option_value`='a:20:{s:16:"show_widget_home";s:1:"1";s:17:"show_widget_pages";s:1:"1";s:19:"show_widget_singles";s:1:"1";s:22:"show_widget_categories";s:1:"1";s:20:"show_widget_archives";s:1:"1";s:16:"default_to_email";s:22:"admin@taylorlovett.com";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";s:1:"0";s:11:"author_link";s:1:"1";s:22:"enable_widget_tooltips";s:1:"1";s:16:"wp_mail_function";s:1:"1";s:26:"form_success_message_title";s:13:"Form Success!";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";s:1:"1";s:9:"code_type";s:5:"XHTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";s:1:"1";s:10:"admin_ajax";s:1:"1";s:16:"custom_thank_you";N;}' WHERE `option_name`='customContactFormsAdminOptions';
|
54 |
+
|
55 |
+
### END WP Options Table Query
|
export/ccf-export-15-oct-2010--05-27-33.sql
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Formhi', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', 'http://google.com', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('2', 'widget_form', 'Widget Form', '', 'Post', '6,7,2,', 'Send Stuff111', '<\\;p>\\;This is the widget form say the Custom Code field.<\\;/p>\\;', '5', 'tlovett1@umd.edu', 'Thank you for filling out the widget form. Taylor Lovett went to Progress at noon earlier and had a pretty good meeting. I saw Les, Adam, and Andra. I need to study number theory soon as well as start the CMSC330 project.', '% '\\; "\\;', 'Thank You');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '1');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '56', '1', 'If you found my website through Google, check this box.', '', '0');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '2,3,1,', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field1', '1', 'Radio', '2', '66', '1', 'ons! "\\; '\\; %', '1,2,', '1');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('3', 'test4', '200px', '200px', '100px', '0', '200px', '100%', 'auto', '35px', '1em', '1.2em', '1.5em', '1em', '32469c', 'none', 'bdbdbd', 'ffffff', '707070', '666666', '333333', 'tahoma, verdana, ari', '32469c', 'solid', '8px', '7px', '6px', '6px', '32469c', 'efefef', 'auto', '1em', '12px', '180px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('5', 'test6', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'fcd8d8', 'solid', '8px', '7px', '5px', '5px', 'ffb5b5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('8', 'safsd', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'f5f5f5', 'solid', '8px', '7px', '5px', '5px', 'f5f5f5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px', '000000', '12px', 'ffffff');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('7', '1286554893', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:6:"tl.com"\\;s:10:"fixedEmail"\\;s:4:"sdsd"\\;s:9:"ccf_phone"\\;s:6:"234234"\\;s:18:"ccf_contact_method"\\;s:8:"By Email"\\;s:11:"ccf_message"\\;s:30:"my message ! "\\; '\\; ^ %"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
42 |
+
|
43 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('8', '1286563309', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:29:"taylor lovet sdfsdfsdf sdfsdf"\\;s:11:"ccf_website"\\;s:32:"taylorlovett.com/sdfsdfsdfsdfsdf"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:26:"23412412523643623513413413"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:244:"this is going to be a super long class. i am extremely bored in this class. i need to call someone as soon as this class ends and possibly go fget some food. i need to study for 451 and 406 and start the 330 project as soon as humanly possible."\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:89:"sdfsdf sdfsiu sdfsd \\;oaiuwer\\; poewripd sdfsdf lkjsdfsdf asdard tisher sdfs sdf sdfsdf ds "\\;');
|
44 |
+
|
45 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('9', '1286989500', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"taylor"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:1:"3"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:63:"sdfsdf sdfsdfsd sdfsdfs sdfsdf sdfsdf sdf sdfsdf sdfsdfsd sdfsd"\\;');
|
46 |
+
|
47 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('10', '1286989692', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"asdasd"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:4:"seef"\\;s:11:"ccf_message"\\;s:5:"asdas"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
48 |
+
|
49 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('11', '1286989749', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"taylor lovett"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:7:"sadfasd"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;');
|
50 |
+
|
51 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('12', '1287032961', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:3:"sdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:4:"adsf"\\;');
|
52 |
+
|
53 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('13', '1287163154', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sdfsdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:40:"herrro "\\; '\\; \\; ? % <\\;table>\\;"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
54 |
+
|
55 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('14', '1287163436', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sersdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:19:"this is my message."\\;');
|
56 |
+
|
57 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
58 |
+
|
59 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
60 |
+
|
61 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
### BEGIN WP Options Table Query
|
66 |
+
|
67 |
+
UPDATE `wp281_options` SET `option_value`='a:20:{s:16:"show_widget_home";s:1:"1";s:17:"show_widget_pages";s:1:"1";s:19:"show_widget_singles";s:1:"1";s:22:"show_widget_categories";s:1:"1";s:20:"show_widget_archives";s:1:"1";s:16:"default_to_email";s:22:"admin@taylorlovett.com";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";s:1:"0";s:11:"author_link";s:1:"1";s:22:"enable_widget_tooltips";s:1:"1";s:16:"wp_mail_function";s:1:"1";s:26:"form_success_message_title";s:13:"Form Success!";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";s:1:"1";s:9:"code_type";s:5:"XHTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";s:1:"1";s:10:"admin_ajax";s:1:"1";s:16:"custom_thank_you";N;}' WHERE `option_name`='customContactFormsAdminOptions';
|
68 |
+
|
69 |
+
### END WP Options Table Query
|
export/ccf-export-15-oct-2010--06-06-41.sql
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Formhi', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', 'http://google.com', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('2', 'widget_form', 'Widget Form', '', 'Post', '6,7,2,1,', 'Send Stuff111', '<\\;p>\\;This is the widget form say the Custom Code field.<\\;/p>\\;', '5', 'tlovett1@umd.edu', 'Thank you for filling out the widget form. Taylor Lovett went to Progress at noon earlier and had a pretty good meeting. I saw Les, Adam, and Andra. I need to study number theory soon as well as start the CMSC330 project.', '% '\\; "\\;', 'Thank You');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '1');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '56', '1', 'If you found my website through Google, check this box.', '', '0');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '2,3,1,', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field1', '1', 'Radio', '2', '66', '1', 'ons! "\\; '\\; %', '1,2,', '1');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('3', 'test4', '200px', '200px', '100px', '0', '200px', '100%', 'auto', '35px', '1em', '1.2em', '1.5em', '1em', '32469c', 'none', 'bdbdbd', 'ffffff', '707070', '666666', '333333', 'tahoma, verdana, ari', '32469c', 'solid', '8px', '7px', '6px', '6px', '32469c', 'efefef', 'auto', '1em', '12px', '180px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('5', 'test6', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'fcd8d8', 'solid', '8px', '7px', '5px', '5px', 'ffb5b5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('8', 'safsd', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'f5f5f5', 'solid', '8px', '7px', '5px', '5px', 'f5f5f5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px', '000000', '12px', 'ffffff');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('7', '1286554893', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:6:"tl.com"\\;s:10:"fixedEmail"\\;s:4:"sdsd"\\;s:9:"ccf_phone"\\;s:6:"234234"\\;s:18:"ccf_contact_method"\\;s:8:"By Email"\\;s:11:"ccf_message"\\;s:30:"my message ! "\\; '\\; ^ %"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
42 |
+
|
43 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('8', '1286563309', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:29:"taylor lovet sdfsdfsdf sdfsdf"\\;s:11:"ccf_website"\\;s:32:"taylorlovett.com/sdfsdfsdfsdfsdf"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:26:"23412412523643623513413413"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:244:"this is going to be a super long class. i am extremely bored in this class. i need to call someone as soon as this class ends and possibly go fget some food. i need to study for 451 and 406 and start the 330 project as soon as humanly possible."\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:89:"sdfsdf sdfsiu sdfsd \\;oaiuwer\\; poewripd sdfsdf lkjsdfsdf asdard tisher sdfs sdf sdfsdf ds "\\;');
|
44 |
+
|
45 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('9', '1286989500', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"taylor"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:1:"3"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:63:"sdfsdf sdfsdfsd sdfsdfs sdfsdf sdfsdf sdf sdfsdf sdfsdfsd sdfsd"\\;');
|
46 |
+
|
47 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('10', '1286989692', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"asdasd"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:4:"seef"\\;s:11:"ccf_message"\\;s:5:"asdas"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
48 |
+
|
49 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('11', '1286989749', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"taylor lovett"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:7:"sadfasd"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;');
|
50 |
+
|
51 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('12', '1287032961', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:3:"sdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:4:"adsf"\\;');
|
52 |
+
|
53 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('13', '1287163154', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sdfsdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:40:"herrro "\\; '\\; \\; ? % <\\;table>\\;"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
54 |
+
|
55 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('14', '1287163436', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sersdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:19:"this is my message."\\;');
|
56 |
+
|
57 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('15', '1287163707', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sdvsdf"\\;s:11:"ccf_website"\\;s:6:"sdfsdf"\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:4:"assd"\\;');
|
58 |
+
|
59 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('16', '1287163806', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sdvsdf"\\;s:11:"ccf_website"\\;s:6:"sdfsdf"\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:4:"assd"\\;');
|
60 |
+
|
61 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('17', '1287164648', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sdvsdf"\\;s:11:"ccf_website"\\;s:6:"sdfsdf"\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:4:"assd"\\;');
|
62 |
+
|
63 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('18', '1287164812', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sdvsdf"\\;s:11:"ccf_website"\\;s:6:"sdfsdf"\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:4:"assd"\\;');
|
64 |
+
|
65 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
66 |
+
|
67 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
68 |
+
|
69 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
+
### BEGIN WP Options Table Query
|
74 |
+
|
75 |
+
UPDATE `wp281_options` SET `option_value`='a:20:{s:16:"show_widget_home";s:1:"1";s:17:"show_widget_pages";s:1:"1";s:19:"show_widget_singles";s:1:"1";s:22:"show_widget_categories";s:1:"1";s:20:"show_widget_archives";s:1:"1";s:16:"default_to_email";s:22:"admin@taylorlovett.com";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";s:1:"0";s:11:"author_link";s:1:"1";s:22:"enable_widget_tooltips";s:1:"1";s:16:"wp_mail_function";s:1:"1";s:26:"form_success_message_title";s:13:"Form Success!";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";s:1:"1";s:9:"code_type";s:5:"XHTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";s:1:"1";s:10:"admin_ajax";s:1:"1";s:16:"custom_thank_you";N;}' WHERE `option_name`='customContactFormsAdminOptions';
|
76 |
+
|
77 |
+
### END WP Options Table Query
|
export/ccf-export-15-oct-2010--06-26-24.sql
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
### BEGIN WP Options Table Query
|
10 |
+
|
11 |
+
UPDATE `wp281_options` SET `option_value`='a:20:{s:16:"show_widget_home";s:1:"1";s:17:"show_widget_pages";s:1:"1";s:19:"show_widget_singles";s:1:"1";s:22:"show_widget_categories";s:1:"1";s:20:"show_widget_archives";s:1:"1";s:16:"default_to_email";s:22:"admin@taylorlovett.com";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";s:1:"0";s:11:"author_link";s:1:"1";s:22:"enable_widget_tooltips";s:1:"1";s:16:"wp_mail_function";s:1:"1";s:26:"form_success_message_title";s:13:"Form Success!";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";s:1:"1";s:9:"code_type";s:5:"XHTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";s:1:"1";s:10:"admin_ajax";s:1:"1";s:16:"custom_thank_you";N;}' WHERE `option_name`='customContactFormsAdminOptions';
|
12 |
+
|
13 |
+
### END WP Options Table Query
|
export/ccf-export-15-oct-2010--06-35-08.sql
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
### BEGIN WP Options Table Query
|
10 |
+
|
11 |
+
UPDATE `wp281_options` SET `option_value`='a:20:{s:16:"show_widget_home";s:1:"1";s:17:"show_widget_pages";s:1:"1";s:19:"show_widget_singles";s:1:"1";s:22:"show_widget_categories";s:1:"1";s:20:"show_widget_archives";s:1:"1";s:16:"default_to_email";s:22:"admin@taylorlovett.com";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";s:1:"0";s:11:"author_link";s:1:"1";s:22:"enable_widget_tooltips";s:1:"1";s:16:"wp_mail_function";s:1:"1";s:26:"form_success_message_title";s:13:"Form Success!";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";s:1:"1";s:9:"code_type";s:5:"XHTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";s:1:"1";s:10:"admin_ajax";s:1:"1";s:16:"custom_thank_you";N;}' WHERE `option_name`='customContactFormsAdminOptions';
|
12 |
+
|
13 |
+
### END WP Options Table Query
|
export/ccf-export-15-oct-2010--06-41-23.sql
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Formhi', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', 'http://google.com', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('2', 'widget_form', 'Widget Form', '', 'Post', '6,7,2,', 'Send Stuff111', '<\\;p>\\;This is the widget form say the Custom Code field.<\\;/p>\\;', '5', 'tlovett1@umd.edu', 'Thank you for filling out the widget form. Taylor Lovett went to Progress at noon earlier and had a pretty good meeting. I saw Les, Adam, and Andra. I need to study number theory soon as well as start the CMSC330 project.', '% '\\; "\\;', 'Thank You');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '1');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '56', '1', 'If you found my website through Google, check this box.', '', '0');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '2,3,1,', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field1', '1', 'Radio', '2', '66', '1', 'ons! "\\; '\\; %', '1,2,', '1');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('3', 'test4', '200px', '200px', '100px', '0', '200px', '100%', 'auto', '35px', '1em', '1.2em', '1.5em', '1em', '32469c', 'none', 'bdbdbd', 'ffffff', '707070', '666666', '333333', 'tahoma, verdana, ari', '32469c', 'solid', '8px', '7px', '6px', '6px', '32469c', 'efefef', 'auto', '1em', '12px', '180px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('5', 'test6', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'fcd8d8', 'solid', '8px', '7px', '5px', '5px', 'ffb5b5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('8', 'safsd', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'f5f5f5', 'solid', '8px', '7px', '5px', '5px', 'f5f5f5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px', '000000', '12px', 'ffffff');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('7', '1286554893', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:6:"tl.com"\\;s:10:"fixedEmail"\\;s:4:"sdsd"\\;s:9:"ccf_phone"\\;s:6:"234234"\\;s:18:"ccf_contact_method"\\;s:8:"By Email"\\;s:11:"ccf_message"\\;s:30:"my message ! "\\; '\\; ^ %"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
42 |
+
|
43 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('8', '1286563309', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:29:"taylor lovet sdfsdfsdf sdfsdf"\\;s:11:"ccf_website"\\;s:32:"taylorlovett.com/sdfsdfsdfsdfsdf"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:26:"23412412523643623513413413"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:244:"this is going to be a super long class. i am extremely bored in this class. i need to call someone as soon as this class ends and possibly go fget some food. i need to study for 451 and 406 and start the 330 project as soon as humanly possible."\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:89:"sdfsdf sdfsiu sdfsd \\;oaiuwer\\; poewripd sdfsdf lkjsdfsdf asdard tisher sdfs sdf sdfsdf ds "\\;');
|
44 |
+
|
45 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('9', '1286989500', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"taylor"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:1:"3"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:63:"sdfsdf sdfsdfsd sdfsdfs sdfsdf sdfsdf sdf sdfsdf sdfsdfsd sdfsd"\\;');
|
46 |
+
|
47 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('10', '1286989692', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"asdasd"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:4:"seef"\\;s:11:"ccf_message"\\;s:5:"asdas"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
48 |
+
|
49 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('11', '1286989749', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"taylor lovett"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:7:"sadfasd"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;');
|
50 |
+
|
51 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('12', '1287032961', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:3:"sdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:4:"adsf"\\;');
|
52 |
+
|
53 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('13', '1287163154', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sdfsdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:40:"herrro "\\; '\\; \\; ? % <\\;table>\\;"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
54 |
+
|
55 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('14', '1287163436', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sersdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:19:"this is my message."\\;');
|
56 |
+
|
57 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
58 |
+
|
59 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
60 |
+
|
61 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
### BEGIN WP Options Table Query
|
66 |
+
|
67 |
+
UPDATE `wp281_options` SET `option_value`='a:20:{s:16:"show_widget_home";s:1:"1";s:17:"show_widget_pages";N;s:19:"show_widget_singles";s:1:"1";s:22:"show_widget_categories";s:1:"1";s:20:"show_widget_archives";N;s:16:"default_to_email";s:4:"poop";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";s:1:"0";s:11:"author_link";s:1:"1";s:22:"enable_widget_tooltips";s:1:"1";s:16:"wp_mail_function";s:1:"1";s:26:"form_success_message_title";s:13:"Form Success!";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";s:1:"1";s:9:"code_type";s:4:"HTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";s:1:"0";s:10:"admin_ajax";s:1:"1";s:16:"custom_thank_you";N;}' WHERE `option_name`='customContactFormsAdminOptions';
|
68 |
+
|
69 |
+
### END WP Options Table Query
|
export/ccf-export-15-oct-2010--09-20-46.sql
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Custom Contact Forms Export File
|
2 |
+
# It is recommended that you do not edit this file. The order of the
|
3 |
+
# queries is important if you intend to use this file through the CCF
|
4 |
+
# exporter. The query to update general settings MUST be the last query
|
5 |
+
# in this file.
|
6 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Formhi', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', 'http://google.com', 'Thank You!!!');
|
7 |
+
|
8 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('2', 'widget_form', 'Widget Form', '', 'Post', '6,7,2,', 'Send Stuff111', '<\\;p>\\;This is the widget form say the Custom Code field.<\\;/p>\\;', '5', 'tlovett1@umd.edu', 'Thank you for filling out the widget form. Taylor Lovett went to Progress at noon earlier and had a pretty good meeting. I saw Les, Adam, and Andra. I need to study number theory soon as well as start the CMSC330 project.', '% '\\; "\\;', 'Thank You');
|
9 |
+
|
10 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
11 |
+
|
12 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
13 |
+
|
14 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
15 |
+
|
16 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
17 |
+
|
18 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
19 |
+
|
20 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '1');
|
21 |
+
|
22 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
23 |
+
|
24 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '56', '1', 'If you found my website through Google, check this box.', '', '0');
|
25 |
+
|
26 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '2,3,1,', '1');
|
27 |
+
|
28 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field1', '1', 'Radio', '2', '66', '1', 'ons! "\\; '\\; %', '1,2,', '1');
|
29 |
+
|
30 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('3', 'test4', '200px', '200px', '100px', '0', '200px', '100%', 'auto', '35px', '1em', '1.2em', '1.5em', '1em', '32469c', 'none', 'bdbdbd', 'ffffff', '707070', '666666', '333333', 'tahoma, verdana, ari', '32469c', 'solid', '8px', '7px', '6px', '6px', '32469c', 'efefef', 'auto', '1em', '12px', '180px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
31 |
+
|
32 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('5', 'test6', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'fcd8d8', 'solid', '8px', '7px', '5px', '5px', 'ffb5b5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
33 |
+
|
34 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('8', 'safsd', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'f5f5f5', 'solid', '8px', '7px', '5px', '5px', 'f5f5f5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px', '000000', '12px', 'ffffff');
|
35 |
+
|
36 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
37 |
+
|
38 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
39 |
+
|
40 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
41 |
+
|
42 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
43 |
+
|
44 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
45 |
+
|
46 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('7', '1286554893', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:6:"tl.com"\\;s:10:"fixedEmail"\\;s:4:"sdsd"\\;s:9:"ccf_phone"\\;s:6:"234234"\\;s:18:"ccf_contact_method"\\;s:8:"By Email"\\;s:11:"ccf_message"\\;s:30:"my message ! "\\; '\\; ^ %"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
47 |
+
|
48 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('8', '1286563309', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:29:"taylor lovet sdfsdfsdf sdfsdf"\\;s:11:"ccf_website"\\;s:32:"taylorlovett.com/sdfsdfsdfsdfsdf"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:26:"23412412523643623513413413"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:244:"this is going to be a super long class. i am extremely bored in this class. i need to call someone as soon as this class ends and possibly go fget some food. i need to study for 451 and 406 and start the 330 project as soon as humanly possible."\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:89:"sdfsdf sdfsiu sdfsd \\;oaiuwer\\; poewripd sdfsdf lkjsdfsdf asdard tisher sdfs sdf sdfsdf ds "\\;');
|
49 |
+
|
50 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('9', '1286989500', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"taylor"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:1:"3"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:63:"sdfsdf sdfsdfsd sdfsdfs sdfsdf sdfsdf sdf sdfsdf sdfsdfsd sdfsd"\\;');
|
51 |
+
|
52 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('10', '1286989692', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"asdasd"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:4:"seef"\\;s:11:"ccf_message"\\;s:5:"asdas"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
53 |
+
|
54 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('11', '1286989749', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"taylor lovett"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:7:"sadfasd"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;');
|
55 |
+
|
56 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('12', '1287032961', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:3:"sdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:4:"adsf"\\;');
|
57 |
+
|
58 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('13', '1287163154', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sdfsdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:40:"herrro "\\; '\\; \\; ? % <\\;table>\\;"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
59 |
+
|
60 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('14', '1287163436', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sersdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:19:"this is my message."\\;');
|
61 |
+
|
62 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
63 |
+
|
64 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
65 |
+
|
66 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
67 |
+
|
68 |
+
|
69 |
+
UPDATE `wp281_options` SET `option_value`='a:20:{s:16:"show_widget_home";s:1:"1";s:17:"show_widget_pages";s:1:"1";s:19:"show_widget_singles";s:1:"1";s:22:"show_widget_categories";s:1:"1";s:20:"show_widget_archives";s:1:"1";s:16:"default_to_email";s:22:"admin@taylorlovett.com";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";s:1:"0";s:11:"author_link";s:1:"1";s:22:"enable_widget_tooltips";s:1:"1";s:16:"wp_mail_function";s:1:"1";s:26:"form_success_message_title";s:13:"Form Success!";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";s:1:"1";s:9:"code_type";s:5:"XHTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";s:1:"1";s:10:"admin_ajax";s:1:"1";s:16:"custom_thank_you";N;}' WHERE `option_name`='customContactFormsAdminOptions';
|
export/ccf-export-16-oct-2010--04-31-24.sql
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## Custom Contact Forms Export File
|
2 |
+
## It is recommended that you do not edit this file. The order of the
|
3 |
+
## queries is important if you intend to use this file through the CCF
|
4 |
+
## exporter. The query to update general settings MUST be the last query
|
5 |
+
## in this file.
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Formhi', '', 'Post', '4,6,3,7,8,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', 'http://google.com', 'Thank You!!!');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('2', 'widget_form', 'Widget Form', '', 'Post', '6,7,2,', 'Send Stuff111', '<\\;p>\\;This is the widget form say the Custom Code field.<\\;/p>\\;', '5', 'tlovett1@umd.edu', 'Thank you for filling out the widget form. Taylor Lovett went to Progress at noon earlier and had a pretty good meeting. I saw Les, Adam, and Andra. I need to study number theory soon as well as start the CMSC330 project.', '% '\\; "\\;', 'Thank You');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '56', '1', 'If you found my website through Google, check this box.', '', '0');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field1', '1', 'Radio', '2', '66', '1', 'ons! "\\; '\\; %', '1,2,', '1');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '2,3,1,', '1');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('3', 'test4', '200px', '200px', '100px', '0', '200px', '100%', 'auto', '35px', '1em', '1.2em', '1.5em', '1em', '32469c', 'none', 'bdbdbd', 'ffffff', '707070', '666666', '333333', 'tahoma, verdana, ari', '32469c', 'solid', '8px', '7px', '6px', '6px', '32469c', 'efefef', 'auto', '1em', '12px', '180px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround, tooltip_backgroundcolor, tooltip_fontsize, tooltip_fontcolor) VALUES ('5', 'test6', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'fcd8d8', 'solid', '8px', '7px', '5px', '5px', 'ffb5b5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px', 'ffadff', '9px', '630a63');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
42 |
+
|
43 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
44 |
+
|
45 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('7', '1286554893', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:6:"tl.com"\\;s:10:"fixedEmail"\\;s:4:"sdsd"\\;s:9:"ccf_phone"\\;s:6:"234234"\\;s:18:"ccf_contact_method"\\;s:8:"By Email"\\;s:11:"ccf_message"\\;s:30:"my message ! "\\; '\\; ^ %"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
46 |
+
|
47 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('8', '1286563309', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:29:"taylor lovet sdfsdfsdf sdfsdf"\\;s:11:"ccf_website"\\;s:32:"taylorlovett.com/sdfsdfsdfsdfsdf"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:26:"23412412523643623513413413"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:244:"this is going to be a super long class. i am extremely bored in this class. i need to call someone as soon as this class ends and possibly go fget some food. i need to study for 451 and 406 and start the 330 project as soon as humanly possible."\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:89:"sdfsdf sdfsiu sdfsd \\;oaiuwer\\; poewripd sdfsdf lkjsdfsdf asdard tisher sdfs sdf sdfsdf ds "\\;');
|
48 |
+
|
49 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('9', '1286989500', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"taylor"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:1:"3"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:63:"sdfsdf sdfsdfsd sdfsdfs sdfsdf sdfsdf sdf sdfsdf sdfsdfsd sdfsd"\\;');
|
50 |
+
|
51 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('10', '1286989692', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"asdasd"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:4:"seef"\\;s:11:"ccf_message"\\;s:5:"asdas"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
52 |
+
|
53 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('11', '1286989749', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"taylor lovett"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:7:"sadfasd"\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:6:"asdasd"\\;');
|
54 |
+
|
55 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('12', '1287032961', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:3:"sdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:0:""\\;s:41:"this_is_a_super_long_slug_to_mess_up_shit"\\;s:4:"adsf"\\;');
|
56 |
+
|
57 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('14', '1287163436', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sersdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:19:"this is my message."\\;');
|
58 |
+
|
59 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('13', '1287163154', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:6:"sdfsdf"\\;s:11:"ccf_website"\\;s:0:""\\;s:10:"fixedEmail"\\;s:0:""\\;s:9:"ccf_phone"\\;s:0:""\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:40:"herrro "\\; '\\; \\; ? % <\\;table>\\;"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
60 |
+
|
61 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
62 |
+
|
63 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
64 |
+
|
65 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
66 |
+
|
67 |
+
|
68 |
+
UPDATE `wp281_options` SET `option_value`='a:20:{s:16:"show_widget_home";s:1:"1";s:17:"show_widget_pages";s:1:"1";s:19:"show_widget_singles";s:1:"1";s:22:"show_widget_categories";s:1:"1";s:20:"show_widget_archives";s:1:"1";s:16:"default_to_email";s:22:"admin@taylorlovett.com";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";s:1:"0";s:11:"author_link";s:1:"1";s:22:"enable_widget_tooltips";s:1:"1";s:16:"wp_mail_function";s:1:"1";s:26:"form_success_message_title";s:4:"poop";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";s:1:"1";s:9:"code_type";s:5:"XHTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";s:1:"1";s:10:"admin_ajax";s:1:"1";s:16:"custom_thank_you";N;}' WHERE `option_name`='customContactFormsAdminOptions';
|
export/ccf-export-22-sep-2010--06-32-32.html
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<form id="form-14-1285180352" method="post" action="/guitar/wp-admin/options-general.php?page=custom-contact-forms" class=" customcontactform">
|
2 |
+
|
3 |
+
<h4 id="h4-14-1285180352">Contact Form</h4>
|
4 |
+
<div>
|
5 |
+
<label for="fixedEmail">* Your Email1</label>
|
6 |
+
<input title="a (required)" class="ccf-tooltip-field" id="fixedEmail-1285180352" type="text" name="fixedEmail" value="" maxlength="101" />
|
7 |
+
</div>
|
8 |
+
<div>
|
9 |
+
<img width="63" height="18" alt="Captcha image for a contact form" id="captcha-image" src="http://taylorlovett.com/guitar/wp-content/plugins/custom-contact-forms/image.php?fid=14" />
|
10 |
+
<div><label for="captcha14">* Type the numbers.</label> <input type="text" title="Type the aaaanumbers displayed in the image above." class="tooltip-field" name="captcha" id="captcha14" maxlength="20" /></div>
|
11 |
+
</div>
|
12 |
+
<input name="form_page" value="/guitar/wp-admin/options-general.php?page=custom-contact-forms" type="hidden" />
|
13 |
+
<input type="hidden" name="fid" value="14" />
|
14 |
+
|
15 |
+
<input type="submit" id="submit-14-1285180352" class="submit" value="Send Message" name="customcontactforms_submit" />
|
16 |
+
</form>
|
17 |
+
<a class="hide" href="http://www.taylorlovett.com" title="Rockville Web Developer, Wordpress Plugins">Wordpress plugin expert and Rockville Web Developer Taylor Lovett</a><!-- Contact Form created by Taylor Lovett http://www.taylorlovett.com --><br />
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
<div>
|
23 |
+
<label for="fixedEmail">* Your Email1</label>
|
24 |
+
<input title="a (required)" class="ccf-tooltip-field" id="fixedEmail-1285180352" type="text" name="fixedEmail" value="" maxlength="101" />
|
25 |
+
</div>
|
26 |
+
<div>
|
27 |
+
<input title="This helps us prevasdsadasdent spam." class="ccf-tooltip-field" type="checkbox" name="ishuman" value="1" id="ishuman-1285180352" />
|
28 |
+
<label class="checkbox" for="ishuman">* Check if you are human.</label>
|
29 |
+
</div>
|
30 |
+
<input name="form_page" value="/guitar/wp-admin/options-general.php?page=custom-contact-forms" type="hidden" />
|
31 |
+
<input type="hidden" name="fid" value="1" />
|
32 |
+
|
33 |
+
<input type="submit" id="submit-1-1285180352" class="submit" value="Submit" name="customcontactforms_submit" />
|
34 |
+
</form>
|
35 |
+
<a class="hide" href="http://www.taylorlovett.com" title="Rockville Web Developer, Wordpress Plugins">Wordpress plugin expert and Rockville Web Developer Taylor Lovett</a><!-- Contact Form created by Taylor Lovett http://www.taylorlovett.com --><br />
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
<h4 id="h4-2-1285180352">Widget Form</h4>
|
41 |
+
<div>
|
42 |
+
<input title="This helps us prevasdsadasdent spam." class="ccf-tooltip-field" type="checkbox" name="ishuman" value="1" id="ishuman-1285180352" />
|
43 |
+
<label class="checkbox" for="ishuman">* Check if you are human.</label>
|
44 |
+
</div>
|
45 |
+
<div>
|
46 |
+
<img width="63" height="18" alt="Captcha image for a contact form" id="captcha-image" src="http://taylorlovett.com/guitar/wp-content/plugins/custom-contact-forms/image.php?fid=2" />
|
47 |
+
<div><label for="captcha2">* Type the numbers.</label> <input type="text" title="Type the aaaanumbers displayed in the image above." class="tooltip-field" name="captcha" id="captcha2" maxlength="20" /></div>
|
48 |
+
</div>
|
49 |
+
<input name="form_page" value="/guitar/wp-admin/options-general.php?page=custom-contact-forms" type="hidden" />
|
50 |
+
<input type="hidden" name="fid" value="2" />
|
51 |
+
|
52 |
+
<input type="submit" id="submit-2-1285180352" class="submit" value="Submit" name="customcontactforms_submit" />
|
53 |
+
</form>
|
54 |
+
<a class="hide" href="http://www.taylorlovett.com" title="Rockville Web Developer, Wordpress Plugins">Wordpress plugin expert and Rockville Web Developer Taylor Lovett</a><!-- Contact Form created by Taylor Lovett http://www.taylorlovett.com --><br />
|
55 |
+
|
56 |
+
|
57 |
+
|
export/ccf-export-26-sep-2010--08-13-40.sql
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* l:310 */ INSERT INTO `wpgit3_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
2 |
+
|
3 |
+
/* l:550 */ INSERT INTO `wpgit3_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_requiredid, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0''2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
4 |
+
|
5 |
+
/* l:782 */ INSERT INTO `wpgit3_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_requiredid, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_requiredid, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0''2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0''3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
6 |
+
|
7 |
+
/* l:963 */ INSERT INTO `wpgit3_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_requiredid, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_requiredid, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_requiredid, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0''2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0''3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0''4', 'xvx', '', 'Text', '', '0', '1', '', '', '0');
|
8 |
+
|
export/ccf-export-7-oct-2010--08-57-12.sql
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Form', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', '', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '0', '1', 'If you found my website through Google, check this box.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '1,2,3,', '1');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field', '1', 'Hidden', '2', '66', '1', 'ons! "\\; '\\; %', '', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('3', 'test2', '200px', '200px', '100px', '1px', '110px', '500px', '80px', '35px', '.8em', '1.2em', '1em', '1em', 'ba0707', 'none', '333333', '333333', 'c71cc7', '333333', '333333', 'Verdana, tahoma, arial', 'efefef', 'solid', '1em', '5px', '2px', '4px', 'ffffff', 'efefef', 'auto', '1em', '12px', '200px', '333333', '333333', 'fcf7dd', '4px');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('5', 'LOCALHOST', 'LOCALHOST', 'loc');
|
42 |
+
|
export/ccf-export-8-oct-2010--02-57-14.sql
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Form', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', '', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '0', '1', 'If you found my website through Google, check this box.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '1,2,3,', '1');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field', '1', 'Hidden', '2', '66', '1', 'ons! "\\; '\\; %', '', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('3', 'test2', '200px', '200px', '100px', '1px', '110px', '500px', '80px', '35px', '.8em', '1.2em', '1em', '1em', 'ba0707', 'none', '333333', '333333', 'c71cc7', '333333', '333333', 'Verdana, tahoma, arial', 'efefef', 'solid', '1em', '5px', '2px', '4px', 'ffffff', 'efefef', 'auto', '1em', '12px', '200px', '333333', '333333', 'fcf7dd', '4px');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('5', 'LOCALHOST', 'LOCALHOST', 'loc');
|
42 |
+
|
export/ccf-export-8-oct-2010--02-58-04.sql
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Form', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', '', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '0', '1', 'If you found my website through Google, check this box.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '1,2,3,', '1');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field', '1', 'Hidden', '2', '66', '1', 'ons! "\\; '\\; %', '', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('3', 'test2', '200px', '200px', '100px', '1px', '110px', '500px', '80px', '35px', '.8em', '1.2em', '1em', '1em', 'ba0707', 'none', '333333', '333333', 'c71cc7', '333333', '333333', 'Verdana, tahoma, arial', 'efefef', 'solid', '1em', '5px', '2px', '4px', 'ffffff', 'efefef', 'auto', '1em', '12px', '200px', '333333', '333333', 'fcf7dd', '4px');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('5', 'LOCALHOST', 'LOCALHOST', 'loc');
|
42 |
+
|
export/ccf-export-8-oct-2010--03-00-12.sql
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Form', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', '', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '0', '1', 'If you found my website through Google, check this box.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '1,2,3,', '1');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field', '1', 'Hidden', '2', '66', '1', 'ons! "\\; '\\; %', '', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('3', 'test2', '200px', '200px', '100px', '1px', '110px', '500px', '80px', '35px', '.8em', '1.2em', '1em', '1em', 'ba0707', 'none', '333333', '333333', 'c71cc7', '333333', '333333', 'Verdana, tahoma, arial', 'efefef', 'solid', '1em', '5px', '2px', '4px', 'ffffff', 'efefef', 'auto', '1em', '12px', '200px', '333333', '333333', 'fcf7dd', '4px');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('5', 'LOCALHOST', 'LOCALHOST', 'loc');
|
42 |
+
|
export/ccf-export-8-oct-2010--03-00-54.sql
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Form', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '3', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', '', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '0', '1', 'If you found my website through Google, check this box.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '1,2,3,', '1');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field', '1', 'Hidden', '2', '66', '1', 'ons! "\\; '\\; %', '', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('3', 'test2', '200px', '200px', '100px', '1px', '110px', '500px', '80px', '35px', '.8em', '1.2em', '1em', '1em', 'ba0707', 'none', '333333', '333333', 'c71cc7', '333333', '333333', 'Verdana, tahoma, arial', 'efefef', 'solid', '1em', '5px', '2px', '4px', 'ffffff', 'efefef', 'auto', '1em', '12px', '200px', '333333', '333333', 'fcf7dd', '4px');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('5', 'LOCALHOST', 'LOCALHOST', 'loc');
|
42 |
+
|
export/ccf-export-8-oct-2010--05-35-11.sql
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Form', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '5', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', '', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '0', '1', 'If you found my website through Google, check this box.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '1,2,3,', '1');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field', '1', 'Hidden', '2', '66', '1', 'ons! "\\; '\\; %', '', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('11', 'this_is_a_super_long_slug_to_mess_up_shit', 'Super Long Slug Field!', 'Text', '', '0', '1', 'intrdsgsf ', '', '1');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('3', 'test4', '200px', '200px', '100px', '0', '200px', '100%', 'auto', '35px', '1em', '1.2em', '1.3em', '1em', '999999', 'none', 'bdbdbd', '333333', '707070', '666666', '333333', 'tahoma, verdana, ari', 'f5f5f5', 'solid', '8px', '7px', '2px', '4px', 'f5f5f5', 'efefef', 'auto', '1em', '12px', '200px', '333333', '333333', 'ffffff', '6px');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('5', 'test6', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'fcd8d8', 'solid', '8px', '7px', '5px', '5px', 'ffb5b5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('7', '1286554893', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:6:"tl.com"\\;s:10:"fixedEmail"\\;s:4:"sdsd"\\;s:9:"ccf_phone"\\;s:6:"234234"\\;s:18:"ccf_contact_method"\\;s:8:"By Email"\\;s:11:"ccf_message"\\;s:30:"my message ! "\\; '\\; ^ %"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
42 |
+
|
43 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
44 |
+
|
45 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
46 |
+
|
47 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('5', 'LOCALHOST', 'LOCALHOST', 'loc');
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
### BEGIN WP Options Table Query
|
52 |
+
|
53 |
+
UPDATE `wp281_options` SET `option_value`='a:18:{s:16:"show_widget_home";i:1;s:17:"show_widget_pages";i:1;s:19:"show_widget_singles";i:1;s:22:"show_widget_categories";i:1;s:20:"show_widget_archives";i:1;s:16:"default_to_email";s:22:"admin@taylorlovett.com";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";i:0;s:11:"author_link";i:1;s:22:"enable_widget_tooltips";i:1;s:16:"wp_mail_function";i:1;s:26:"form_success_message_title";s:13:"Form Success!";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";i:1;s:9:"code_type";s:5:"XHTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";i:1;}' WHERE `option_name`='customContactFormsAdminOptions'
|
54 |
+
|
55 |
+
### END WP Options Table Query
|
export/ccf-export-8-oct-2010--05-44-19.sql
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INSERT INTO `wp281_customcontactforms_forms` (id, form_slug, form_title, form_action, form_method, form_fields, submit_button_text, custom_code, form_style, form_email, form_success_message, form_thank_you_page, form_success_title) VALUES ('1', 'ccf_contact_form', 'Contact Form', '', 'Post', '4,6,3,7,8,9,5,', 'Send Message1', '', '5', 'admin@taylorlovett.com', 'Thank you for filling out our contact form. We will contact you very soon by the way you specified.', '', 'Thank You!!!');
|
2 |
+
|
3 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('1', 'captcha', 'Type the numbers.', 'Text', '', '100', '0', 'Type the numbers displayed in the image above.', '', '0');
|
4 |
+
|
5 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('2', 'ishuman', 'Check if you are human.', 'Checkbox', '1', '0', '0', 'This helps us prevent spam.', '', '0');
|
6 |
+
|
7 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('3', 'fixedEmail', 'Your Email', 'Text', '', '100', '0', 'Please enter your email address.', '', '0');
|
8 |
+
|
9 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('4', 'ccf_name', 'Your Name:', 'Text', '', '100', '1', 'Please enter your full name.', '', '1');
|
10 |
+
|
11 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('5', 'ccf_message', 'Your Message:', 'Textarea', '', '0', '1', 'Enter any message or comment.', '', '0');
|
12 |
+
|
13 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('6', 'ccf_website', 'Your Website:', 'Text', '', '200', '1', 'If you have a website, please enter it here.', '', '0');
|
14 |
+
|
15 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('7', 'ccf_phone', 'Your Phone Number:', 'Text', '', '30', '1', 'Please enter your phone number.', '', '0');
|
16 |
+
|
17 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('8', 'ccf_google', 'Did you find my website through Google?', 'Checkbox', 'Yes', '0', '1', 'If you found my website through Google, check this box.', '', '0');
|
18 |
+
|
19 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('9', 'ccf_contact_method', 'How should we contact you?', 'Dropdown', '', '0', '1', 'By which method we should contact you?', '1,2,3,', '1');
|
20 |
+
|
21 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('10', 'test_field', '1', 'Hidden', '2', '66', '1', 'ons! "\\; '\\; %', '', '1');
|
22 |
+
|
23 |
+
INSERT INTO `wp281_customcontactforms_fields` (id, field_slug, field_label, field_type, field_value, field_maxlength, user_field, field_instructions, field_options, field_required) VALUES ('11', 'this_is_a_super_long_slug_to_mess_up_shit', 'Super Long Slug Field!', 'Text', '', '0', '1', 'intrdsgsf ', '', '1');
|
24 |
+
|
25 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('3', 'test4', '200px', '200px', '100px', '0', '200px', '100%', 'auto', '35px', '1em', '1.2em', '1.3em', '1em', '999999', 'none', 'bdbdbd', '333333', '707070', '666666', '333333', 'tahoma, verdana, ari', 'f5f5f5', 'solid', '8px', '7px', '2px', '4px', 'f5f5f5', 'efefef', 'auto', '1em', '12px', '200px', '333333', '333333', 'ffffff', '6px');
|
26 |
+
|
27 |
+
INSERT INTO `wp281_customcontactforms_styles` (id, style_slug, input_width, textarea_width, textarea_height, form_borderwidth, label_width, form_width, submit_width, submit_height, label_fontsize, title_fontsize, field_fontsize, submit_fontsize, field_bordercolor, form_borderstyle, form_bordercolor, field_fontcolor, label_fontcolor, title_fontcolor, submit_fontcolor, form_fontfamily, field_backgroundcolor, field_borderstyle, form_padding, form_margin, title_margin, label_margin, textarea_backgroundcolor, success_popover_bordercolor, dropdown_width, success_popover_fontsize, success_popover_title_fontsize, success_popover_height, success_popover_fontcolor, success_popover_title_fontcolor, form_backgroundcolor, field_borderround) VALUES ('5', 'test6', '200px', '200px', '90px', '0px', '200px', '100%', 'auto', '30px', '1em', '1.2em', '1.3em', '1.1em', '999999', 'solid', 'ffffff', '333333', '333333', '333333', '333333', 'Verdana, tahoma, arial', 'fcd8d8', 'solid', '8px', '7px', '5px', '5px', 'ffb5b5', 'efefef', 'auto', '12px', '15px', '200px', '333333', '333333', 'ffffff', '6px');
|
28 |
+
|
29 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('1', '1286474894', '1', 'designandbuildmaryland.com/contact-us/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:8:"test.com"\\;s:10:"fixedEmail"\\;s:13:"test@test.com"\\;s:9:"ccf_phone"\\;s:3:"301"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:17:"Do Not Contact Me"\\;s:11:"ccf_message"\\;s:21:"this is my message !!"\\;');
|
30 |
+
|
31 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('3', '1286476845', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:40:"'\\; "\\; <\\;table>\\;<\\;/body>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
32 |
+
|
33 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('4', '1286477480', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
34 |
+
|
35 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('5', '1286478663', '0', 'designandbuildmaryland.com/contact-us/', 's:11:"field_name1"\\;s:34:"dsfdsf "\\; '\\; <\\;table>\\;"\\;s:11:"field_name2"\\;s:3:"two"\\;');
|
36 |
+
|
37 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('6', '1286484942', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:4:"name"\\;s:11:"ccf_website"\\;s:7:"website"\\;s:10:"fixedEmail"\\;s:15:"email@email.com"\\;s:9:"ccf_phone"\\;s:4:"2342"\\;s:10:"ccf_google"\\;s:3:"Yes"\\;s:18:"ccf_contact_method"\\;s:8:"By Phone"\\;s:11:"ccf_message"\\;s:63:"this is my message "\\; '\\;'\\; <\\; >\\; FROM LOCLAHOST"\\;');
|
38 |
+
|
39 |
+
INSERT INTO `wp281_customcontactforms_user_data` (id, data_time, data_formid, data_formpage, data_value) VALUES ('7', '1286554893', '1', 'localhost/wp2-8-1/', 's:8:"ccf_name"\\;s:13:"Taylor Lovett"\\;s:11:"ccf_website"\\;s:6:"tl.com"\\;s:10:"fixedEmail"\\;s:4:"sdsd"\\;s:9:"ccf_phone"\\;s:6:"234234"\\;s:18:"ccf_contact_method"\\;s:8:"By Email"\\;s:11:"ccf_message"\\;s:30:"my message ! "\\; '\\; ^ %"\\;s:10:"ccf_google"\\;s:11:"Not Checked"\\;');
|
40 |
+
|
41 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('1', 'ccf_email', 'By Email', '');
|
42 |
+
|
43 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('2', 'ccf_phone', 'By Phone', '');
|
44 |
+
|
45 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('3', 'ccf_no_contact', 'Do Not Contact Me', '');
|
46 |
+
|
47 |
+
INSERT INTO `wp281_customcontactforms_field_options` (id, option_slug, option_label, option_value) VALUES ('5', 'LOCALHOST', 'LOCALHOST', 'loc');
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
### BEGIN WP Options Table Query
|
52 |
+
|
53 |
+
UPDATE `wp281_options` SET `option_value`='a:18:{s:16:"show_widget_home";i:1;s:17:"show_widget_pages";i:1;s:19:"show_widget_singles";i:1;s:22:"show_widget_categories";i:1;s:20:"show_widget_archives";i:1;s:16:"default_to_email";s:22:"admin@taylorlovett.com";s:18:"default_from_email";s:22:"admin@taylorlovett.com";s:20:"default_form_subject";s:37:"Someone Filled Out Your Contact Form!";s:21:"remember_field_values";i:0;s:11:"author_link";i:1;s:22:"enable_widget_tooltips";i:1;s:16:"wp_mail_function";i:1;s:26:"form_success_message_title";s:13:"Form Success!";s:20:"form_success_message";s:69:"Thank you for filling out our web form. We will get back to you ASAP.";s:13:"enable_jquery";i:1;s:9:"code_type";s:5:"XHTML";s:20:"show_install_popover";i:0;s:22:"email_form_submissions";i:1;}' WHERE `option_name`='customContactFormsAdminOptions';
|
54 |
+
|
55 |
+
### END WP Options Table Query
|
images/_notes/dwsync.xml
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="utf-8" ?>
|
2 |
+
<dwsync>
|
3 |
+
<file name="gd1.png" server="ftp.taylorlovett.com/www/" local="129256005000000000" remote="129287344200000000" />
|
4 |
+
<file name="gd2.png" server="ftp.taylorlovett.com/www/" local="129256005000000000" remote="129287344200000000" />
|
5 |
+
<file name="gd3.png" server="ftp.taylorlovett.com/www/" local="129256005000000000" remote="129287344200000000" />
|
6 |
+
<file name="gd4.png" server="ftp.taylorlovett.com/www/" local="129256005000000000" remote="129287344200000000" />
|
7 |
+
<file name="style-example.gif" server="ftp.taylorlovett.com/www/" local="129256005000000000" remote="129287344200000000" />
|
8 |
+
<file name="success-popover-example.gif" server="ftp.taylorlovett.com/www/" local="129275234072330000" remote="129287344200000000" />
|
9 |
+
<file name="blank.gif" server="ftp.taylorlovett.com/www/" local="128639119960000000" remote="129287343600000000" />
|
10 |
+
<file name="colorpicker_background.png" server="ftp.taylorlovett.com/www/" local="128639119960000000" remote="129287343600000000" />
|
11 |
+
<file name="colorpicker_hex.png" server="ftp.taylorlovett.com/www/" local="128639119960000000" remote="129287343600000000" />
|
12 |
+
<file name="colorpicker_hsb_b.png" server="ftp.taylorlovett.com/www/" local="128639119960000000" remote="129287343600000000" />
|
13 |
+
<file name="colorpicker_hsb_h.png" server="ftp.taylorlovett.com/www/" local="128639119960000000" remote="129287343600000000" />
|
14 |
+
<file name="colorpicker_hsb_s.png" server="ftp.taylorlovett.com/www/" local="128639119960000000" remote="129287343600000000" />
|
15 |
+
<file name="colorpicker_indic.gif" server="ftp.taylorlovett.com/www/" local="128639119960000000" remote="129287343600000000" />
|
16 |
+
<file name="colorpicker_overlay.png" server="ftp.taylorlovett.com/www/" local="128639119960000000" remote="129287343600000000" />
|
17 |
+
<file name="colorpicker_rgb_b.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287343600000000" />
|
18 |
+
<file name="colorpicker_rgb_g.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287343600000000" />
|
19 |
+
<file name="colorpicker_rgb_r.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287343600000000" />
|
20 |
+
<file name="colorpicker_select.gif" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287343600000000" />
|
21 |
+
<file name="colorpicker_submit.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287343600000000" />
|
22 |
+
<file name="custom_background.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287343600000000" />
|
23 |
+
<file name="custom_hex.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
24 |
+
<file name="custom_hsb_b.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
25 |
+
<file name="custom_hsb_h.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
26 |
+
<file name="custom_hsb_s.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
27 |
+
<file name="custom_indic.gif" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
28 |
+
<file name="custom_rgb_b.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
29 |
+
<file name="custom_rgb_g.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
30 |
+
<file name="custom_rgb_r.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
31 |
+
<file name="custom_submit.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
32 |
+
<file name="select.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
33 |
+
<file name="select2.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
34 |
+
<file name="slider.png" server="ftp.taylorlovett.com/www/" local="128639119980000000" remote="129287344200000000" />
|
35 |
+
<file name="wpspin_light.gif" server="ftp.taylorlovett.com/www/" local="129289719451726846" remote="129289690200000000" />
|
36 |
+
</dwsync>
|
lang/custom-contact-forms.mo
CHANGED
Binary file
|
lang/custom-contact-forms.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: custom-contact-forms\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2010-10-
|
6 |
-
"PO-Revision-Date: 2010-10-
|
7 |
"Last-Translator: Taylor Lovett <sdfds@sfs.com>\n"
|
8 |
"Language-Team: TaylorLovett.com <admin@taylorlovett.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -24,7 +24,7 @@ msgid "Plugin Instructions"
|
|
24 |
msgstr ""
|
25 |
|
26 |
#: ../custom-contact-forms-admin.php:6
|
27 |
-
#: ../custom-contact-forms-admin.php:
|
28 |
msgid "General Settings"
|
29 |
msgstr ""
|
30 |
|
@@ -41,12 +41,12 @@ msgid "Manage Fields"
|
|
41 |
msgstr ""
|
42 |
|
43 |
#: ../custom-contact-forms-admin.php:10
|
44 |
-
#: ../custom-contact-forms-admin.php:
|
45 |
msgid "Manage Fixed Fields"
|
46 |
msgstr ""
|
47 |
|
48 |
#: ../custom-contact-forms-admin.php:11
|
49 |
-
#: ../custom-contact-forms-admin.php:
|
50 |
msgid "Manage Forms"
|
51 |
msgstr ""
|
52 |
|
@@ -67,12 +67,12 @@ msgid "Manage Field Options"
|
|
67 |
msgstr ""
|
68 |
|
69 |
#: ../custom-contact-forms-admin.php:16
|
70 |
-
#: ../custom-contact-forms-admin.php:
|
71 |
msgid "Suggest a Feature"
|
72 |
msgstr ""
|
73 |
|
74 |
#: ../custom-contact-forms-admin.php:17
|
75 |
-
#: ../custom-contact-forms-admin.php:
|
76 |
msgid "Bug Report"
|
77 |
msgstr ""
|
78 |
|
@@ -139,7 +139,7 @@ msgid "If you set the field type as 'Dropdown' or 'Radio', you should enter the
|
|
139 |
msgstr ""
|
140 |
|
141 |
#: ../custom-contact-forms-admin.php:54
|
142 |
-
#: ../custom-contact-forms-admin.php:
|
143 |
msgid "Create a Field Option"
|
144 |
msgstr ""
|
145 |
|
@@ -167,22 +167,22 @@ msgstr ""
|
|
167 |
|
168 |
#: ../custom-contact-forms-admin.php:63
|
169 |
#: ../custom-contact-forms-admin.php:184
|
170 |
-
#: ../custom-contact-forms-admin.php:
|
171 |
-
#: ../custom-contact-forms-admin.php:
|
172 |
-
#: ../custom-contact-forms-admin.php:
|
173 |
-
#: ../custom-contact-forms-admin.php:
|
174 |
-
#: ../custom-contact-forms-admin.php:
|
175 |
msgid "No"
|
176 |
msgstr ""
|
177 |
|
178 |
#: ../custom-contact-forms-admin.php:64
|
179 |
#: ../custom-contact-forms-admin.php:183
|
180 |
-
#: ../custom-contact-forms-admin.php:297
|
181 |
#: ../custom-contact-forms-admin.php:304
|
182 |
-
#: ../custom-contact-forms-admin.php:
|
183 |
-
#: ../custom-contact-forms-admin.php:
|
184 |
-
#: ../custom-contact-forms-admin.php:
|
185 |
-
#: ../custom-contact-forms-admin.php:
|
|
|
186 |
msgid "Yes"
|
187 |
msgstr ""
|
188 |
|
@@ -191,8 +191,8 @@ msgid "(If a field is required and a user leaves it blank, the plugin will displ
|
|
191 |
msgstr ""
|
192 |
|
193 |
#: ../custom-contact-forms-admin.php:69
|
194 |
-
#: ../custom-contact-forms-admin.php:
|
195 |
-
#: ../custom-contact-forms-admin.php:
|
196 |
#: ../custom-contact-forms-usage-popover.php:155
|
197 |
msgid "Field Instructions:"
|
198 |
msgstr ""
|
@@ -259,7 +259,7 @@ msgid "Submit Button Text:"
|
|
259 |
msgstr ""
|
260 |
|
261 |
#: ../custom-contact-forms-admin.php:119
|
262 |
-
#: ../custom-contact-forms-admin.php:
|
263 |
#: ../custom-contact-forms-usage-popover.php:236
|
264 |
msgid "Custom Code:"
|
265 |
msgstr ""
|
@@ -310,913 +310,922 @@ msgid "Manage User Fields"
|
|
310 |
msgstr ""
|
311 |
|
312 |
#: ../custom-contact-forms-admin.php:155
|
313 |
-
#: ../custom-contact-forms-admin.php:
|
314 |
-
#: ../custom-contact-forms-admin.php:
|
315 |
-
#: ../custom-contact-forms-admin.php:
|
316 |
-
#: ../custom-contact-forms-admin.php:
|
317 |
-
#: ../custom-contact-forms-admin.php:
|
318 |
-
#: ../custom-contact-forms-admin.php:
|
319 |
-
#: ../custom-contact-forms-admin.php:
|
320 |
msgid "Slug"
|
321 |
msgstr ""
|
322 |
|
323 |
#: ../custom-contact-forms-admin.php:156
|
324 |
-
#: ../custom-contact-forms-admin.php:
|
325 |
-
#: ../custom-contact-forms-admin.php:
|
326 |
-
#: ../custom-contact-forms-admin.php:
|
327 |
-
#: ../custom-contact-forms-admin.php:
|
328 |
-
#: ../custom-contact-forms-admin.php:
|
329 |
msgid "Label"
|
330 |
msgstr ""
|
331 |
|
332 |
#: ../custom-contact-forms-admin.php:157
|
333 |
-
#: ../custom-contact-forms-admin.php:
|
334 |
-
#: ../custom-contact-forms-admin.php:
|
335 |
-
#: ../custom-contact-forms-admin.php:
|
336 |
msgid "Type"
|
337 |
msgstr ""
|
338 |
|
339 |
#: ../custom-contact-forms-admin.php:158
|
340 |
-
#: ../custom-contact-forms-admin.php:
|
341 |
-
#: ../custom-contact-forms-admin.php:
|
342 |
-
#: ../custom-contact-forms-admin.php:
|
343 |
msgid "Initial Value"
|
344 |
msgstr ""
|
345 |
|
346 |
#: ../custom-contact-forms-admin.php:159
|
347 |
-
#: ../custom-contact-forms-admin.php:
|
348 |
-
#: ../custom-contact-forms-admin.php:
|
349 |
-
#: ../custom-contact-forms-admin.php:
|
350 |
msgid "Required"
|
351 |
msgstr ""
|
352 |
|
353 |
#: ../custom-contact-forms-admin.php:160
|
354 |
-
#: ../custom-contact-forms-admin.php:
|
355 |
-
#: ../custom-contact-forms-admin.php:
|
356 |
-
#: ../custom-contact-forms-admin.php:
|
357 |
msgid "Maxlength"
|
358 |
msgstr ""
|
359 |
|
360 |
#: ../custom-contact-forms-admin.php:161
|
361 |
-
#: ../custom-contact-forms-admin.php:
|
362 |
-
#: ../custom-contact-forms-admin.php:
|
363 |
-
#: ../custom-contact-forms-admin.php:
|
364 |
-
#: ../custom-contact-forms-admin.php:
|
365 |
-
#: ../custom-contact-forms-admin.php:
|
366 |
-
#: ../custom-contact-forms-admin.php:
|
367 |
-
#: ../custom-contact-forms-admin.php:
|
368 |
-
#: ../custom-contact-forms-admin.php:
|
369 |
-
#: ../custom-contact-forms-admin.php:
|
370 |
msgid "Action"
|
371 |
msgstr ""
|
372 |
|
373 |
#: ../custom-contact-forms-admin.php:195
|
374 |
-
#: ../custom-contact-forms-admin.php:
|
375 |
-
#: ../custom-contact-forms-admin.php:
|
376 |
-
#: ../custom-contact-forms-admin.php:
|
377 |
-
#: ../custom-contact-forms-admin.php:
|
378 |
msgid "Save"
|
379 |
msgstr ""
|
380 |
|
381 |
#: ../custom-contact-forms-admin.php:196
|
382 |
-
#: ../custom-contact-forms-admin.php:
|
383 |
-
#: ../custom-contact-forms-admin.php:
|
384 |
-
#: ../custom-contact-forms-admin.php:
|
385 |
msgid "Delete"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: ../custom-contact-forms-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
389 |
msgid "Dettach Field Option"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: ../custom-contact-forms-admin.php:
|
393 |
msgid "Dettach field options you"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: ../custom-contact-forms-admin.php:
|
397 |
-
#: ../custom-contact-forms-admin.php:
|
398 |
msgid "create"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: ../custom-contact-forms-admin.php:
|
402 |
msgid "Attach Field Option"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: ../custom-contact-forms-admin.php:
|
406 |
msgid "Attach field options in the order you want them to display."
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: ../custom-contact-forms-admin.php:
|
410 |
-
#: ../custom-contact-forms-admin.php:
|
411 |
msgid "None"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: ../custom-contact-forms-admin.php:
|
415 |
msgid "Manage Field Options (for Dropdown and Radio Fields)"
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: ../custom-contact-forms-admin.php:
|
419 |
-
#: ../custom-contact-forms-admin.php:
|
420 |
msgid "Value"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: ../custom-contact-forms-admin.php:
|
424 |
msgid "No field options have been created."
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: ../custom-contact-forms-admin.php:
|
428 |
msgid "Option Slug:"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: ../custom-contact-forms-admin.php:
|
432 |
msgid "(Used to identify this option, solely for admin purposes; must be unique, and contain only letters, numbers, and underscores. Example: 'slug_one')"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: ../custom-contact-forms-admin.php:
|
436 |
#: ../custom-contact-forms-usage-popover.php:183
|
437 |
msgid "Option Label:"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: ../custom-contact-forms-admin.php:
|
441 |
msgid "(This is what is shown to the user in the dropdown or radio field. Example:)"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: ../custom-contact-forms-admin.php:
|
445 |
#: ../custom-contact-forms-usage-popover.php:188
|
446 |
msgid "Option Value:"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: ../custom-contact-forms-admin.php:
|
450 |
msgid "(This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: \"The color green\" => \"green\" or \"Yes\" => \"1\".)"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: ../custom-contact-forms-admin.php:
|
454 |
msgid "Create Field Option"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: ../custom-contact-forms-admin.php:
|
458 |
msgid "The option value is behind the scences; unseen by the user, but when a user fills out the form, the option value is what is actually sent in the email to you. For dropdown fields the option value is optional, for radio fields it is required."
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: ../custom-contact-forms-admin.php:
|
462 |
msgid "Form Display Code"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: ../custom-contact-forms-admin.php:
|
466 |
-
#: ../custom-contact-forms-admin.php:
|
467 |
msgid "Title"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: ../custom-contact-forms-admin.php:
|
471 |
-
#: ../custom-contact-forms-admin.php:
|
472 |
msgid "Button Text"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: ../custom-contact-forms-admin.php:
|
476 |
-
#: ../custom-contact-forms-admin.php:
|
477 |
msgid "Style"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: ../custom-contact-forms-admin.php:
|
481 |
msgid "Method"
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: ../custom-contact-forms-admin.php:
|
485 |
msgid "Form Action"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: ../custom-contact-forms-admin.php:
|
489 |
msgid "Destination Email"
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: ../custom-contact-forms-admin.php:
|
493 |
msgid "Success Message Title"
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: ../custom-contact-forms-admin.php:
|
497 |
msgid "Success Message"
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: ../custom-contact-forms-admin.php:
|
501 |
msgid "Custom Success URL"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: ../custom-contact-forms-admin.php:
|
505 |
msgid "The Form Method is the method by which information is transfer through your form. If you aren't an expert with HTML and PHP, leave this as Post."
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: ../custom-contact-forms-admin.php:
|
509 |
msgid "This lets you process your forms through alternate scripts. If you use a service like InfusionSoft or Aweber, set this to be the same form action as the code provided to you by that service, otherwise leave this blank."
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: ../custom-contact-forms-admin.php:
|
513 |
msgid "This email address will recieve form emails (provided that Email Form Submissions is set to Yes in general settings)."
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: ../custom-contact-forms-admin.php:
|
517 |
msgid "This will be displayed as the header in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: ../custom-contact-forms-admin.php:
|
521 |
msgid "This will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: ../custom-contact-forms-admin.php:
|
525 |
msgid "If this is filled out, users will be sent to this thank you page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success."
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: ../custom-contact-forms-admin.php:
|
529 |
msgid "Attached Fields:"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: ../custom-contact-forms-admin.php:
|
533 |
msgid "Dettach Field"
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: ../custom-contact-forms-admin.php:
|
537 |
msgid "Attach fields in the order you want them displayed."
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: ../custom-contact-forms-admin.php:
|
541 |
msgid "Attach Field:"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: ../custom-contact-forms-admin.php:
|
545 |
msgid "Attach Field"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: ../custom-contact-forms-admin.php:
|
549 |
msgid "Attach fixed fields or ones you"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: ../custom-contact-forms-admin.php:
|
553 |
msgid "The form display code above ([customcontact form=x]) will only work in Wordpress pages and posts. If you want to display this form in a theme file such as page.php, header.php, index.php, category.php, etc, then insert this PHP snippet."
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: ../custom-contact-forms-admin.php:
|
557 |
msgid "Code to Display Form in Theme Files:"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: ../custom-contact-forms-admin.php:
|
561 |
msgid "This field allows you to insert HTML directly after the starting <form> tag."
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: ../custom-contact-forms-admin.php:
|
565 |
msgid "Form Code"
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: ../custom-contact-forms-admin.php:
|
569 |
#: ../custom-contact-forms-usage-popover.php:307
|
570 |
msgid "Saved Form Submissions"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: ../custom-contact-forms-admin.php:
|
574 |
-
#: ../custom-contact-forms-admin.php:
|
575 |
msgid "Date Submitted"
|
576 |
msgstr ""
|
577 |
|
578 |
-
#: ../custom-contact-forms-admin.php:
|
579 |
-
#: ../custom-contact-forms-admin.php:
|
580 |
msgid "Form Submitted"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: ../custom-contact-forms-admin.php:
|
584 |
-
#: ../custom-contact-forms-admin.php:
|
585 |
msgid "Form Page"
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: ../custom-contact-forms-admin.php:
|
589 |
msgid "Custom HTML Form"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: ../custom-contact-forms-admin.php:
|
593 |
msgid "Email Form Submissions:"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: ../custom-contact-forms-admin.php:
|
597 |
msgid "When a user fills out one of your forms, the info he submitted is saved in the Saved Form Submission section of the admin panel for you to view. If this is enabled, you will also be sent an email containing the submission info."
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: ../custom-contact-forms-admin.php:
|
601 |
msgid "Default Email:"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: ../custom-contact-forms-admin.php:
|
605 |
msgid "Form emails will be sent <span>to</span> this address, if no destination email is specified by the form."
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: ../custom-contact-forms-admin.php:
|
609 |
msgid "Front End JQuery:"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: ../custom-contact-forms-admin.php:
|
613 |
-
#: ../custom-contact-forms-admin.php:
|
614 |
-
#: ../custom-contact-forms-admin.php:
|
615 |
msgid "Enabled"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: ../custom-contact-forms-admin.php:
|
619 |
-
#: ../custom-contact-forms-admin.php:
|
620 |
-
#: ../custom-contact-forms-admin.php:
|
621 |
msgid "Disabled"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: ../custom-contact-forms-admin.php:
|
625 |
#, php-format
|
626 |
msgid "Some plugins don't setup JQuery correctly, so when any other plugin uses JQuery (whether correctly or not), JQuery works for neither plugin. This plugin uses JQuery correctly. If another plugin isn't using JQuery correctly but is more important to you than this one: disable this option. 99% of this plugin's functionality will work without JQuery, just no field instruction tooltips."
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: ../custom-contact-forms-admin.php:
|
630 |
msgid "Default From Email:"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: ../custom-contact-forms-admin.php:
|
634 |
msgid "Form emails will be sent <span>from</span> this address. It is recommended you provide a real email address that has been created through your host."
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: ../custom-contact-forms-admin.php:
|
638 |
msgid "Default Email Subject:"
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: ../custom-contact-forms-admin.php:
|
642 |
msgid "Default subject to be included in all form emails."
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: ../custom-contact-forms-admin.php:
|
646 |
msgid "Default Form Success Message Title:"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: ../custom-contact-forms-admin.php:
|
650 |
msgid "If someone fills out a form for which a success message title is not provided and a custom success page is not provided, the plugin will show a popover using this field as the window title."
|
651 |
msgstr ""
|
652 |
|
653 |
-
#: ../custom-contact-forms-admin.php:
|
654 |
msgid "Default Form Success Message:"
|
655 |
msgstr ""
|
656 |
|
657 |
-
#: ../custom-contact-forms-admin.php:
|
658 |
msgid "If someone fills out a form for which a success message is not provided and a custom success page is not provided, the plugin will show a popover containing this message."
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: ../custom-contact-forms-admin.php:
|
662 |
msgid "Remember Field Values:"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: ../custom-contact-forms-admin.php:
|
666 |
msgid "Selecting yes will make form fields remember how they were last filled out."
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: ../custom-contact-forms-admin.php:
|
670 |
msgid "Tooltips in Widget:"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: ../custom-contact-forms-admin.php:
|
674 |
msgid "Enabling this shows tooltips containing field instructions on forms in the widget."
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: ../custom-contact-forms-admin.php:
|
678 |
msgid "Hide Plugin Author Link in Code:"
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: ../custom-contact-forms-admin.php:
|
682 |
msgid "Use Code Type:"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: ../custom-contact-forms-admin.php:
|
686 |
msgid "This lets you switch the form code between HTML and XHTML."
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: ../custom-contact-forms-admin.php:
|
690 |
msgid "Fancy Admin AJAX Abilities:"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: ../custom-contact-forms-admin.php:
|
694 |
msgid "If you enable this, creating, editing and modifying forms, fields, styles, etc in the admin panel will be done using AJAX. This means that clicking things like 'Edit' or 'Delete' will not cause the page to reload thus managing your forms will be much smoother and quicker. If you are having problems with things not saving, deleting, or inserting correctly, then disable this and fill out a bug report below."
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: ../custom-contact-forms-admin.php:
|
698 |
msgid "Use Wordpress Mail Function:"
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: ../custom-contact-forms-admin.php:
|
702 |
msgid "Setting this to no will use the PHP mail function. If your forms aren't sending mail properly try setting this to no."
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: ../custom-contact-forms-admin.php:
|
706 |
msgid "Show Sidebar Widget:"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#: ../custom-contact-forms-admin.php:
|
710 |
msgid "On Homepage"
|
711 |
msgstr ""
|
712 |
|
713 |
-
#: ../custom-contact-forms-admin.php:
|
714 |
msgid "On Pages"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: ../custom-contact-forms-admin.php:
|
718 |
msgid "On Single Posts"
|
719 |
msgstr ""
|
720 |
|
721 |
-
#: ../custom-contact-forms-admin.php:
|
722 |
msgid "On Categories"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: ../custom-contact-forms-admin.php:
|
726 |
msgid "On Archives"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: ../custom-contact-forms-admin.php:
|
730 |
msgid "Update"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: ../custom-contact-forms-admin.php:
|
734 |
msgid "Instructions"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: ../custom-contact-forms-admin.php:
|
738 |
msgid "The default content will help you get a better feel of ways this plugin can be used and is the best way to learn."
|
739 |
msgstr ""
|
740 |
|
741 |
-
#: ../custom-contact-forms-admin.php:
|
742 |
#: ../custom-contact-forms-usage-popover.php:41
|
743 |
msgid "Insert Default Content"
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: ../custom-contact-forms-admin.php:
|
747 |
msgid "1. Create a form."
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: ../custom-contact-forms-admin.php:
|
751 |
msgid "2. Create fields and attach those fields to the forms of your choice."
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: ../custom-contact-forms-admin.php:
|
755 |
msgid "Attach the fields in the order that you want them to show up in the form. If you mess up you can detach and reattach them. Create field options in the field option manager; field options should be attached to radio and dropdown fields."
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: ../custom-contact-forms-admin.php:
|
759 |
msgid "3. Display those forms in posts and pages by inserting the code: [customcontact form=<b>FORMID</b>]. Replace <b>FORMID</b> with the id listed to the left of the form slug next to the form of your choice above. You can also display forms in theme files; the code for this is provided within each forms admin section."
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: ../custom-contact-forms-admin.php:
|
763 |
msgid "4. Prevent spam by attaching the fixed field, captcha or ishuman. Captcha requires users to type in a number shown on an image. Ishuman requires users to check a box to prove they aren't a spam bot."
|
764 |
msgstr ""
|
765 |
|
766 |
-
#: ../custom-contact-forms-admin.php:
|
767 |
msgid "5. Add a form to your sidebar, by dragging the Custom Contact Form widget in to your sidebar."
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: ../custom-contact-forms-admin.php:
|
771 |
msgid "6. Configure the General Settings appropriately; this is important if you want to receive your web form messages!"
|
772 |
msgstr ""
|
773 |
|
774 |
-
#: ../custom-contact-forms-admin.php:
|
775 |
msgid "7. Create form styles to change your forms appearances. The image below explains how each style field can change the look of your forms."
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: ../custom-contact-forms-admin.php:
|
779 |
msgid "8. (advanced) If you are confident in your HTML and CSS skills, you can use the"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: ../custom-contact-forms-admin.php:
|
783 |
msgid "Custom HTML Forms feature"
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: ../custom-contact-forms-admin.php:
|
787 |
msgid "as a framework and write your forms from scratch. This allows you to use this plugin simply to process your form requests. The Custom HTML Forms feature will process and email any form variables sent to it regardless of whether they are created in the fields manager."
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: ../custom-contact-forms-admin.php:
|
791 |
msgid "These instructions briefly tell you in which order you should use forms, fields, field options, and styles."
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: ../custom-contact-forms-admin.php:
|
795 |
msgid "If you want to read in detail about using forms, fields, field options, styles and the rest of this plugin, click the button below."
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: ../custom-contact-forms-admin.php:
|
799 |
msgid "View Plugin Usage Popover"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#: ../custom-contact-forms-admin.php:
|
803 |
msgid "Create A Style for Your Forms"
|
804 |
msgstr ""
|
805 |
|
806 |
-
#: ../custom-contact-forms-admin.php:
|
807 |
msgid "Use this manager to create styles for your forms. Each field is already filled out with nice look defaults. It is recommended you simply input a slug and click create to see the defaults before you start changing values."
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: ../custom-contact-forms-admin.php:
|
811 |
msgid "Style Slug:"
|
812 |
msgstr ""
|
813 |
|
814 |
-
#: ../custom-contact-forms-admin.php:
|
815 |
msgid "(Must be unique)"
|
816 |
msgstr ""
|
817 |
|
818 |
-
#: ../custom-contact-forms-admin.php:
|
819 |
-
#: ../custom-contact-forms-admin.php:
|
820 |
-
#: ../custom-contact-forms-admin.php:
|
821 |
msgid "Title Font Size:"
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: ../custom-contact-forms-admin.php:
|
825 |
msgid "(ex: 10pt, 10px, 1em)"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: ../custom-contact-forms-admin.php:
|
829 |
-
#: ../custom-contact-forms-admin.php:
|
830 |
-
#: ../custom-contact-forms-admin.php:
|
831 |
msgid "Title Font Color:"
|
832 |
msgstr ""
|
833 |
|
834 |
-
#: ../custom-contact-forms-admin.php:
|
835 |
-
#: ../custom-contact-forms-admin.php:
|
836 |
-
#: ../custom-contact-forms-admin.php:
|
837 |
-
#: ../custom-contact-forms-admin.php:
|
838 |
-
#: ../custom-contact-forms-admin.php:
|
839 |
-
#: ../custom-contact-forms-admin.php:
|
840 |
msgid "(ex: FF0000)"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: ../custom-contact-forms-admin.php:
|
844 |
-
#: ../custom-contact-forms-admin.php:
|
845 |
msgid "Label Width:"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: ../custom-contact-forms-admin.php:
|
849 |
msgid "(ex: 100px or 20%)"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: ../custom-contact-forms-admin.php:
|
853 |
-
#: ../custom-contact-forms-admin.php:
|
854 |
msgid "Label Font Size:"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: ../custom-contact-forms-admin.php:
|
858 |
-
#: ../custom-contact-forms-admin.php:
|
859 |
msgid "(ex: 10px, 10pt, 1em)"
|
860 |
msgstr ""
|
861 |
|
862 |
-
#: ../custom-contact-forms-admin.php:
|
863 |
-
#: ../custom-contact-forms-admin.php:
|
864 |
msgid "Label Font Color:"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: ../custom-contact-forms-admin.php:
|
868 |
-
#: ../custom-contact-forms-admin.php:
|
869 |
msgid "Text Field Width:"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: ../custom-contact-forms-admin.php:
|
873 |
-
#: ../custom-contact-forms-admin.php:
|
874 |
-
#: ../custom-contact-forms-admin.php:
|
875 |
-
#: ../custom-contact-forms-admin.php:
|
876 |
msgid "(ex: 100px or 100%)"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: ../custom-contact-forms-admin.php:
|
880 |
msgid "Textarea Field Width:"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: ../custom-contact-forms-admin.php:
|
884 |
msgid "Textarea Field Height:"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: ../custom-contact-forms-admin.php:
|
888 |
-
#: ../custom-contact-forms-admin.php:
|
889 |
msgid "Field Font Size:"
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: ../custom-contact-forms-admin.php:
|
893 |
msgid "(ex: 10px, 10pt, 1em"
|
894 |
msgstr ""
|
895 |
|
896 |
-
#: ../custom-contact-forms-admin.php:
|
897 |
-
#: ../custom-contact-forms-admin.php:
|
898 |
msgid "Field Font Color:"
|
899 |
msgstr ""
|
900 |
|
901 |
-
#: ../custom-contact-forms-admin.php:
|
902 |
-
#: ../custom-contact-forms-admin.php:
|
903 |
msgid "(ex: 333333)"
|
904 |
msgstr ""
|
905 |
|
906 |
-
#: ../custom-contact-forms-admin.php:
|
907 |
-
#: ../custom-contact-forms-admin.php:
|
908 |
msgid "Field Border Style:"
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: ../custom-contact-forms-admin.php:
|
912 |
-
#: ../custom-contact-forms-admin.php:
|
913 |
msgid "Form Margin:"
|
914 |
msgstr ""
|
915 |
|
916 |
-
#: ../custom-contact-forms-admin.php:
|
917 |
-
#: ../custom-contact-forms-admin.php:
|
918 |
-
#: ../custom-contact-forms-admin.php:
|
919 |
-
#: ../custom-contact-forms-admin.php:
|
920 |
msgid "(ex: 5px or 1em)"
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: ../custom-contact-forms-admin.php:
|
924 |
-
#: ../custom-contact-forms-admin.php:
|
925 |
msgid "Label Margin:"
|
926 |
msgstr ""
|
927 |
|
928 |
-
#: ../custom-contact-forms-admin.php:
|
929 |
msgid "Textarea Background Color:"
|
930 |
msgstr ""
|
931 |
|
932 |
-
#: ../custom-contact-forms-admin.php:
|
933 |
msgid "Success Popover Font Color:"
|
934 |
msgstr ""
|
935 |
|
936 |
-
#: ../custom-contact-forms-admin.php:
|
937 |
msgid "Success Popover Title Font Size:"
|
938 |
msgstr ""
|
939 |
|
940 |
-
#: ../custom-contact-forms-admin.php:
|
941 |
-
#: ../custom-contact-forms-admin.php:
|
942 |
-
#: ../custom-contact-forms-admin.php:
|
943 |
-
#: ../custom-contact-forms-admin.php:
|
944 |
msgid "(ex: 12px, 1em, 100%)"
|
945 |
msgstr ""
|
946 |
|
947 |
-
#: ../custom-contact-forms-admin.php:
|
948 |
-
#: ../custom-contact-forms-admin.php:
|
949 |
msgid "Form Background Color:"
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: ../custom-contact-forms-admin.php:
|
953 |
msgid "Tooltip Background Color:"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: ../custom-contact-forms-admin.php:
|
957 |
msgid "(ex: 000000 or black)"
|
958 |
msgstr ""
|
959 |
|
960 |
-
#: ../custom-contact-forms-admin.php:
|
961 |
-
#: ../custom-contact-forms-admin.php:
|
962 |
msgid "Field Border Color:"
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: ../custom-contact-forms-admin.php:
|
966 |
-
#: ../custom-contact-forms-admin.php:
|
967 |
msgid "Form Border Style:"
|
968 |
msgstr ""
|
969 |
|
970 |
-
#: ../custom-contact-forms-admin.php:
|
971 |
-
#: ../custom-contact-forms-admin.php:
|
972 |
msgid "Form Border Color:"
|
973 |
msgstr ""
|
974 |
|
975 |
-
#: ../custom-contact-forms-admin.php:
|
976 |
msgid "(ex: 000000)"
|
977 |
msgstr ""
|
978 |
|
979 |
-
#: ../custom-contact-forms-admin.php:
|
980 |
-
#: ../custom-contact-forms-admin.php:
|
981 |
msgid "Form Border Width:"
|
982 |
msgstr ""
|
983 |
|
984 |
-
#: ../custom-contact-forms-admin.php:
|
985 |
msgid "(ex: 1px)"
|
986 |
msgstr ""
|
987 |
|
988 |
-
#: ../custom-contact-forms-admin.php:
|
989 |
-
#: ../custom-contact-forms-admin.php:
|
990 |
msgid "Form Width:"
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: ../custom-contact-forms-admin.php:
|
994 |
msgid "(ex: 100px or 50%)"
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: ../custom-contact-forms-admin.php:
|
998 |
msgid "Form Font Family:"
|
999 |
msgstr ""
|
1000 |
|
1001 |
-
#: ../custom-contact-forms-admin.php:
|
1002 |
msgid "(ex: Verdana, Tahoma, Arial)"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#: ../custom-contact-forms-admin.php:
|
1006 |
-
#: ../custom-contact-forms-admin.php:
|
1007 |
msgid "Button Width:"
|
1008 |
msgstr ""
|
1009 |
|
1010 |
-
#: ../custom-contact-forms-admin.php:
|
1011 |
msgid "(ex: 100px, 30%, auto)"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: ../custom-contact-forms-admin.php:
|
1015 |
-
#: ../custom-contact-forms-admin.php:
|
1016 |
msgid "Button Height:"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: ../custom-contact-forms-admin.php:
|
1020 |
msgid "(ex: 100px or 30%)"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: ../custom-contact-forms-admin.php:
|
1024 |
-
#: ../custom-contact-forms-admin.php:
|
1025 |
msgid "Button Font Size:"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
-
#: ../custom-contact-forms-admin.php:
|
1029 |
-
#: ../custom-contact-forms-admin.php:
|
1030 |
msgid "Button Font Color:"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#: ../custom-contact-forms-admin.php:
|
1034 |
-
#: ../custom-contact-forms-admin.php:
|
1035 |
msgid "Field Background Color:"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: ../custom-contact-forms-admin.php:
|
1039 |
-
#: ../custom-contact-forms-admin.php:
|
1040 |
msgid "Form Padding:"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
-
#: ../custom-contact-forms-admin.php:
|
1044 |
-
#: ../custom-contact-forms-admin.php:
|
1045 |
msgid "Title Margin:"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
-
#: ../custom-contact-forms-admin.php:
|
1049 |
-
#: ../custom-contact-forms-admin.php:
|
1050 |
msgid "Dropdown Width:"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
-
#: ../custom-contact-forms-admin.php:
|
1054 |
msgid "(ex: 30px, 20%, or auto)"
|
1055 |
msgstr ""
|
1056 |
|
1057 |
-
#: ../custom-contact-forms-admin.php:
|
1058 |
msgid "Success Popover Border Color:"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
-
#: ../custom-contact-forms-admin.php:
|
1062 |
msgid "Success Popover Font Size:"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
-
#: ../custom-contact-forms-admin.php:
|
1066 |
msgid "Success Popover Height:"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
-
#: ../custom-contact-forms-admin.php:
|
1070 |
msgid "(ex: 200px, 6em, 50%)"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
-
#: ../custom-contact-forms-admin.php:
|
1074 |
-
#: ../custom-contact-forms-admin.php:
|
1075 |
msgid "Field Border Roundness:"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
-
#: ../custom-contact-forms-admin.php:
|
1079 |
msgid "(ex: 6px, or 0px)"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
-
#: ../custom-contact-forms-admin.php:
|
1083 |
-
#: ../custom-contact-forms-admin.php:
|
1084 |
-
#: ../custom-contact-forms-admin.php:
|
1085 |
msgid "Tooltip"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: ../custom-contact-forms-admin.php:
|
1089 |
-
#: ../custom-contact-forms-admin.php:
|
1090 |
-
#: ../custom-contact-forms-admin.php:
|
1091 |
msgid "A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field."
|
1092 |
msgstr ""
|
1093 |
|
1094 |
-
#: ../custom-contact-forms-admin.php:
|
1095 |
-
#: ../custom-contact-forms-admin.php:
|
1096 |
msgid "Font Size:"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#: ../custom-contact-forms-admin.php:
|
1100 |
msgid "Tooltip Font Color:"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
-
#: ../custom-contact-forms-admin.php:
|
1104 |
msgid "(ex: ffffff or white)"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
-
#: ../custom-contact-forms-admin.php:
|
1108 |
msgid "Create Style"
|
1109 |
msgstr ""
|
1110 |
|
1111 |
-
#: ../custom-contact-forms-admin.php:
|
1112 |
msgid "Manage Form Styles"
|
1113 |
msgstr ""
|
1114 |
|
1115 |
-
#: ../custom-contact-forms-admin.php:
|
1116 |
#: ../custom-contact-forms-usage-popover.php:125
|
1117 |
#: ../custom-contact-forms-usage-popover.php:178
|
1118 |
#: ../custom-contact-forms-usage-popover.php:206
|
1119 |
msgid "Slug:"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#: ../custom-contact-forms-admin.php:
|
1123 |
msgid "Font Family:"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#: ../custom-contact-forms-admin.php:
|
1127 |
msgid "Textarea Background"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
-
#: ../custom-contact-forms-admin.php:
|
1131 |
msgid "Color:"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: ../custom-contact-forms-admin.php:
|
1135 |
-
#: ../custom-contact-forms-admin.php:
|
1136 |
-
#: ../custom-contact-forms-admin.php:
|
1137 |
-
#: ../custom-contact-forms-admin.php:
|
1138 |
-
#: ../custom-contact-forms-admin.php:
|
1139 |
-
#: ../custom-contact-forms-admin.php:
|
1140 |
msgid "Success Popover"
|
1141 |
msgstr ""
|
1142 |
|
1143 |
-
#: ../custom-contact-forms-admin.php:
|
1144 |
msgid "Border Color:"
|
1145 |
msgstr ""
|
1146 |
|
1147 |
-
#: ../custom-contact-forms-admin.php:
|
1148 |
-
#: ../custom-contact-forms-admin.php:
|
1149 |
msgid "Font Color:"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: ../custom-contact-forms-admin.php:
|
1153 |
msgid "Delete Style"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
-
#: ../custom-contact-forms-admin.php:
|
1157 |
msgid "Textarea Width:"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
-
#: ../custom-contact-forms-admin.php:
|
1161 |
msgid "Textarea Height:"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: ../custom-contact-forms-admin.php:
|
1165 |
msgid "Height:"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: ../custom-contact-forms-admin.php:
|
1169 |
msgid "Background Color:"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: ../custom-contact-forms-admin.php:
|
1173 |
msgid "Tooltip Font Size:"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: ../custom-contact-forms-admin.php:
|
1177 |
msgid "Report a Bug/Suggest a Feature"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
-
#: ../custom-contact-forms-admin.php:
|
1181 |
msgid "Your Name:"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
-
#: ../custom-contact-forms-admin.php:
|
1185 |
msgid "Your Email:"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
-
#: ../custom-contact-forms-admin.php:
|
1189 |
msgid "Your Message:"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
-
#: ../custom-contact-forms-admin.php:
|
1193 |
msgid "Purpose of this message:"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: ../custom-contact-forms-admin.php:
|
1197 |
msgid "Plugin Question"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: ../custom-contact-forms-admin.php:
|
1201 |
msgid "Send Message"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: ../custom-contact-forms-admin.php:
|
1205 |
msgid "Custom HTML Forms (Advanced)"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: ../custom-contact-forms-admin.php:
|
1209 |
msgid ""
|
1210 |
"If you know HTML and simply want to use this plugin to process form requests, this feature is for you. \n"
|
1211 |
" The following HTML is a the framework to which you must adhere. In order for your form to work you MUST do the following: a) Keep the form action/method the same (yes the action is supposed to be empty), b) Include all the hidden fields shown below, c) provide a \n"
|
1212 |
" hidden field with a success message or thank you page (both hidden fields are included below, you must choose one or the other and fill in the value part of the input field appropriately."
|
1213 |
msgstr ""
|
1214 |
|
1215 |
-
#: ../custom-contact-forms-admin.php:
|
1216 |
msgid "Thank you for filling out our form!"
|
1217 |
msgstr ""
|
1218 |
|
1219 |
-
#: ../custom-contact-forms-admin.php:
|
1220 |
msgid ""
|
1221 |
"Build your form in here. It is recommended you only use this feature if you are experienced with HTML. \n"
|
1222 |
"The success_message field will add a popover containing the message when the form is completed successfully, the thank_you_page field will force \n"
|
@@ -1224,67 +1233,89 @@ msgid ""
|
|
1224 |
"the field names you want required by commas. Remember to use underscores instead of spaces in field names!"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
-
#: ../custom-contact-forms-admin.php:
|
1228 |
#: ../custom-contact-forms-usage-popover.php:315
|
1229 |
msgid "Import / Export"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: ../custom-contact-forms-admin.php:1170
|
1233 |
-
msgid "Browse to a CCF .sql export file to import Custom Contact Form data from another Wordpress installation to this one."
|
1234 |
-
msgstr ""
|
1235 |
-
|
1236 |
-
#: ../custom-contact-forms-admin.php:1173
|
1237 |
-
msgid "Use Import File General Settings"
|
1238 |
-
msgstr ""
|
1239 |
-
|
1240 |
-
#: ../custom-contact-forms-admin.php:1176
|
1241 |
-
msgid "Import"
|
1242 |
-
msgstr ""
|
1243 |
-
|
1244 |
#: ../custom-contact-forms-admin.php:1179
|
1245 |
msgid ""
|
1246 |
"Preforming a Custom Contact Forms export will create a file of the form \n"
|
1247 |
" ccf-export-xxxx.sql on your web server. The file created contains SQL that \n"
|
1248 |
-
" will recreate all the plugin data on any Wordpress installation."
|
1249 |
msgstr ""
|
1250 |
|
1251 |
#: ../custom-contact-forms-admin.php:1182
|
1252 |
msgid "Export All CCF Plugin Content"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: ../custom-contact-forms-admin.php:
|
1256 |
-
msgid "Custom Contact
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: ../custom-contact-forms-
|
1260 |
-
msgid "
|
|
|
|
|
|
|
|
|
1261 |
msgstr ""
|
1262 |
|
|
|
|
|
1263 |
#: ../custom-contact-forms-usage-popover.php:8
|
1264 |
#: ../custom-contact-forms-usage-popover.php:199
|
1265 |
msgid "Forms"
|
1266 |
msgstr ""
|
1267 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1268 |
#: ../custom-contact-forms-usage-popover.php:11
|
1269 |
#: ../custom-contact-forms-usage-popover.php:49
|
1270 |
msgid "Fields"
|
1271 |
msgstr ""
|
1272 |
|
|
|
1273 |
#: ../custom-contact-forms-usage-popover.php:14
|
1274 |
#: ../custom-contact-forms-usage-popover.php:171
|
1275 |
msgid "Field Options"
|
1276 |
msgstr ""
|
1277 |
|
|
|
1278 |
#: ../custom-contact-forms-usage-popover.php:17
|
1279 |
msgid "Styles"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
-
#: ../custom-contact-forms-
|
1283 |
-
msgid "Import
|
1284 |
msgstr ""
|
1285 |
|
1286 |
-
#: ../custom-contact-forms-
|
1287 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1288 |
msgstr ""
|
1289 |
|
1290 |
#: ../custom-contact-forms-usage-popover.php:30
|
@@ -1566,35 +1597,35 @@ msgstr ""
|
|
1566 |
msgid "Create a Form"
|
1567 |
msgstr ""
|
1568 |
|
1569 |
-
#: ../custom-contact-forms.php:
|
1570 |
msgid "Attaching"
|
1571 |
msgstr ""
|
1572 |
|
1573 |
-
#: ../custom-contact-forms.php:
|
1574 |
msgid "Dettaching"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
-
#: ../custom-contact-forms.php:
|
1578 |
msgid "Saving"
|
1579 |
msgstr ""
|
1580 |
|
1581 |
-
#: ../custom-contact-forms.php:
|
1582 |
msgid "More Options"
|
1583 |
msgstr ""
|
1584 |
|
1585 |
-
#: ../custom-contact-forms.php:
|
1586 |
msgid "Expand"
|
1587 |
msgstr ""
|
1588 |
|
1589 |
-
#: ../custom-contact-forms.php:
|
1590 |
msgid "Click to Confirm"
|
1591 |
msgstr ""
|
1592 |
|
1593 |
-
#: ../custom-contact-forms.php:
|
1594 |
msgid "Are you sure you want to delete this"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
-
#: ../custom-contact-forms.php:
|
1598 |
msgid "An error has occured. Please try again later."
|
1599 |
msgstr ""
|
1600 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: custom-contact-forms\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-10-26 17:07-0500\n"
|
6 |
+
"PO-Revision-Date: 2010-10-27 10:35-0500\n"
|
7 |
"Last-Translator: Taylor Lovett <sdfds@sfs.com>\n"
|
8 |
"Language-Team: TaylorLovett.com <admin@taylorlovett.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
24 |
msgstr ""
|
25 |
|
26 |
#: ../custom-contact-forms-admin.php:6
|
27 |
+
#: ../custom-contact-forms-admin.php:619
|
28 |
msgid "General Settings"
|
29 |
msgstr ""
|
30 |
|
41 |
msgstr ""
|
42 |
|
43 |
#: ../custom-contact-forms-admin.php:10
|
44 |
+
#: ../custom-contact-forms-admin.php:266
|
45 |
msgid "Manage Fixed Fields"
|
46 |
msgstr ""
|
47 |
|
48 |
#: ../custom-contact-forms-admin.php:11
|
49 |
+
#: ../custom-contact-forms-admin.php:425
|
50 |
msgid "Manage Forms"
|
51 |
msgstr ""
|
52 |
|
67 |
msgstr ""
|
68 |
|
69 |
#: ../custom-contact-forms-admin.php:16
|
70 |
+
#: ../custom-contact-forms-admin.php:1138
|
71 |
msgid "Suggest a Feature"
|
72 |
msgstr ""
|
73 |
|
74 |
#: ../custom-contact-forms-admin.php:17
|
75 |
+
#: ../custom-contact-forms-admin.php:1137
|
76 |
msgid "Bug Report"
|
77 |
msgstr ""
|
78 |
|
139 |
msgstr ""
|
140 |
|
141 |
#: ../custom-contact-forms-admin.php:54
|
142 |
+
#: ../custom-contact-forms-admin.php:399
|
143 |
msgid "Create a Field Option"
|
144 |
msgstr ""
|
145 |
|
167 |
|
168 |
#: ../custom-contact-forms-admin.php:63
|
169 |
#: ../custom-contact-forms-admin.php:184
|
170 |
+
#: ../custom-contact-forms-admin.php:305
|
171 |
+
#: ../custom-contact-forms-admin.php:627
|
172 |
+
#: ../custom-contact-forms-admin.php:668
|
173 |
+
#: ../custom-contact-forms-admin.php:684
|
174 |
+
#: ../custom-contact-forms-admin.php:707
|
175 |
msgid "No"
|
176 |
msgstr ""
|
177 |
|
178 |
#: ../custom-contact-forms-admin.php:64
|
179 |
#: ../custom-contact-forms-admin.php:183
|
|
|
180 |
#: ../custom-contact-forms-admin.php:304
|
181 |
+
#: ../custom-contact-forms-admin.php:311
|
182 |
+
#: ../custom-contact-forms-admin.php:626
|
183 |
+
#: ../custom-contact-forms-admin.php:667
|
184 |
+
#: ../custom-contact-forms-admin.php:683
|
185 |
+
#: ../custom-contact-forms-admin.php:706
|
186 |
msgid "Yes"
|
187 |
msgstr ""
|
188 |
|
191 |
msgstr ""
|
192 |
|
193 |
#: ../custom-contact-forms-admin.php:69
|
194 |
+
#: ../custom-contact-forms-admin.php:202
|
195 |
+
#: ../custom-contact-forms-admin.php:330
|
196 |
#: ../custom-contact-forms-usage-popover.php:155
|
197 |
msgid "Field Instructions:"
|
198 |
msgstr ""
|
259 |
msgstr ""
|
260 |
|
261 |
#: ../custom-contact-forms-admin.php:119
|
262 |
+
#: ../custom-contact-forms-admin.php:518
|
263 |
#: ../custom-contact-forms-usage-popover.php:236
|
264 |
msgid "Custom Code:"
|
265 |
msgstr ""
|
310 |
msgstr ""
|
311 |
|
312 |
#: ../custom-contact-forms-admin.php:155
|
313 |
+
#: ../custom-contact-forms-admin.php:255
|
314 |
+
#: ../custom-contact-forms-admin.php:270
|
315 |
+
#: ../custom-contact-forms-admin.php:342
|
316 |
+
#: ../custom-contact-forms-admin.php:357
|
317 |
+
#: ../custom-contact-forms-admin.php:392
|
318 |
+
#: ../custom-contact-forms-admin.php:430
|
319 |
+
#: ../custom-contact-forms-admin.php:539
|
320 |
msgid "Slug"
|
321 |
msgstr ""
|
322 |
|
323 |
#: ../custom-contact-forms-admin.php:156
|
324 |
+
#: ../custom-contact-forms-admin.php:256
|
325 |
+
#: ../custom-contact-forms-admin.php:271
|
326 |
+
#: ../custom-contact-forms-admin.php:343
|
327 |
+
#: ../custom-contact-forms-admin.php:358
|
328 |
+
#: ../custom-contact-forms-admin.php:393
|
329 |
msgid "Label"
|
330 |
msgstr ""
|
331 |
|
332 |
#: ../custom-contact-forms-admin.php:157
|
333 |
+
#: ../custom-contact-forms-admin.php:257
|
334 |
+
#: ../custom-contact-forms-admin.php:272
|
335 |
+
#: ../custom-contact-forms-admin.php:344
|
336 |
msgid "Type"
|
337 |
msgstr ""
|
338 |
|
339 |
#: ../custom-contact-forms-admin.php:158
|
340 |
+
#: ../custom-contact-forms-admin.php:258
|
341 |
+
#: ../custom-contact-forms-admin.php:273
|
342 |
+
#: ../custom-contact-forms-admin.php:345
|
343 |
msgid "Initial Value"
|
344 |
msgstr ""
|
345 |
|
346 |
#: ../custom-contact-forms-admin.php:159
|
347 |
+
#: ../custom-contact-forms-admin.php:259
|
348 |
+
#: ../custom-contact-forms-admin.php:274
|
349 |
+
#: ../custom-contact-forms-admin.php:346
|
350 |
msgid "Required"
|
351 |
msgstr ""
|
352 |
|
353 |
#: ../custom-contact-forms-admin.php:160
|
354 |
+
#: ../custom-contact-forms-admin.php:260
|
355 |
+
#: ../custom-contact-forms-admin.php:275
|
356 |
+
#: ../custom-contact-forms-admin.php:347
|
357 |
msgid "Maxlength"
|
358 |
msgstr ""
|
359 |
|
360 |
#: ../custom-contact-forms-admin.php:161
|
361 |
+
#: ../custom-contact-forms-admin.php:261
|
362 |
+
#: ../custom-contact-forms-admin.php:276
|
363 |
+
#: ../custom-contact-forms-admin.php:348
|
364 |
+
#: ../custom-contact-forms-admin.php:360
|
365 |
+
#: ../custom-contact-forms-admin.php:395
|
366 |
+
#: ../custom-contact-forms-admin.php:434
|
367 |
+
#: ../custom-contact-forms-admin.php:543
|
368 |
+
#: ../custom-contact-forms-admin.php:561
|
369 |
+
#: ../custom-contact-forms-admin.php:613
|
370 |
msgid "Action"
|
371 |
msgstr ""
|
372 |
|
373 |
#: ../custom-contact-forms-admin.php:195
|
374 |
+
#: ../custom-contact-forms-admin.php:323
|
375 |
+
#: ../custom-contact-forms-admin.php:373
|
376 |
+
#: ../custom-contact-forms-admin.php:459
|
377 |
+
#: ../custom-contact-forms-admin.php:977
|
378 |
msgid "Save"
|
379 |
msgstr ""
|
380 |
|
381 |
#: ../custom-contact-forms-admin.php:196
|
382 |
+
#: ../custom-contact-forms-admin.php:374
|
383 |
+
#: ../custom-contact-forms-admin.php:460
|
384 |
+
#: ../custom-contact-forms-admin.php:583
|
385 |
msgid "Delete"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: ../custom-contact-forms-admin.php:206
|
389 |
+
#: ../custom-contact-forms-admin.php:327
|
390 |
+
msgid "Field Class:"
|
391 |
+
msgstr ""
|
392 |
+
|
393 |
+
#: ../custom-contact-forms-admin.php:208
|
394 |
+
msgid "If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a \"Form Style\" other than the default, styles inherited from the \"Field Class\" might be overwritten."
|
395 |
+
msgstr ""
|
396 |
+
|
397 |
+
#: ../custom-contact-forms-admin.php:229
|
398 |
msgid "Dettach Field Option"
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: ../custom-contact-forms-admin.php:231
|
402 |
msgid "Dettach field options you"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: ../custom-contact-forms-admin.php:231
|
406 |
+
#: ../custom-contact-forms-admin.php:513
|
407 |
msgid "create"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: ../custom-contact-forms-admin.php:240
|
411 |
msgid "Attach Field Option"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: ../custom-contact-forms-admin.php:243
|
415 |
msgid "Attach field options in the order you want them to display."
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: ../custom-contact-forms-admin.php:291
|
419 |
+
#: ../custom-contact-forms-admin.php:318
|
420 |
msgid "None"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: ../custom-contact-forms-admin.php:354
|
424 |
msgid "Manage Field Options (for Dropdown and Radio Fields)"
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: ../custom-contact-forms-admin.php:359
|
428 |
+
#: ../custom-contact-forms-admin.php:394
|
429 |
msgid "Value"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: ../custom-contact-forms-admin.php:385
|
433 |
msgid "No field options have been created."
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: ../custom-contact-forms-admin.php:402
|
437 |
msgid "Option Slug:"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: ../custom-contact-forms-admin.php:405
|
441 |
msgid "(Used to identify this option, solely for admin purposes; must be unique, and contain only letters, numbers, and underscores. Example: 'slug_one')"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: ../custom-contact-forms-admin.php:407
|
445 |
#: ../custom-contact-forms-usage-popover.php:183
|
446 |
msgid "Option Label:"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: ../custom-contact-forms-admin.php:410
|
450 |
msgid "(This is what is shown to the user in the dropdown or radio field. Example:)"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: ../custom-contact-forms-admin.php:412
|
454 |
#: ../custom-contact-forms-usage-popover.php:188
|
455 |
msgid "Option Value:"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: ../custom-contact-forms-admin.php:415
|
459 |
msgid "(This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: \"The color green\" => \"green\" or \"Yes\" => \"1\".)"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: ../custom-contact-forms-admin.php:417
|
463 |
msgid "Create Field Option"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: ../custom-contact-forms-admin.php:420
|
467 |
msgid "The option value is behind the scences; unseen by the user, but when a user fills out the form, the option value is what is actually sent in the email to you. For dropdown fields the option value is optional, for radio fields it is required."
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: ../custom-contact-forms-admin.php:429
|
471 |
msgid "Form Display Code"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: ../custom-contact-forms-admin.php:431
|
475 |
+
#: ../custom-contact-forms-admin.php:540
|
476 |
msgid "Title"
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: ../custom-contact-forms-admin.php:432
|
480 |
+
#: ../custom-contact-forms-admin.php:541
|
481 |
msgid "Button Text"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: ../custom-contact-forms-admin.php:433
|
485 |
+
#: ../custom-contact-forms-admin.php:542
|
486 |
msgid "Style"
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: ../custom-contact-forms-admin.php:467
|
490 |
msgid "Method"
|
491 |
msgstr ""
|
492 |
|
493 |
+
#: ../custom-contact-forms-admin.php:468
|
494 |
msgid "Form Action"
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: ../custom-contact-forms-admin.php:469
|
498 |
msgid "Destination Email"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: ../custom-contact-forms-admin.php:470
|
502 |
msgid "Success Message Title"
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: ../custom-contact-forms-admin.php:471
|
506 |
msgid "Success Message"
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: ../custom-contact-forms-admin.php:472
|
510 |
msgid "Custom Success URL"
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: ../custom-contact-forms-admin.php:475
|
514 |
msgid "The Form Method is the method by which information is transfer through your form. If you aren't an expert with HTML and PHP, leave this as Post."
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: ../custom-contact-forms-admin.php:479
|
518 |
msgid "This lets you process your forms through alternate scripts. If you use a service like InfusionSoft or Aweber, set this to be the same form action as the code provided to you by that service, otherwise leave this blank."
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: ../custom-contact-forms-admin.php:481
|
522 |
msgid "This email address will recieve form emails (provided that Email Form Submissions is set to Yes in general settings)."
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: ../custom-contact-forms-admin.php:483
|
526 |
msgid "This will be displayed as the header in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: ../custom-contact-forms-admin.php:485
|
530 |
msgid "This will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: ../custom-contact-forms-admin.php:487
|
534 |
msgid "If this is filled out, users will be sent to this thank you page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success."
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: ../custom-contact-forms-admin.php:491
|
538 |
msgid "Attached Fields:"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: ../custom-contact-forms-admin.php:504
|
542 |
msgid "Dettach Field"
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: ../custom-contact-forms-admin.php:506
|
546 |
msgid "Attach fields in the order you want them displayed."
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: ../custom-contact-forms-admin.php:507
|
550 |
msgid "Attach Field:"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: ../custom-contact-forms-admin.php:511
|
554 |
msgid "Attach Field"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: ../custom-contact-forms-admin.php:513
|
558 |
msgid "Attach fixed fields or ones you"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: ../custom-contact-forms-admin.php:516
|
562 |
msgid "The form display code above ([customcontact form=x]) will only work in Wordpress pages and posts. If you want to display this form in a theme file such as page.php, header.php, index.php, category.php, etc, then insert this PHP snippet."
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: ../custom-contact-forms-admin.php:516
|
566 |
msgid "Code to Display Form in Theme Files:"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: ../custom-contact-forms-admin.php:518
|
570 |
msgid "This field allows you to insert HTML directly after the starting <form> tag."
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: ../custom-contact-forms-admin.php:538
|
574 |
msgid "Form Code"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: ../custom-contact-forms-admin.php:554
|
578 |
#: ../custom-contact-forms-usage-popover.php:307
|
579 |
msgid "Saved Form Submissions"
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: ../custom-contact-forms-admin.php:558
|
583 |
+
#: ../custom-contact-forms-admin.php:610
|
584 |
msgid "Date Submitted"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: ../custom-contact-forms-admin.php:559
|
588 |
+
#: ../custom-contact-forms-admin.php:611
|
589 |
msgid "Form Submitted"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: ../custom-contact-forms-admin.php:560
|
593 |
+
#: ../custom-contact-forms-admin.php:612
|
594 |
msgid "Form Page"
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: ../custom-contact-forms-admin.php:577
|
598 |
msgid "Custom HTML Form"
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: ../custom-contact-forms-admin.php:624
|
602 |
msgid "Email Form Submissions:"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: ../custom-contact-forms-admin.php:630
|
606 |
msgid "When a user fills out one of your forms, the info he submitted is saved in the Saved Form Submission section of the admin panel for you to view. If this is enabled, you will also be sent an email containing the submission info."
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: ../custom-contact-forms-admin.php:632
|
610 |
msgid "Default Email:"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: ../custom-contact-forms-admin.php:635
|
614 |
msgid "Form emails will be sent <span>to</span> this address, if no destination email is specified by the form."
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: ../custom-contact-forms-admin.php:637
|
618 |
msgid "Front End JQuery:"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: ../custom-contact-forms-admin.php:639
|
622 |
+
#: ../custom-contact-forms-admin.php:675
|
623 |
+
#: ../custom-contact-forms-admin.php:698
|
624 |
msgid "Enabled"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: ../custom-contact-forms-admin.php:640
|
628 |
+
#: ../custom-contact-forms-admin.php:676
|
629 |
+
#: ../custom-contact-forms-admin.php:699
|
630 |
msgid "Disabled"
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: ../custom-contact-forms-admin.php:643
|
634 |
#, php-format
|
635 |
msgid "Some plugins don't setup JQuery correctly, so when any other plugin uses JQuery (whether correctly or not), JQuery works for neither plugin. This plugin uses JQuery correctly. If another plugin isn't using JQuery correctly but is more important to you than this one: disable this option. 99% of this plugin's functionality will work without JQuery, just no field instruction tooltips."
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: ../custom-contact-forms-admin.php:645
|
639 |
msgid "Default From Email:"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: ../custom-contact-forms-admin.php:648
|
643 |
msgid "Form emails will be sent <span>from</span> this address. It is recommended you provide a real email address that has been created through your host."
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: ../custom-contact-forms-admin.php:650
|
647 |
msgid "Default Email Subject:"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: ../custom-contact-forms-admin.php:653
|
651 |
msgid "Default subject to be included in all form emails."
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: ../custom-contact-forms-admin.php:655
|
655 |
msgid "Default Form Success Message Title:"
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: ../custom-contact-forms-admin.php:658
|
659 |
msgid "If someone fills out a form for which a success message title is not provided and a custom success page is not provided, the plugin will show a popover using this field as the window title."
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: ../custom-contact-forms-admin.php:660
|
663 |
msgid "Default Form Success Message:"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: ../custom-contact-forms-admin.php:663
|
667 |
msgid "If someone fills out a form for which a success message is not provided and a custom success page is not provided, the plugin will show a popover containing this message."
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: ../custom-contact-forms-admin.php:665
|
671 |
msgid "Remember Field Values:"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: ../custom-contact-forms-admin.php:671
|
675 |
msgid "Selecting yes will make form fields remember how they were last filled out."
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: ../custom-contact-forms-admin.php:673
|
679 |
msgid "Tooltips in Widget:"
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: ../custom-contact-forms-admin.php:679
|
683 |
msgid "Enabling this shows tooltips containing field instructions on forms in the widget."
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: ../custom-contact-forms-admin.php:681
|
687 |
msgid "Hide Plugin Author Link in Code:"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: ../custom-contact-forms-admin.php:688
|
691 |
msgid "Use Code Type:"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: ../custom-contact-forms-admin.php:694
|
695 |
msgid "This lets you switch the form code between HTML and XHTML."
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: ../custom-contact-forms-admin.php:696
|
699 |
msgid "Fancy Admin AJAX Abilities:"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: ../custom-contact-forms-admin.php:702
|
703 |
msgid "If you enable this, creating, editing and modifying forms, fields, styles, etc in the admin panel will be done using AJAX. This means that clicking things like 'Edit' or 'Delete' will not cause the page to reload thus managing your forms will be much smoother and quicker. If you are having problems with things not saving, deleting, or inserting correctly, then disable this and fill out a bug report below."
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: ../custom-contact-forms-admin.php:704
|
707 |
msgid "Use Wordpress Mail Function:"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: ../custom-contact-forms-admin.php:710
|
711 |
msgid "Setting this to no will use the PHP mail function. If your forms aren't sending mail properly try setting this to no."
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: ../custom-contact-forms-admin.php:711
|
715 |
msgid "Show Sidebar Widget:"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: ../custom-contact-forms-admin.php:715
|
719 |
msgid "On Homepage"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: ../custom-contact-forms-admin.php:718
|
723 |
msgid "On Pages"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: ../custom-contact-forms-admin.php:721
|
727 |
msgid "On Single Posts"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: ../custom-contact-forms-admin.php:725
|
731 |
msgid "On Categories"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: ../custom-contact-forms-admin.php:728
|
735 |
msgid "On Archives"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: ../custom-contact-forms-admin.php:731
|
739 |
msgid "Update"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: ../custom-contact-forms-admin.php:739
|
743 |
msgid "Instructions"
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: ../custom-contact-forms-admin.php:741
|
747 |
msgid "The default content will help you get a better feel of ways this plugin can be used and is the best way to learn."
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: ../custom-contact-forms-admin.php:744
|
751 |
#: ../custom-contact-forms-usage-popover.php:41
|
752 |
msgid "Insert Default Content"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: ../custom-contact-forms-admin.php:747
|
756 |
msgid "1. Create a form."
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: ../custom-contact-forms-admin.php:748
|
760 |
msgid "2. Create fields and attach those fields to the forms of your choice."
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: ../custom-contact-forms-admin.php:748
|
764 |
msgid "Attach the fields in the order that you want them to show up in the form. If you mess up you can detach and reattach them. Create field options in the field option manager; field options should be attached to radio and dropdown fields."
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: ../custom-contact-forms-admin.php:749
|
768 |
msgid "3. Display those forms in posts and pages by inserting the code: [customcontact form=<b>FORMID</b>]. Replace <b>FORMID</b> with the id listed to the left of the form slug next to the form of your choice above. You can also display forms in theme files; the code for this is provided within each forms admin section."
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: ../custom-contact-forms-admin.php:750
|
772 |
msgid "4. Prevent spam by attaching the fixed field, captcha or ishuman. Captcha requires users to type in a number shown on an image. Ishuman requires users to check a box to prove they aren't a spam bot."
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: ../custom-contact-forms-admin.php:751
|
776 |
msgid "5. Add a form to your sidebar, by dragging the Custom Contact Form widget in to your sidebar."
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: ../custom-contact-forms-admin.php:752
|
780 |
msgid "6. Configure the General Settings appropriately; this is important if you want to receive your web form messages!"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: ../custom-contact-forms-admin.php:753
|
784 |
msgid "7. Create form styles to change your forms appearances. The image below explains how each style field can change the look of your forms."
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: ../custom-contact-forms-admin.php:754
|
788 |
msgid "8. (advanced) If you are confident in your HTML and CSS skills, you can use the"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: ../custom-contact-forms-admin.php:754
|
792 |
msgid "Custom HTML Forms feature"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: ../custom-contact-forms-admin.php:754
|
796 |
msgid "as a framework and write your forms from scratch. This allows you to use this plugin simply to process your form requests. The Custom HTML Forms feature will process and email any form variables sent to it regardless of whether they are created in the fields manager."
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: ../custom-contact-forms-admin.php:755
|
800 |
msgid "These instructions briefly tell you in which order you should use forms, fields, field options, and styles."
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: ../custom-contact-forms-admin.php:755
|
804 |
msgid "If you want to read in detail about using forms, fields, field options, styles and the rest of this plugin, click the button below."
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: ../custom-contact-forms-admin.php:757
|
808 |
msgid "View Plugin Usage Popover"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: ../custom-contact-forms-admin.php:765
|
812 |
msgid "Create A Style for Your Forms"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: ../custom-contact-forms-admin.php:767
|
816 |
msgid "Use this manager to create styles for your forms. Each field is already filled out with nice look defaults. It is recommended you simply input a slug and click create to see the defaults before you start changing values."
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: ../custom-contact-forms-admin.php:771
|
820 |
msgid "Style Slug:"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: ../custom-contact-forms-admin.php:773
|
824 |
msgid "(Must be unique)"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: ../custom-contact-forms-admin.php:775
|
828 |
+
#: ../custom-contact-forms-admin.php:1020
|
829 |
+
#: ../custom-contact-forms-admin.php:1025
|
830 |
msgid "Title Font Size:"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: ../custom-contact-forms-admin.php:777
|
834 |
msgid "(ex: 10pt, 10px, 1em)"
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: ../custom-contact-forms-admin.php:779
|
838 |
+
#: ../custom-contact-forms-admin.php:1047
|
839 |
+
#: ../custom-contact-forms-admin.php:1089
|
840 |
msgid "Title Font Color:"
|
841 |
msgstr ""
|
842 |
|
843 |
+
#: ../custom-contact-forms-admin.php:781
|
844 |
+
#: ../custom-contact-forms-admin.php:793
|
845 |
+
#: ../custom-contact-forms-admin.php:831
|
846 |
+
#: ../custom-contact-forms-admin.php:891
|
847 |
+
#: ../custom-contact-forms-admin.php:895
|
848 |
+
#: ../custom-contact-forms-admin.php:911
|
849 |
msgid "(ex: FF0000)"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: ../custom-contact-forms-admin.php:783
|
853 |
+
#: ../custom-contact-forms-admin.php:1004
|
854 |
msgid "Label Width:"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: ../custom-contact-forms-admin.php:785
|
858 |
msgid "(ex: 100px or 20%)"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: ../custom-contact-forms-admin.php:787
|
862 |
+
#: ../custom-contact-forms-admin.php:1028
|
863 |
msgid "Label Font Size:"
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: ../custom-contact-forms-admin.php:789
|
867 |
+
#: ../custom-contact-forms-admin.php:887
|
868 |
msgid "(ex: 10px, 10pt, 1em)"
|
869 |
msgstr ""
|
870 |
|
871 |
+
#: ../custom-contact-forms-admin.php:791
|
872 |
+
#: ../custom-contact-forms-admin.php:1050
|
873 |
msgid "Label Font Color:"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: ../custom-contact-forms-admin.php:795
|
877 |
+
#: ../custom-contact-forms-admin.php:984
|
878 |
msgid "Text Field Width:"
|
879 |
msgstr ""
|
880 |
|
881 |
+
#: ../custom-contact-forms-admin.php:797
|
882 |
+
#: ../custom-contact-forms-admin.php:801
|
883 |
+
#: ../custom-contact-forms-admin.php:805
|
884 |
+
#: ../custom-contact-forms-admin.php:853
|
885 |
msgid "(ex: 100px or 100%)"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: ../custom-contact-forms-admin.php:799
|
889 |
msgid "Textarea Field Width:"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: ../custom-contact-forms-admin.php:803
|
893 |
msgid "Textarea Field Height:"
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: ../custom-contact-forms-admin.php:807
|
897 |
+
#: ../custom-contact-forms-admin.php:1031
|
898 |
msgid "Field Font Size:"
|
899 |
msgstr ""
|
900 |
|
901 |
+
#: ../custom-contact-forms-admin.php:809
|
902 |
msgid "(ex: 10px, 10pt, 1em"
|
903 |
msgstr ""
|
904 |
|
905 |
+
#: ../custom-contact-forms-admin.php:811
|
906 |
+
#: ../custom-contact-forms-admin.php:1053
|
907 |
msgid "Field Font Color:"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: ../custom-contact-forms-admin.php:813
|
911 |
+
#: ../custom-contact-forms-admin.php:835
|
912 |
msgid "(ex: 333333)"
|
913 |
msgstr ""
|
914 |
|
915 |
+
#: ../custom-contact-forms-admin.php:815
|
916 |
+
#: ../custom-contact-forms-admin.php:1083
|
917 |
msgid "Field Border Style:"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: ../custom-contact-forms-admin.php:821
|
921 |
+
#: ../custom-contact-forms-admin.php:1059
|
922 |
msgid "Form Margin:"
|
923 |
msgstr ""
|
924 |
|
925 |
+
#: ../custom-contact-forms-admin.php:823
|
926 |
+
#: ../custom-contact-forms-admin.php:827
|
927 |
+
#: ../custom-contact-forms-admin.php:899
|
928 |
+
#: ../custom-contact-forms-admin.php:903
|
929 |
msgid "(ex: 5px or 1em)"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: ../custom-contact-forms-admin.php:825
|
933 |
+
#: ../custom-contact-forms-admin.php:996
|
934 |
msgid "Label Margin:"
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: ../custom-contact-forms-admin.php:829
|
938 |
msgid "Textarea Background Color:"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: ../custom-contact-forms-admin.php:833
|
942 |
msgid "Success Popover Font Color:"
|
943 |
msgstr ""
|
944 |
|
945 |
+
#: ../custom-contact-forms-admin.php:837
|
946 |
msgid "Success Popover Title Font Size:"
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: ../custom-contact-forms-admin.php:839
|
950 |
+
#: ../custom-contact-forms-admin.php:843
|
951 |
+
#: ../custom-contact-forms-admin.php:915
|
952 |
+
#: ../custom-contact-forms-admin.php:927
|
953 |
msgid "(ex: 12px, 1em, 100%)"
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: ../custom-contact-forms-admin.php:841
|
957 |
+
#: ../custom-contact-forms-admin.php:1022
|
958 |
msgid "Form Background Color:"
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: ../custom-contact-forms-admin.php:845
|
962 |
msgid "Tooltip Background Color:"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: ../custom-contact-forms-admin.php:847
|
966 |
msgid "(ex: 000000 or black)"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: ../custom-contact-forms-admin.php:851
|
970 |
+
#: ../custom-contact-forms-admin.php:1080
|
971 |
msgid "Field Border Color:"
|
972 |
msgstr ""
|
973 |
|
974 |
+
#: ../custom-contact-forms-admin.php:855
|
975 |
+
#: ../custom-contact-forms-admin.php:1069
|
976 |
msgid "Form Border Style:"
|
977 |
msgstr ""
|
978 |
|
979 |
+
#: ../custom-contact-forms-admin.php:861
|
980 |
+
#: ../custom-contact-forms-admin.php:1077
|
981 |
msgid "Form Border Color:"
|
982 |
msgstr ""
|
983 |
|
984 |
+
#: ../custom-contact-forms-admin.php:863
|
985 |
msgid "(ex: 000000)"
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: ../custom-contact-forms-admin.php:865
|
989 |
+
#: ../custom-contact-forms-admin.php:1074
|
990 |
msgid "Form Border Width:"
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: ../custom-contact-forms-admin.php:867
|
994 |
msgid "(ex: 1px)"
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: ../custom-contact-forms-admin.php:869
|
998 |
+
#: ../custom-contact-forms-admin.php:981
|
999 |
msgid "Form Width:"
|
1000 |
msgstr ""
|
1001 |
|
1002 |
+
#: ../custom-contact-forms-admin.php:871
|
1003 |
msgid "(ex: 100px or 50%)"
|
1004 |
msgstr ""
|
1005 |
|
1006 |
+
#: ../custom-contact-forms-admin.php:873
|
1007 |
msgid "Form Font Family:"
|
1008 |
msgstr ""
|
1009 |
|
1010 |
+
#: ../custom-contact-forms-admin.php:875
|
1011 |
msgid "(ex: Verdana, Tahoma, Arial)"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: ../custom-contact-forms-admin.php:877
|
1015 |
+
#: ../custom-contact-forms-admin.php:1007
|
1016 |
msgid "Button Width:"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
+
#: ../custom-contact-forms-admin.php:879
|
1020 |
msgid "(ex: 100px, 30%, auto)"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
+
#: ../custom-contact-forms-admin.php:881
|
1024 |
+
#: ../custom-contact-forms-admin.php:1010
|
1025 |
msgid "Button Height:"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: ../custom-contact-forms-admin.php:883
|
1029 |
msgid "(ex: 100px or 30%)"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: ../custom-contact-forms-admin.php:885
|
1033 |
+
#: ../custom-contact-forms-admin.php:1034
|
1034 |
msgid "Button Font Size:"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: ../custom-contact-forms-admin.php:889
|
1038 |
+
#: ../custom-contact-forms-admin.php:1056
|
1039 |
msgid "Button Font Color:"
|
1040 |
msgstr ""
|
1041 |
|
1042 |
+
#: ../custom-contact-forms-admin.php:893
|
1043 |
+
#: ../custom-contact-forms-admin.php:1013
|
1044 |
msgid "Field Background Color:"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: ../custom-contact-forms-admin.php:897
|
1048 |
+
#: ../custom-contact-forms-admin.php:1037
|
1049 |
msgid "Form Padding:"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: ../custom-contact-forms-admin.php:901
|
1053 |
+
#: ../custom-contact-forms-admin.php:1016
|
1054 |
msgid "Title Margin:"
|
1055 |
msgstr ""
|
1056 |
|
1057 |
+
#: ../custom-contact-forms-admin.php:905
|
1058 |
+
#: ../custom-contact-forms-admin.php:993
|
1059 |
msgid "Dropdown Width:"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: ../custom-contact-forms-admin.php:907
|
1063 |
msgid "(ex: 30px, 20%, or auto)"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
+
#: ../custom-contact-forms-admin.php:909
|
1067 |
msgid "Success Popover Border Color:"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: ../custom-contact-forms-admin.php:913
|
1071 |
msgid "Success Popover Font Size:"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: ../custom-contact-forms-admin.php:917
|
1075 |
msgid "Success Popover Height:"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
+
#: ../custom-contact-forms-admin.php:919
|
1079 |
msgid "(ex: 200px, 6em, 50%)"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
+
#: ../custom-contact-forms-admin.php:921
|
1083 |
+
#: ../custom-contact-forms-admin.php:1092
|
1084 |
msgid "Field Border Roundness:"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: ../custom-contact-forms-admin.php:923
|
1088 |
msgid "(ex: 6px, or 0px)"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
+
#: ../custom-contact-forms-admin.php:925
|
1092 |
+
#: ../custom-contact-forms-admin.php:974
|
1093 |
+
#: ../custom-contact-forms-admin.php:1044
|
1094 |
msgid "Tooltip"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
+
#: ../custom-contact-forms-admin.php:925
|
1098 |
+
#: ../custom-contact-forms-admin.php:974
|
1099 |
+
#: ../custom-contact-forms-admin.php:1044
|
1100 |
msgid "A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field."
|
1101 |
msgstr ""
|
1102 |
|
1103 |
+
#: ../custom-contact-forms-admin.php:925
|
1104 |
+
#: ../custom-contact-forms-admin.php:1041
|
1105 |
msgid "Font Size:"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: ../custom-contact-forms-admin.php:929
|
1109 |
msgid "Tooltip Font Color:"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: ../custom-contact-forms-admin.php:931
|
1113 |
msgid "(ex: ffffff or white)"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: ../custom-contact-forms-admin.php:933
|
1117 |
msgid "Create Style"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: ../custom-contact-forms-admin.php:940
|
1121 |
msgid "Manage Form Styles"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: ../custom-contact-forms-admin.php:960
|
1125 |
#: ../custom-contact-forms-usage-popover.php:125
|
1126 |
#: ../custom-contact-forms-usage-popover.php:178
|
1127 |
#: ../custom-contact-forms-usage-popover.php:206
|
1128 |
msgid "Slug:"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
+
#: ../custom-contact-forms-admin.php:963
|
1132 |
msgid "Font Family:"
|
1133 |
msgstr ""
|
1134 |
|
1135 |
+
#: ../custom-contact-forms-admin.php:966
|
1136 |
msgid "Textarea Background"
|
1137 |
msgstr ""
|
1138 |
|
1139 |
+
#: ../custom-contact-forms-admin.php:967
|
1140 |
msgid "Color:"
|
1141 |
msgstr ""
|
1142 |
|
1143 |
+
#: ../custom-contact-forms-admin.php:970
|
1144 |
+
#: ../custom-contact-forms-admin.php:999
|
1145 |
+
#: ../custom-contact-forms-admin.php:1019
|
1146 |
+
#: ../custom-contact-forms-admin.php:1040
|
1147 |
+
#: ../custom-contact-forms-admin.php:1062
|
1148 |
+
#: ../custom-contact-forms-admin.php:1088
|
1149 |
msgid "Success Popover"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: ../custom-contact-forms-admin.php:971
|
1153 |
msgid "Border Color:"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: ../custom-contact-forms-admin.php:974
|
1157 |
+
#: ../custom-contact-forms-admin.php:1063
|
1158 |
msgid "Font Color:"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
+
#: ../custom-contact-forms-admin.php:979
|
1162 |
msgid "Delete Style"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
+
#: ../custom-contact-forms-admin.php:987
|
1166 |
msgid "Textarea Width:"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: ../custom-contact-forms-admin.php:990
|
1170 |
msgid "Textarea Height:"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: ../custom-contact-forms-admin.php:1000
|
1174 |
msgid "Height:"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: ../custom-contact-forms-admin.php:1044
|
1178 |
msgid "Background Color:"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: ../custom-contact-forms-admin.php:1066
|
1182 |
msgid "Tooltip Font Size:"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: ../custom-contact-forms-admin.php:1118
|
1186 |
msgid "Report a Bug/Suggest a Feature"
|
1187 |
msgstr ""
|
1188 |
|
1189 |
+
#: ../custom-contact-forms-admin.php:1123
|
1190 |
msgid "Your Name:"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
+
#: ../custom-contact-forms-admin.php:1127
|
1194 |
msgid "Your Email:"
|
1195 |
msgstr ""
|
1196 |
|
1197 |
+
#: ../custom-contact-forms-admin.php:1131
|
1198 |
msgid "Your Message:"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#: ../custom-contact-forms-admin.php:1135
|
1202 |
msgid "Purpose of this message:"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
+
#: ../custom-contact-forms-admin.php:1139
|
1206 |
msgid "Plugin Question"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
+
#: ../custom-contact-forms-admin.php:1144
|
1210 |
msgid "Send Message"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
+
#: ../custom-contact-forms-admin.php:1151
|
1214 |
msgid "Custom HTML Forms (Advanced)"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
+
#: ../custom-contact-forms-admin.php:1153
|
1218 |
msgid ""
|
1219 |
"If you know HTML and simply want to use this plugin to process form requests, this feature is for you. \n"
|
1220 |
" The following HTML is a the framework to which you must adhere. In order for your form to work you MUST do the following: a) Keep the form action/method the same (yes the action is supposed to be empty), b) Include all the hidden fields shown below, c) provide a \n"
|
1221 |
" hidden field with a success message or thank you page (both hidden fields are included below, you must choose one or the other and fill in the value part of the input field appropriately."
|
1222 |
msgstr ""
|
1223 |
|
1224 |
+
#: ../custom-contact-forms-admin.php:1159
|
1225 |
msgid "Thank you for filling out our form!"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
+
#: ../custom-contact-forms-admin.php:1164
|
1229 |
msgid ""
|
1230 |
"Build your form in here. It is recommended you only use this feature if you are experienced with HTML. \n"
|
1231 |
"The success_message field will add a popover containing the message when the form is completed successfully, the thank_you_page field will force \n"
|
1233 |
"the field names you want required by commas. Remember to use underscores instead of spaces in field names!"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
+
#: ../custom-contact-forms-admin.php:1174
|
1237 |
#: ../custom-contact-forms-usage-popover.php:315
|
1238 |
msgid "Import / Export"
|
1239 |
msgstr ""
|
1240 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1241 |
#: ../custom-contact-forms-admin.php:1179
|
1242 |
msgid ""
|
1243 |
"Preforming a Custom Contact Forms export will create a file of the form \n"
|
1244 |
" ccf-export-xxxx.sql on your web server. The file created contains SQL that \n"
|
1245 |
+
" will recreate all the plugin data on any Wordpress installation. After Custom Contact Forms creates the export file, you will be prompted to download it. You can use this file as a backup in case your Wordpress database gets ruined."
|
1246 |
msgstr ""
|
1247 |
|
1248 |
#: ../custom-contact-forms-admin.php:1182
|
1249 |
msgid "Export All CCF Plugin Content"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: ../custom-contact-forms-admin.php:1185
|
1253 |
+
msgid "Browse to a CCF .sql export file to import Custom Contact Form data from another Wordpress installation to this one. Pressing the 'Clear and Import' button deletes all current data and then imports the selected file; this will not work for merging to data!. Clearing all CCF data before importing prevents any conflicts from occuring. Before you attempt an import, you should always download a backup, by clicking the 'Export All' button."
|
1254 |
msgstr ""
|
1255 |
|
1256 |
+
#: ../custom-contact-forms-admin.php:1186
|
1257 |
+
msgid "Choose What You Want to Use from the Import File:"
|
1258 |
+
msgstr ""
|
1259 |
+
|
1260 |
+
#: ../custom-contact-forms-admin.php:1190
|
1261 |
+
msgid "Use General Settings"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: ../custom-contact-forms-admin.php:1194
|
1265 |
+
#: ../custom-contact-forms-admin.php:1206
|
1266 |
#: ../custom-contact-forms-usage-popover.php:8
|
1267 |
#: ../custom-contact-forms-usage-popover.php:199
|
1268 |
msgid "Forms"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
+
#: ../custom-contact-forms-admin.php:1198
|
1272 |
+
#: ../custom-contact-forms-usage-popover.php:26
|
1273 |
+
msgid "Form Submissions"
|
1274 |
+
msgstr ""
|
1275 |
+
|
1276 |
+
#: ../custom-contact-forms-admin.php:1202
|
1277 |
#: ../custom-contact-forms-usage-popover.php:11
|
1278 |
#: ../custom-contact-forms-usage-popover.php:49
|
1279 |
msgid "Fields"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
+
#: ../custom-contact-forms-admin.php:1210
|
1283 |
#: ../custom-contact-forms-usage-popover.php:14
|
1284 |
#: ../custom-contact-forms-usage-popover.php:171
|
1285 |
msgid "Field Options"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: ../custom-contact-forms-admin.php:1214
|
1289 |
#: ../custom-contact-forms-usage-popover.php:17
|
1290 |
msgid "Styles"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
+
#: ../custom-contact-forms-admin.php:1217
|
1294 |
+
msgid "Choose an Import File:"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
+
#: ../custom-contact-forms-admin.php:1218
|
1298 |
+
msgid "Clear and Import"
|
1299 |
+
msgstr ""
|
1300 |
+
|
1301 |
+
#: ../custom-contact-forms-admin.php:1219
|
1302 |
+
msgid "Merge Import"
|
1303 |
+
msgstr ""
|
1304 |
+
|
1305 |
+
#: ../custom-contact-forms-admin.php:1220
|
1306 |
+
msgid "Yes, I want to do this and have created a backup."
|
1307 |
+
msgstr ""
|
1308 |
+
|
1309 |
+
#: ../custom-contact-forms-admin.php:1227
|
1310 |
+
msgid "Custom Contact Forms Plugin News"
|
1311 |
+
msgstr ""
|
1312 |
+
|
1313 |
+
#: ../custom-contact-forms-usage-popover.php:3
|
1314 |
+
msgid "How To Use Custom Contact Forms"
|
1315 |
+
msgstr ""
|
1316 |
+
|
1317 |
+
#: ../custom-contact-forms-usage-popover.php:23
|
1318 |
+
msgid "Import/Export"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
#: ../custom-contact-forms-usage-popover.php:30
|
1597 |
msgid "Create a Form"
|
1598 |
msgstr ""
|
1599 |
|
1600 |
+
#: ../custom-contact-forms.php:130
|
1601 |
msgid "Attaching"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
+
#: ../custom-contact-forms.php:131
|
1605 |
msgid "Dettaching"
|
1606 |
msgstr ""
|
1607 |
|
1608 |
+
#: ../custom-contact-forms.php:132
|
1609 |
msgid "Saving"
|
1610 |
msgstr ""
|
1611 |
|
1612 |
+
#: ../custom-contact-forms.php:133
|
1613 |
msgid "More Options"
|
1614 |
msgstr ""
|
1615 |
|
1616 |
+
#: ../custom-contact-forms.php:134
|
1617 |
msgid "Expand"
|
1618 |
msgstr ""
|
1619 |
|
1620 |
+
#: ../custom-contact-forms.php:135
|
1621 |
msgid "Click to Confirm"
|
1622 |
msgstr ""
|
1623 |
|
1624 |
+
#: ../custom-contact-forms.php:136
|
1625 |
msgid "Are you sure you want to delete this"
|
1626 |
msgstr ""
|
1627 |
|
1628 |
+
#: ../custom-contact-forms.php:137
|
1629 |
msgid "An error has occured. Please try again later."
|
1630 |
msgstr ""
|
1631 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.taylorlovett.com
|
|
4 |
Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers
|
5 |
Requires at least: 2.8.1
|
6 |
Tested up to: 3.0.1
|
7 |
-
Stable tag: 4.0.0.
|
8 |
|
9 |
Gauranteed to be the most customizable and intuitive contact form plugin for Wordpress.
|
10 |
|
4 |
Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers
|
5 |
Requires at least: 2.8.1
|
6 |
Tested up to: 3.0.1
|
7 |
+
Stable tag: 4.0.0.b6
|
8 |
|
9 |
Gauranteed to be the most customizable and intuitive contact form plugin for Wordpress.
|
10 |
|