Version Description
- Please upgrade to latest version
Download this release
Release Info
Developer | PankajAgarwal |
Plugin | FormGet Contact Form |
Version | 1.1 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.1
- css/{fgstyle.css → style.css} +65 -74
- image/1.png +0 -0
- image/10.png +0 -0
- image/2.png +0 -0
- image/3.png +0 -0
- image/4.png +0 -0
- image/5.png +0 -0
- image/6.png +0 -0
- image/7.png +0 -0
- image/8.png +0 -0
- image/9.png +0 -0
- image/Contact Form through shortcode.jpg +0 -0
- image/Copy the code.png +0 -0
- image/Copy_the_code.png +0 -0
- image/Embed the form.png +0 -0
- image/Paste the code.png +0 -0
- image/Plugin_Support.png +0 -0
- image/Rename the Contact Form.png +0 -0
- image/Shortcode For Page.png +0 -0
- image/Sign_Up.png +0 -0
- image/Sign_Up_and_Create_Your_Form.png +0 -0
- image/Tabbed_Widget_On_Website.png +0 -0
- index.php +52 -86
- js/fg_script.js +0 -39
- js/script.js +38 -0
- readme.txt +2 -9
css/{fgstyle.css → style.css}
RENAMED
@@ -1,13 +1,13 @@
|
|
1 |
.updated, .error {
|
2 |
/* display:none!important*/
|
3 |
} /* disable the admin notices */
|
4 |
-
#
|
5 |
margin: 15px;
|
6 |
width: 1350px;
|
7 |
position:relative;
|
8 |
z-index: 0
|
9 |
}
|
10 |
-
#
|
11 |
height: 80px;
|
12 |
background:#dfdfdf url("../../../../wp-admin/images/gray-grad.png") repeat-x left top;
|
13 |
border: 1px solid #ccc;
|
@@ -18,15 +18,15 @@
|
|
18 |
border-top-right-radius: 6px;
|
19 |
-moz-border-radius-topright: 6px;
|
20 |
}
|
21 |
-
#
|
22 |
float: left;
|
23 |
margin:5px 15px;
|
24 |
margin-top:10px;
|
25 |
}
|
26 |
-
#
|
27 |
font-style:normal;
|
28 |
}
|
29 |
-
#
|
30 |
float: right;
|
31 |
width: 178px;
|
32 |
background: url(../image/popup-ninja.png) no-repeat;
|
@@ -34,26 +34,26 @@
|
|
34 |
margin: 9px 0 0;
|
35 |
}
|
36 |
|
37 |
-
#
|
38 |
background-color: #f1f1f1;
|
39 |
border-left: 1px solid #d8d8d8;
|
40 |
border-right: 1px solid #d8d8d8;
|
41 |
border-bottom: 1px solid #d8d8d8;
|
42 |
padding-top: 1px;
|
43 |
}
|
44 |
-
#
|
45 |
padding-top:11px;
|
46 |
}
|
47 |
-
#
|
48 |
float: left;
|
49 |
position: relative;
|
50 |
z-index: 9999;
|
51 |
width: 180px;
|
52 |
}
|
53 |
-
#
|
54 |
margin-bottom:0
|
55 |
}
|
56 |
-
#
|
57 |
display: block;
|
58 |
padding: 15px 10px 37px 15px;
|
59 |
font-family: Georgia, Serif;
|
@@ -62,11 +62,11 @@ padding-top:11px;
|
|
62 |
color: #797979;
|
63 |
border-bottom: 1px solid #d8d8d8;
|
64 |
}
|
65 |
-
#
|
66 |
color: #21759b;
|
67 |
background-color: #fff;
|
68 |
}
|
69 |
-
#
|
70 |
float: right;
|
71 |
min-height: 550px;
|
72 |
width: 1132px;
|
@@ -77,7 +77,7 @@ padding-top:11px;
|
|
77 |
border-left: 1px solid #d8d8d8;
|
78 |
}
|
79 |
|
80 |
-
#
|
81 |
background-color: #FFFFFF;
|
82 |
border-bottom: 1px solid #D8D8D8;
|
83 |
border-left: 1px solid #D8D8D8;
|
@@ -97,48 +97,48 @@ padding-top:11px;
|
|
97 |
|
98 |
|
99 |
|
100 |
-
#
|
101 |
padding: 1px 17px;
|
102 |
border-bottom: 1px solid #D8D8D8;
|
103 |
}
|
104 |
|
105 |
-
#
|
106 |
padding: 10px 17px;
|
107 |
border-bottom: 1px solid #D8D8D8;
|
108 |
}
|
109 |
-
#
|
110 |
margin-bottom: 10px;
|
111 |
}
|
112 |
-
#
|
113 |
margin: 10px 0 10px 0;
|
114 |
padding: 7px 0px;
|
115 |
border-bottom: 1px solid #e7e7e7;
|
116 |
}
|
117 |
-
#
|
118 |
float: left;
|
119 |
width: 345px;
|
120 |
margin: 0 15px 0 0;
|
121 |
}
|
122 |
-
#
|
123 |
float: left;
|
124 |
width: 225px;
|
125 |
padding: 0 10px 0 0;
|
126 |
font-size: 11px;
|
127 |
color: #999999;
|
128 |
}
|
129 |
-
#
|
130 |
width:25px
|
131 |
}
|
132 |
-
#
|
133 |
width:540px
|
134 |
}
|
135 |
-
#of_cointainer #
|
136 |
width:125px
|
137 |
}
|
138 |
-
#
|
139 |
width:440px
|
140 |
}
|
141 |
-
#
|
142 |
font-size: 12px;
|
143 |
font-weight: 100;
|
144 |
border: 0;
|
@@ -149,7 +149,7 @@ padding-top:11px;
|
|
149 |
background:#EFE186;
|
150 |
padding: 10px 20px;
|
151 |
}
|
152 |
-
#
|
153 |
margin: 0 0 20px;
|
154 |
padding: 15px 20px;
|
155 |
width: auto;
|
@@ -161,18 +161,18 @@ padding-top:11px;
|
|
161 |
border:1px solid #ECD852;
|
162 |
color:#424242;
|
163 |
}
|
164 |
-
#
|
165 |
font-size: 12px
|
166 |
}
|
167 |
-
#
|
168 |
-moz-border-radius-topleft:4px;
|
169 |
-moz-border-radius-topright:4px;
|
170 |
}
|
171 |
-
#
|
172 |
-moz-border-radius-bottomleft:4px;
|
173 |
-moz-border-radius-bottomright:4px;
|
174 |
}
|
175 |
-
#
|
176 |
-moz-border-radius-bottomleft:4px;
|
177 |
-moz-border-radius-bottomright:4px;
|
178 |
-moz-border-radius-topleft:4px;
|
@@ -180,7 +180,7 @@ padding-top:11px;
|
|
180 |
border-style:solid;
|
181 |
border-width:1px;
|
182 |
}
|
183 |
-
#
|
184 |
margin-bottom: 9px !important;
|
185 |
background-color: #f1f1f1;
|
186 |
border: 1px solid;
|
@@ -190,82 +190,82 @@ padding-top:11px;
|
|
190 |
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
|
191 |
font-size: 12px;
|
192 |
}
|
193 |
-
#
|
194 |
padding: 0 0 0 4px;
|
195 |
width: 500px
|
196 |
}
|
197 |
-
#
|
198 |
width: 500px;
|
199 |
}
|
200 |
-
#
|
201 |
width: 60px;
|
202 |
margin-right:10px
|
203 |
}
|
204 |
-
#
|
205 |
margin-right:10px
|
206 |
}
|
207 |
-
#
|
208 |
float:left;
|
209 |
width: 80px;
|
210 |
margin-left:5px; /* font-size:20px; height:34px;*/
|
211 |
}
|
212 |
-
#
|
213 |
width:425px
|
214 |
}
|
215 |
-
#
|
216 |
width:140px
|
217 |
}
|
218 |
-
#
|
219 |
width:80px;
|
220 |
float:left
|
221 |
}
|
222 |
-
#
|
223 |
width:50px;
|
224 |
float:left
|
225 |
}
|
226 |
-
#
|
227 |
width:100px;
|
228 |
float:left
|
229 |
}
|
230 |
-
#
|
231 |
width:80px;
|
232 |
float:left
|
233 |
}
|
234 |
-
#
|
235 |
border:3px solid #fff;
|
236 |
margin:0 5px 10px 0;
|
237 |
display:none;
|
238 |
cursor:pointer;
|
239 |
}
|
240 |
-
#
|
241 |
border:3px solid #ccc
|
242 |
}
|
243 |
-
#
|
244 |
opacity:.8;
|
245 |
}
|
246 |
-
#
|
247 |
width:80px;
|
248 |
float:left
|
249 |
}
|
250 |
-
#
|
251 |
width:120px;
|
252 |
float:left
|
253 |
}
|
254 |
-
#
|
255 |
padding-bottom:20px
|
256 |
}
|
257 |
-
#
|
258 |
/*display:none;*/
|
259 |
border-bottom:3px solid #e7e7e7
|
260 |
}
|
261 |
-
#
|
262 |
{
|
263 |
font-size: 17px;
|
264 |
}
|
265 |
-
#
|
266 |
background:#fff;
|
267 |
}
|
268 |
-
.
|
269 |
background: #f3f3f3;
|
270 |
border:solid #ccc;
|
271 |
border-width:0px 1px 1px 1px;
|
@@ -292,13 +292,13 @@ font-size: 17px;
|
|
292 |
.of-option-image {
|
293 |
max-width:340px;
|
294 |
}
|
295 |
-
#
|
296 |
width: 70px;
|
297 |
}
|
298 |
-
#
|
299 |
width: 70px;
|
300 |
}
|
301 |
-
#
|
302 |
width:500px;
|
303 |
}
|
304 |
.of-notice {
|
@@ -322,50 +322,41 @@ html body * span.clear, html body * div.clear, html body * li.clear, html body *
|
|
322 |
padding: 0; overflow: hidden; visibility: hidden; width: 0; height: 0;
|
323 |
}
|
324 |
|
325 |
-
#
|
326 |
padding: 10px 10px 20px 15px;
|
327 |
}
|
328 |
|
329 |
-
#
|
330 |
margin-left:8px;
|
331 |
}
|
332 |
-
#
|
333 |
background-color: #FFFFE0;
|
334 |
border:1px solid #E6DB55;
|
335 |
-moz-border-radius:8px;
|
336 |
margin: 8px 10px 9px 0;
|
337 |
padding:1px 2px 3px 4px;
|
338 |
}
|
339 |
-
#
|
340 |
padding:10px;
|
341 |
}
|
342 |
-
#
|
343 |
width: 60px;
|
344 |
}
|
345 |
-
#
|
346 |
padding-left:50px;
|
347 |
}
|
348 |
|
349 |
-
.
|
350 |
background-color: #fffbcc;
|
351 |
border: 1px solid #e6db55;
|
352 |
color: #555;
|
353 |
-
height:
|
354 |
font-size: 12px;
|
355 |
text-align: left;
|
356 |
-
margin
|
|
|
357 |
padding-left:8px;
|
|
|
358 |
border-width: 1px;
|
359 |
border-style: solid;
|
360 |
-
padding-bottom: 13px !important;
|
361 |
-
margin-right: 13px !important;
|
362 |
-
-webkit-margin-before: 1.5em;
|
363 |
-
-webkit-margin-after: 1em;
|
364 |
-
-webkit-margin-start: 0px;
|
365 |
-
-webkit-margin-end: 0px;
|
366 |
-
border-radius: 4px;
|
367 |
-
}
|
368 |
-
.fg_hide_notice{
|
369 |
-
float: right;
|
370 |
-
margin-right: 10px;
|
371 |
}
|
1 |
.updated, .error {
|
2 |
/* display:none!important*/
|
3 |
} /* disable the admin notices */
|
4 |
+
#of_container {
|
5 |
margin: 15px;
|
6 |
width: 1350px;
|
7 |
position:relative;
|
8 |
z-index: 0
|
9 |
}
|
10 |
+
#of_container #header {
|
11 |
height: 80px;
|
12 |
background:#dfdfdf url("../../../../wp-admin/images/gray-grad.png") repeat-x left top;
|
13 |
border: 1px solid #ccc;
|
18 |
border-top-right-radius: 6px;
|
19 |
-moz-border-radius-topright: 6px;
|
20 |
}
|
21 |
+
#of_container #header .logo {
|
22 |
float: left;
|
23 |
margin:5px 15px;
|
24 |
margin-top:10px;
|
25 |
}
|
26 |
+
#of_container #header .logo h2 {
|
27 |
font-style:normal;
|
28 |
}
|
29 |
+
#of_container #header .icon-option {
|
30 |
float: right;
|
31 |
width: 178px;
|
32 |
background: url(../image/popup-ninja.png) no-repeat;
|
34 |
margin: 9px 0 0;
|
35 |
}
|
36 |
|
37 |
+
#of_container #main {
|
38 |
background-color: #f1f1f1;
|
39 |
border-left: 1px solid #d8d8d8;
|
40 |
border-right: 1px solid #d8d8d8;
|
41 |
border-bottom: 1px solid #d8d8d8;
|
42 |
padding-top: 1px;
|
43 |
}
|
44 |
+
#of_container #main .pop-name{
|
45 |
padding-top:11px;
|
46 |
}
|
47 |
+
#of_container #of-nav {
|
48 |
float: left;
|
49 |
position: relative;
|
50 |
z-index: 9999;
|
51 |
width: 180px;
|
52 |
}
|
53 |
+
#of_container #of-nav li {
|
54 |
margin-bottom:0
|
55 |
}
|
56 |
+
#of_container #of-nav ul li a:link, #of-nav ul li a:visited {
|
57 |
display: block;
|
58 |
padding: 15px 10px 37px 15px;
|
59 |
font-family: Georgia, Serif;
|
62 |
color: #797979;
|
63 |
border-bottom: 1px solid #d8d8d8;
|
64 |
}
|
65 |
+
#of_container #of-nav ul li.current a, #of-nav ul li a:hover {
|
66 |
color: #21759b;
|
67 |
background-color: #fff;
|
68 |
}
|
69 |
+
#of_container #content {
|
70 |
float: right;
|
71 |
min-height: 550px;
|
72 |
width: 1132px;
|
77 |
border-left: 1px solid #d8d8d8;
|
78 |
}
|
79 |
|
80 |
+
#of_container #authentication {
|
81 |
background-color: #FFFFFF;
|
82 |
border-bottom: 1px solid #D8D8D8;
|
83 |
border-left: 1px solid #D8D8D8;
|
97 |
|
98 |
|
99 |
|
100 |
+
#of_container .current-connect{
|
101 |
padding: 1px 17px;
|
102 |
border-bottom: 1px solid #D8D8D8;
|
103 |
}
|
104 |
|
105 |
+
#of_container #redirect{
|
106 |
padding: 10px 17px;
|
107 |
border-bottom: 1px solid #D8D8D8;
|
108 |
}
|
109 |
+
#of_container #content .section {
|
110 |
margin-bottom: 10px;
|
111 |
}
|
112 |
+
#of_container #content .section h3.heading {
|
113 |
margin: 10px 0 10px 0;
|
114 |
padding: 7px 0px;
|
115 |
border-bottom: 1px solid #e7e7e7;
|
116 |
}
|
117 |
+
#of_container #content .section .controls {
|
118 |
float: left;
|
119 |
width: 345px;
|
120 |
margin: 0 15px 0 0;
|
121 |
}
|
122 |
+
#of_container #content .section .explain {
|
123 |
float: left;
|
124 |
width: 225px;
|
125 |
padding: 0 10px 0 0;
|
126 |
font-size: 11px;
|
127 |
color: #999999;
|
128 |
}
|
129 |
+
#of_container #content .section-checkbox .controls {
|
130 |
width:25px
|
131 |
}
|
132 |
+
#of_container #content .section-checkbox .explain {
|
133 |
width:540px
|
134 |
}
|
135 |
+
#of_cointainer #content .section-color .controls {
|
136 |
width:125px
|
137 |
}
|
138 |
+
#of_container #content .section-color .explain {
|
139 |
width:440px
|
140 |
}
|
141 |
+
#of_container #content .section-info h3.heading {
|
142 |
font-size: 12px;
|
143 |
font-weight: 100;
|
144 |
border: 0;
|
149 |
background:#EFE186;
|
150 |
padding: 10px 20px;
|
151 |
}
|
152 |
+
#of_container #content .section-info .controls {
|
153 |
margin: 0 0 20px;
|
154 |
padding: 15px 20px;
|
155 |
width: auto;
|
161 |
border:1px solid #ECD852;
|
162 |
color:#424242;
|
163 |
}
|
164 |
+
#of_container #content .section-info .controls small {
|
165 |
font-size: 12px
|
166 |
}
|
167 |
+
#of_container #content .section-info h3.heading {
|
168 |
-moz-border-radius-topleft:4px;
|
169 |
-moz-border-radius-topright:4px;
|
170 |
}
|
171 |
+
#of_container #content .section-info .controls {
|
172 |
-moz-border-radius-bottomleft:4px;
|
173 |
-moz-border-radius-bottomright:4px;
|
174 |
}
|
175 |
+
#of_container textarea, #of_container input, #of_container select {
|
176 |
-moz-border-radius-bottomleft:4px;
|
177 |
-moz-border-radius-bottomright:4px;
|
178 |
-moz-border-radius-topleft:4px;
|
180 |
border-style:solid;
|
181 |
border-width:1px;
|
182 |
}
|
183 |
+
#of_container .controls input, #of_container .controls select, #of_container .controls textarea {
|
184 |
margin-bottom: 9px !important;
|
185 |
background-color: #f1f1f1;
|
186 |
border: 1px solid;
|
190 |
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
|
191 |
font-size: 12px;
|
192 |
}
|
193 |
+
#of_container .controls select {
|
194 |
padding: 0 0 0 4px;
|
195 |
width: 500px
|
196 |
}
|
197 |
+
#of_container .controls textarea {
|
198 |
width: 500px;
|
199 |
}
|
200 |
+
#of_container .controls .input-text-small {
|
201 |
width: 60px;
|
202 |
margin-right:10px
|
203 |
}
|
204 |
+
#of_container .meta-two {
|
205 |
margin-right:10px
|
206 |
}
|
207 |
+
#of_container .controls .of-color {
|
208 |
float:left;
|
209 |
width: 80px;
|
210 |
margin-left:5px; /* font-size:20px; height:34px;*/
|
211 |
}
|
212 |
+
#of_container #content .section-typography .controls {
|
213 |
width:425px
|
214 |
}
|
215 |
+
#of_container #content .section-typography .explain {
|
216 |
width:140px
|
217 |
}
|
218 |
+
#of_container .controls .of-typography-size {
|
219 |
width:80px;
|
220 |
float:left
|
221 |
}
|
222 |
+
#of_container .controls .of-typography-unit {
|
223 |
width:50px;
|
224 |
float:left
|
225 |
}
|
226 |
+
#of_container .controls .of-typography-face {
|
227 |
width:100px;
|
228 |
float:left
|
229 |
}
|
230 |
+
#of_container .controls .of-typography-style {
|
231 |
width:80px;
|
232 |
float:left
|
233 |
}
|
234 |
+
#of_container .controls .of-radio-img-img {
|
235 |
border:3px solid #fff;
|
236 |
margin:0 5px 10px 0;
|
237 |
display:none;
|
238 |
cursor:pointer;
|
239 |
}
|
240 |
+
#of_container .controls .of-radio-img-selected {
|
241 |
border:3px solid #ccc
|
242 |
}
|
243 |
+
#of_container .controls .of-radio-img-img:hover {
|
244 |
opacity:.8;
|
245 |
}
|
246 |
+
#of_container .controls .of-border-width {
|
247 |
width:80px;
|
248 |
float:left
|
249 |
}
|
250 |
+
#of_container .controls .of-border-style {
|
251 |
width:120px;
|
252 |
float:left
|
253 |
}
|
254 |
+
#of_container .group {
|
255 |
padding-bottom:20px
|
256 |
}
|
257 |
+
#of_container .group h2 {
|
258 |
/*display:none;*/
|
259 |
border-bottom:3px solid #e7e7e7
|
260 |
}
|
261 |
+
#of_container .group .section ol.step_ol li.step_li
|
262 |
{
|
263 |
font-size: 17px;
|
264 |
}
|
265 |
+
#of_container .controls input:focus, #of_container select:focus, #of_container textarea:focus {
|
266 |
background:#fff;
|
267 |
}
|
268 |
+
.save_bar_top {
|
269 |
background: #f3f3f3;
|
270 |
border:solid #ccc;
|
271 |
border-width:0px 1px 1px 1px;
|
292 |
.of-option-image {
|
293 |
max-width:340px;
|
294 |
}
|
295 |
+
#of_container .mini .controls select, #of_container #content .section .mini .controls {
|
296 |
width: 70px;
|
297 |
}
|
298 |
+
#of_container .mini .controls input, #of_container #content .mini .controls {
|
299 |
width: 70px;
|
300 |
}
|
301 |
+
#of_container #content .mini .explain {
|
302 |
width:500px;
|
303 |
}
|
304 |
.of-notice {
|
322 |
padding: 0; overflow: hidden; visibility: hidden; width: 0; height: 0;
|
323 |
}
|
324 |
|
325 |
+
#of_container #of-nav ul li a.pn-view-a{
|
326 |
padding: 10px 10px 20px 15px;
|
327 |
}
|
328 |
|
329 |
+
#of_container #of-nav .button-highlighted{
|
330 |
margin-left:8px;
|
331 |
}
|
332 |
+
#of_container .help-content{
|
333 |
background-color: #FFFFE0;
|
334 |
border:1px solid #E6DB55;
|
335 |
-moz-border-radius:8px;
|
336 |
margin: 8px 10px 9px 0;
|
337 |
padding:1px 2px 3px 4px;
|
338 |
}
|
339 |
+
#of_container .help-content table td,#of_container .help-content table th{
|
340 |
padding:10px;
|
341 |
}
|
342 |
+
#of_container .display-setting input[type="text"] {
|
343 |
width: 60px;
|
344 |
}
|
345 |
+
#of_container .section #help_txt{
|
346 |
padding-left:50px;
|
347 |
}
|
348 |
|
349 |
+
.trial-notify{
|
350 |
background-color: #fffbcc;
|
351 |
border: 1px solid #e6db55;
|
352 |
color: #555;
|
353 |
+
height: 30px;
|
354 |
font-size: 12px;
|
355 |
text-align: left;
|
356 |
+
margin: 5px;
|
357 |
+
margin-top:15px;
|
358 |
padding-left:8px;
|
359 |
+
padding-bottom:3px;
|
360 |
border-width: 1px;
|
361 |
border-style: solid;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
}
|
image/1.png
ADDED
Binary file
|
image/10.png
ADDED
Binary file
|
image/2.png
ADDED
Binary file
|
image/3.png
ADDED
Binary file
|
image/4.png
ADDED
Binary file
|
image/5.png
ADDED
Binary file
|
image/6.png
ADDED
Binary file
|
image/7.png
ADDED
Binary file
|
image/8.png
ADDED
Binary file
|
image/9.png
ADDED
Binary file
|
image/Contact Form through shortcode.jpg
DELETED
Binary file
|
image/Copy the code.png
DELETED
Binary file
|
image/Copy_the_code.png
DELETED
Binary file
|
image/Embed the form.png
DELETED
Binary file
|
image/Paste the code.png
DELETED
Binary file
|
image/Plugin_Support.png
DELETED
Binary file
|
image/Rename the Contact Form.png
DELETED
Binary file
|
image/Shortcode For Page.png
DELETED
Binary file
|
image/Sign_Up.png
DELETED
Binary file
|
image/Sign_Up_and_Create_Your_Form.png
DELETED
Binary file
|
image/Tabbed_Widget_On_Website.png
DELETED
Binary file
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: FormGet Contact Form
|
4 |
Plugin URI: http://www.formget.com
|
5 |
Description: FormGet Contact Form is an eassy and effective form builder tool which enable you to bulid and embed form on your website in few steps. With FormGet Contact Form manage all your contact forms and your entire client communication at one single place.
|
6 |
-
Version: 1.
|
7 |
Author: FormGet
|
8 |
Author URI: http://www.formget.com
|
9 |
*/
|
@@ -12,43 +12,22 @@ function my_admin_notice() {
|
|
12 |
$string = "sideBar";
|
13 |
$pos = strpos($fg_iframe_form, $string);
|
14 |
if ($pos == false) {
|
15 |
-
global $current_user ;
|
16 |
-
$user_id = $current_user->ID;
|
17 |
-
/* Check that the user hasn't already clicked to ignore the message */
|
18 |
-
if ( ! get_user_meta($user_id, 'admin_ignore_notice') ){
|
19 |
?>
|
20 |
-
<div class="
|
21 |
<p>
|
22 |
-
<a href='<?php echo admin_url('admin.php?page=cf_page'); ?>'>Click to Create your own Advance Contact Form.</a> You can add your built form to any Page, Post, Sidebar or as a Tabbed Content
|
23 |
</div>
|
24 |
<?php
|
25 |
-
|
26 |
-
add_action( 'admin_notices', 'my_admin_notice' );
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
$user_id = $current_user->ID;
|
31 |
-
/* If user clicks to ignore the notice, add that to their user meta */
|
32 |
-
if ( isset($_GET['admin_nag_ignore']) && '0' == $_GET['admin_nag_ignore'] ) {
|
33 |
-
add_user_meta($user_id, 'admin_ignore_notice', 'true', true);
|
34 |
-
}
|
35 |
-
}
|
36 |
-
add_action('admin_init', 'admin_nag_ignore');
|
37 |
-
|
38 |
-
function delete_user_entry(){
|
39 |
-
global $current_user;
|
40 |
-
$user_id = $current_user->ID;
|
41 |
-
delete_user_meta( $user_id, 'admin_ignore_notice', 'true', true );
|
42 |
-
}
|
43 |
-
register_deactivation_hook(__FILE__, 'delete_user_entry');
|
44 |
|
45 |
function cf_add_style() {
|
46 |
-
wp_enqueue_style('form1_style1_sheet1', plugins_url('css/
|
47 |
}
|
48 |
|
49 |
add_action("init", "cf_add_style");
|
50 |
-
|
51 |
-
|
52 |
//setting page
|
53 |
add_action('admin_menu', 'cf_menu_page');
|
54 |
|
@@ -58,20 +37,20 @@ function cf_menu_page() {
|
|
58 |
|
59 |
function cf_setting_page() {
|
60 |
$url = plugins_url();
|
61 |
-
?><div id="
|
62 |
-
<form id="
|
63 |
-
<div id="
|
64 |
-
<div class="
|
65 |
<h2> FormGet Contact Form</h2>
|
66 |
</div>
|
67 |
<a target="#">
|
68 |
-
<div class="
|
69 |
</a>
|
70 |
<div class="clear"></div>
|
71 |
</div>
|
72 |
-
<div id="
|
73 |
|
74 |
-
<div id="
|
75 |
<ul>
|
76 |
|
77 |
<li> <a class="pn-view-a" href="#pn_content" title="Form Builder">Contact Form Builder </a></li>
|
@@ -82,12 +61,12 @@ function cf_setting_page() {
|
|
82 |
</ul>
|
83 |
|
84 |
</div>
|
85 |
-
<div id="
|
86 |
-
<div class="
|
87 |
<h2>Contact Form Builder</h2>
|
88 |
|
89 |
-
<div class="
|
90 |
-
<h3 class="
|
91 |
|
92 |
<iframe src="http://www.formget.com/app" name="iframe" id="iframebox" style="width:100%; height:750px; border:1px solid #dfdfdf; align:center;">
|
93 |
</iframe>
|
@@ -95,16 +74,16 @@ function cf_setting_page() {
|
|
95 |
|
96 |
</div>
|
97 |
|
98 |
-
<div class="
|
99 |
<h2>Embed Code</h2>
|
100 |
|
101 |
-
<div class="
|
102 |
-
<h3 class="
|
103 |
<div class="option">
|
104 |
-
<div class="
|
105 |
-
<textarea name="content[html]" cols="60" rows="10" class="regular-text" id="
|
106 |
|
107 |
-
<input id="submit-form" class="
|
108 |
<div id="loader_img" align="center" style="margin-left:460px; display:none;">
|
109 |
<img src="<?php echo plugins_url('image/ajax-loader.gif', __FILE__); ?>">
|
110 |
</div>
|
@@ -115,51 +94,40 @@ function cf_setting_page() {
|
|
115 |
</div>
|
116 |
|
117 |
</div>
|
118 |
-
<div class="
|
119 |
<h2>Steps to use FormGet Contact Form Plugin</h2>
|
120 |
|
121 |
-
<div class="
|
122 |
<h3></h3>
|
123 |
<div id="help_txt" style="width:900px;">
|
124 |
<ol class="step_ol">
|
125 |
|
126 |
-
<li class="step_li">
|
127 |
-
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
<
|
140 |
-
<
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
<p><b>NOTE:- Remember shortcodes are made to show your contact form on individual pages/posts/siderbar/footer. Do not put your code in Embed Code field. It will not work.
|
148 |
-
</b></p></br>
|
149 |
-
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Shortcode For Page.png', __FILE__); ?>"></div></li></br></br></br>
|
150 |
-
<li class="step_li">This is how your Contact Form will appear on website's page through shortcode.</li></br></br>
|
151 |
-
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Contact Form through shortcode.jpg', __FILE__); ?>"></div></li></br></br></br>
|
152 |
-
<li class="step_li">If you have any issues or need any help you can just click on Plugin Support section and submit your query.</li></br></br>
|
153 |
-
|
154 |
-
|
155 |
-
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Plugin_Support.png', __FILE__); ?>"></div></li></br></br></br>
|
156 |
-
<div style="font-size:15px;"> <b> Thanks,</br></br>
|
157 |
-
FormGet Team</i></b></div>
|
158 |
</div>
|
159 |
</div>
|
160 |
|
161 |
</div>
|
162 |
-
<div class="
|
163 |
<iframe height='570' allowTransparency='true' frameborder='0' scrolling='no' style='width:100%;border:none' src='http://www.formget.com/app/embed/form/qQvs-639'>Your Contact </iframe>
|
164 |
|
165 |
</div>
|
@@ -168,7 +136,7 @@ function cf_setting_page() {
|
|
168 |
<div class="clear"></div>
|
169 |
</div>
|
170 |
|
171 |
-
<div class="
|
172 |
|
173 |
|
174 |
|
@@ -181,19 +149,17 @@ function cf_setting_page() {
|
|
181 |
<?php
|
182 |
}
|
183 |
|
|
|
184 |
function cf_embeded_script() {
|
185 |
-
wp_enqueue_script('embeded_script', plugins_url('js/
|
186 |
wp_localize_script('embeded_script', 'script_call', array('ajaxurl' => admin_url('admin-ajax.php')));
|
187 |
}
|
188 |
-
|
189 |
add_action('init', 'cf_embeded_script');
|
190 |
-
}
|
191 |
|
192 |
function cf_text_ajax_process_request() {
|
193 |
$text_value = $_POST['value'];
|
194 |
update_option('fg_embed_code', $text_value);
|
195 |
-
echo 1;
|
196 |
-
die();
|
197 |
}
|
198 |
|
199 |
add_action('wp_ajax_master_response', 'cf_text_ajax_process_request');
|
3 |
Plugin Name: FormGet Contact Form
|
4 |
Plugin URI: http://www.formget.com
|
5 |
Description: FormGet Contact Form is an eassy and effective form builder tool which enable you to bulid and embed form on your website in few steps. With FormGet Contact Form manage all your contact forms and your entire client communication at one single place.
|
6 |
+
Version: 1.1
|
7 |
Author: FormGet
|
8 |
Author URI: http://www.formget.com
|
9 |
*/
|
12 |
$string = "sideBar";
|
13 |
$pos = strpos($fg_iframe_form, $string);
|
14 |
if ($pos == false) {
|
|
|
|
|
|
|
|
|
15 |
?>
|
16 |
+
<div class="trial-notify">
|
17 |
<p>
|
18 |
+
<a href='<?php echo admin_url('admin.php?page=cf_page'); ?>'>Click to Create your own Advance Contact Form.</a> You can add your built form to any Page, Post, Sidebar or as a Tabbed Content.</p>
|
19 |
</div>
|
20 |
<?php
|
21 |
+
}}
|
|
|
22 |
|
23 |
+
add_action( 'admin_notices', 'my_admin_notice' );
|
24 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
function cf_add_style() {
|
27 |
+
wp_enqueue_style('form1_style1_sheet1', plugins_url('css/style.css', __FILE__));
|
28 |
}
|
29 |
|
30 |
add_action("init", "cf_add_style");
|
|
|
|
|
31 |
//setting page
|
32 |
add_action('admin_menu', 'cf_menu_page');
|
33 |
|
37 |
|
38 |
function cf_setting_page() {
|
39 |
$url = plugins_url();
|
40 |
+
?><div id="of_container" class="wrap">
|
41 |
+
<form id="ofform" action="" method="POST">
|
42 |
+
<div id="header">
|
43 |
+
<div class="logo">
|
44 |
<h2> FormGet Contact Form</h2>
|
45 |
</div>
|
46 |
<a target="#">
|
47 |
+
<div class="icon-option"> </div>
|
48 |
</a>
|
49 |
<div class="clear"></div>
|
50 |
</div>
|
51 |
+
<div id="main">
|
52 |
|
53 |
+
<div id="of-nav">
|
54 |
<ul>
|
55 |
|
56 |
<li> <a class="pn-view-a" href="#pn_content" title="Form Builder">Contact Form Builder </a></li>
|
61 |
</ul>
|
62 |
|
63 |
</div>
|
64 |
+
<div id="content">
|
65 |
+
<div class="group" id="pn_content">
|
66 |
<h2>Contact Form Builder</h2>
|
67 |
|
68 |
+
<div class="section section-text">
|
69 |
+
<h3 class="heading"> Create your custom form by just clicking the fields on left side of the panel.</h3>
|
70 |
|
71 |
<iframe src="http://www.formget.com/app" name="iframe" id="iframebox" style="width:100%; height:750px; border:1px solid #dfdfdf; align:center;">
|
72 |
</iframe>
|
74 |
|
75 |
</div>
|
76 |
|
77 |
+
<div class="group" id="pn_displaysetting">
|
78 |
<h2>Embed Code</h2>
|
79 |
|
80 |
+
<div class="section section-text">
|
81 |
+
<h3 class="heading">Paste here your tabbed code which you will get after creating form, and then click on save button. Your form will start appearing on your website.</h3>
|
82 |
<div class="option">
|
83 |
+
<div class="controls">
|
84 |
+
<textarea name="content[html]" cols="60" rows="10" class="regular-text" id="content_html" style="width:900px"><?php echo embeded_code(); ?></textarea>
|
85 |
|
86 |
+
<input id="submit-form" class="embed_code_save button-primary" type="button" value="Save Changes" name="submit_form" style="display:none;">
|
87 |
<div id="loader_img" align="center" style="margin-left:460px; display:none;">
|
88 |
<img src="<?php echo plugins_url('image/ajax-loader.gif', __FILE__); ?>">
|
89 |
</div>
|
94 |
</div>
|
95 |
|
96 |
</div>
|
97 |
+
<div class="group" id="pn_template">
|
98 |
<h2>Steps to use FormGet Contact Form Plugin</h2>
|
99 |
|
100 |
+
<div class="section section-text">
|
101 |
<h3></h3>
|
102 |
<div id="help_txt" style="width:900px;">
|
103 |
<ol class="step_ol">
|
104 |
|
105 |
+
<li class="step_li">Go to "Contact Form Builder" tab and create your form by clicking on form fields.</li></br>
|
106 |
+
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/1.png', __FILE__); ?>"></div></li></br></br></br>
|
107 |
+
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/2.png', __FILE__); ?>"></div></li></br></br></br>
|
108 |
+
<li class="step_li">After creating your form, Register yourself through a registration popup. Your form is now ready for embedding on your site.</br></br>
|
109 |
+
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/3.png', __FILE__); ?>"></div></li></br></br></br>
|
110 |
+
<li class="step_li">In order to add form to your website. Click the Embed link.</br></br>
|
111 |
+
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/4.png', __FILE__); ?>"></div></li></br></br></br>
|
112 |
+
<li class="step_li">Click on Tabbed Widget and copy the whole code by clicking on "Copy Code" button.</br></br>
|
113 |
+
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/5.png', __FILE__); ?>"></div></li></br></br></br>
|
114 |
+
<li class="step_li">Paste the copied code on "Emded Code" section in the plugin which appears on the "FormGet Contact Form" plugin dashboard inside WordPress Admin area.</br></br>
|
115 |
+
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/6.png', __FILE__); ?>"></div></li></br></br></br>
|
116 |
+
<li class="step_li">Your contact form will start to appear on your website. You can see a Contact Us Tab appearing on the right side of all your site pages.</li></br>
|
117 |
+
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/9.png', __FILE__); ?>"></div></li></br></br></br>
|
118 |
+
<li class="step_li">Alternatively you can also use the WordPress Shortcode tab under the Form Builder tab and use the code over there in your WordPress pages/posts to make the form appear on selective pages only.</li>
|
119 |
+
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/8.png', __FILE__); ?>"></div></li></br></br></br>
|
120 |
+
<div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/10.png', __FILE__); ?>"></div></li></br></br></br>
|
121 |
+
|
122 |
+
</ol><br /><br />
|
123 |
+
<b><i> If you have any issues whatsoever. Email us at: neeraga@gmail.com and We will help you out with the form integration.<br /><br/>
|
124 |
+
Thanks</br>
|
125 |
+
FormGet Team</i></b>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
</div>
|
127 |
</div>
|
128 |
|
129 |
</div>
|
130 |
+
<div class="group" id="pn_contactus">
|
131 |
<iframe height='570' allowTransparency='true' frameborder='0' scrolling='no' style='width:100%;border:none' src='http://www.formget.com/app/embed/form/qQvs-639'>Your Contact </iframe>
|
132 |
|
133 |
</div>
|
136 |
<div class="clear"></div>
|
137 |
</div>
|
138 |
|
139 |
+
<div class="save_bar_top">
|
140 |
|
141 |
|
142 |
|
149 |
<?php
|
150 |
}
|
151 |
|
152 |
+
//embed code
|
153 |
function cf_embeded_script() {
|
154 |
+
wp_enqueue_script('embeded_script', plugins_url('js/script.js', __FILE__), array('jquery'));
|
155 |
wp_localize_script('embeded_script', 'script_call', array('ajaxurl' => admin_url('admin-ajax.php')));
|
156 |
}
|
157 |
+
|
158 |
add_action('init', 'cf_embeded_script');
|
|
|
159 |
|
160 |
function cf_text_ajax_process_request() {
|
161 |
$text_value = $_POST['value'];
|
162 |
update_option('fg_embed_code', $text_value);
|
|
|
|
|
163 |
}
|
164 |
|
165 |
add_action('wp_ajax_master_response', 'cf_text_ajax_process_request');
|
js/fg_script.js
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function() {
|
2 |
-
jQuery('.fg_group').hide();
|
3 |
-
jQuery('.fg_group:first').fadeIn();
|
4 |
-
jQuery('#fg_of-nav li:first').addClass('current');
|
5 |
-
jQuery('#fg_of-nav li a').click(function(evt){
|
6 |
-
jQuery('#fg_of-nav li').removeClass('current');
|
7 |
-
jQuery(this).parent().addClass('current');
|
8 |
-
if(jQuery(this).attr("title")=="Embed Code"){
|
9 |
-
jQuery(".fg_embed_code_save").css("display", "block");
|
10 |
-
jQuery(".fg_embed_code_save").css("float", "left");
|
11 |
-
jQuery(".fg_embed_code_save").css("width", "120px");
|
12 |
-
jQuery(".fg_embed_code_save").css("height", "40px");
|
13 |
-
}
|
14 |
-
else{
|
15 |
-
jQuery(".fg_embed_code_save").css("display", "none");
|
16 |
-
}
|
17 |
-
var clicked_group = jQuery(this).attr('href');
|
18 |
-
jQuery('.fg_group').hide();
|
19 |
-
jQuery(clicked_group).fadeIn();
|
20 |
-
evt.preventDefault();
|
21 |
-
});
|
22 |
-
jQuery('.fg_embed_code_save').click(function() {
|
23 |
-
jQuery('div#loader_img').css("display","block");
|
24 |
-
var text_value = jQuery('textarea#fg_content_html').val();
|
25 |
-
var data = {
|
26 |
-
action: 'master_response',
|
27 |
-
value: text_value
|
28 |
-
};
|
29 |
-
jQuery.post(script_call.ajaxurl, data, function(response) {
|
30 |
-
if (response) {
|
31 |
-
jQuery('div#loader_img').css("display", "none");
|
32 |
-
}
|
33 |
-
else {
|
34 |
-
|
35 |
-
jQuery('div#loader_img').css("display", "none");
|
36 |
-
}
|
37 |
-
});
|
38 |
-
});
|
39 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/script.js
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function() {
|
2 |
+
jQuery('.group').hide();
|
3 |
+
jQuery('.group:first').fadeIn();
|
4 |
+
jQuery('#of-nav li:first').addClass('current');
|
5 |
+
jQuery('#of-nav li a').click(function(evt){
|
6 |
+
jQuery('#of-nav li').removeClass('current');
|
7 |
+
jQuery(this).parent().addClass('current');
|
8 |
+
if(jQuery(this).attr("title")=="Embed Code"){
|
9 |
+
jQuery(".embed_code_save").css("display", "block");
|
10 |
+
jQuery(".embed_code_save").css("float", "left");
|
11 |
+
jQuery(".embed_code_save").css("width", "120px");
|
12 |
+
jQuery(".embed_code_save").css("height", "40px");
|
13 |
+
}
|
14 |
+
else{
|
15 |
+
jQuery(".embed_code_save").css("display", "none");
|
16 |
+
}
|
17 |
+
var clicked_group = jQuery(this).attr('href');
|
18 |
+
jQuery('.group').hide();
|
19 |
+
jQuery(clicked_group).fadeIn();
|
20 |
+
evt.preventDefault();
|
21 |
+
});
|
22 |
+
jQuery('.embed_code_save').click(function() {
|
23 |
+
jQuery('div#loader_img').css("display","block");
|
24 |
+
var text_value = jQuery('textarea#content_html').val();
|
25 |
+
var data = {
|
26 |
+
action: 'master_response',
|
27 |
+
value: text_value
|
28 |
+
};
|
29 |
+
jQuery.post(script_call.ajaxurl, data, function(response) {
|
30 |
+
if (response) {
|
31 |
+
jQuery('div#loader_img').css("display", "none");
|
32 |
+
}
|
33 |
+
else {
|
34 |
+
alert('error');
|
35 |
+
}
|
36 |
+
});
|
37 |
+
});
|
38 |
+
});
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: PankajAgarwal
|
|
3 |
Tags: contact form, contact, form, forms, contact form plugin, contact form builder, contact form with recaptcha, feedback form, contact us, request form, contact button, drag and drop contact form, file upload contact form, contact form to email, contact form payments, contact for paypal, form solution, form builder, feedback, easy contact form, helpdesk
|
4 |
Requires at least: 3.5.0
|
5 |
Tested up to: 3.5.1
|
6 |
-
Stable tag: 1.
|
7 |
|
8 |
FormGet Contact Form manage all your contact forms using single dashboard. Just a click on fields and your contact form is ready for use.
|
9 |
|
@@ -145,16 +145,9 @@ When you create account in FormGet you automatically get support desk. All the e
|
|
145 |
|
146 |
== Changelog ==
|
147 |
|
148 |
-
= Version 1.5 =
|
149 |
-
*CSS bug fixed.
|
150 |
-
|
151 |
-
= Version 1.4 =
|
152 |
-
* Admin notice will only be appear on when FormGet contact form installed or reactivated. Once user activate the dismiss admin notice, Notice disappear permanently.
|
153 |
-
* Admin notice bar bug fixed.
|
154 |
-
|
155 |
= Version 1.3 =
|
156 |
* Support tab added to handle query related to plugin
|
157 |
-
* Admin
|
158 |
|
159 |
= Version 1.2 =
|
160 |
* Minor improvement on help section
|
3 |
Tags: contact form, contact, form, forms, contact form plugin, contact form builder, contact form with recaptcha, feedback form, contact us, request form, contact button, drag and drop contact form, file upload contact form, contact form to email, contact form payments, contact for paypal, form solution, form builder, feedback, easy contact form, helpdesk
|
4 |
Requires at least: 3.5.0
|
5 |
Tested up to: 3.5.1
|
6 |
+
Stable tag: 1.3
|
7 |
|
8 |
FormGet Contact Form manage all your contact forms using single dashboard. Just a click on fields and your contact form is ready for use.
|
9 |
|
145 |
|
146 |
== Changelog ==
|
147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
= Version 1.3 =
|
149 |
* Support tab added to handle query related to plugin
|
150 |
+
* Admin-notice bar added to show notice until form is created
|
151 |
|
152 |
= Version 1.2 =
|
153 |
* Minor improvement on help section
|