FormGet Contact Form - Version 1.1

Version Description

  • Please upgrade to latest version
Download this release

Release Info

Developer PankajAgarwal
Plugin Icon 128x128 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} RENAMED
@@ -1,13 +1,13 @@
1
  .updated, .error {
2
  /* display:none!important*/
3
  } /* disable the admin notices */
4
- #fg_of_container {
5
  margin: 15px;
6
  width: 1350px;
7
  position:relative;
8
  z-index: 0
9
  }
10
- #fg_of_container #fg_header {
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
- #fg_of_container #fg_header .fg_logo {
22
  float: left;
23
  margin:5px 15px;
24
  margin-top:10px;
25
  }
26
- #fg_of_container #fg_header .fg_logo h2 {
27
  font-style:normal;
28
  }
29
- #fg_of_container #fg_header .fg_icon-option {
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
- #fg_of_container #fg_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
- #fg_of_container #fg_main .pop-name{
45
  padding-top:11px;
46
  }
47
- #fg_of_container #fg_of-nav {
48
  float: left;
49
  position: relative;
50
  z-index: 9999;
51
  width: 180px;
52
  }
53
- #fg_of_container #fg_of-nav li {
54
  margin-bottom:0
55
  }
56
- #fg_of_container #fg_of-nav ul li a:link, #fg_of-nav ul li a:visited {
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
- #fg_of_container #fg_of-nav ul li.current a, #fg_of-nav ul li a:hover {
66
  color: #21759b;
67
  background-color: #fff;
68
  }
69
- #fg_of_container #fg_content {
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
- #fg_of_container #authentication {
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
- #fg_of_container .current-connect{
101
  padding: 1px 17px;
102
  border-bottom: 1px solid #D8D8D8;
103
  }
104
 
105
- #fg_of_container #redirect{
106
  padding: 10px 17px;
107
  border-bottom: 1px solid #D8D8D8;
108
  }
109
- #fg_of_container #fg_content .fg_section {
110
  margin-bottom: 10px;
111
  }
112
- #fg_of_container #fg_content .fg_section h3.fg_heading {
113
  margin: 10px 0 10px 0;
114
  padding: 7px 0px;
115
  border-bottom: 1px solid #e7e7e7;
116
  }
117
- #fg_of_container #fg_content .fg_section .fg_controls {
118
  float: left;
119
  width: 345px;
120
  margin: 0 15px 0 0;
121
  }
122
- #fg_of_container #fg_content .fg_section .explain {
123
  float: left;
124
  width: 225px;
125
  padding: 0 10px 0 0;
126
  font-size: 11px;
127
  color: #999999;
128
  }
129
- #fg_of_container #fg_content .section-checkbox .fg_controls {
130
  width:25px
131
  }
132
- #fg_of_container #fg_content .section-checkbox .explain {
133
  width:540px
134
  }
135
- #of_cointainer #fg_content .section-color .fg_controls {
136
  width:125px
137
  }
138
- #fg_of_container #fg_content .section-color .explain {
139
  width:440px
140
  }
141
- #fg_of_container #fg_content .section-info h3.fg_heading {
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
- #fg_of_container #fg_content .section-info .fg_controls {
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
- #fg_of_container #fg_content .section-info .fg_controls small {
165
  font-size: 12px
166
  }
167
- #fg_of_container #fg_content .section-info h3.fg_heading {
168
  -moz-border-radius-topleft:4px;
169
  -moz-border-radius-topright:4px;
170
  }
171
- #fg_of_container #fg_content .section-info .fg_controls {
172
  -moz-border-radius-bottomleft:4px;
173
  -moz-border-radius-bottomright:4px;
174
  }
175
- #fg_of_container textarea, #fg_of_container input, #fg_of_container select {
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
- #fg_of_container .fg_controls input, #fg_of_container .fg_controls select, #fg_of_container .fg_controls textarea {
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
- #fg_of_container .fg_controls select {
194
  padding: 0 0 0 4px;
195
  width: 500px
196
  }
197
- #fg_of_container .fg_controls textarea {
198
  width: 500px;
199
  }
200
- #fg_of_container .fg_controls .input-text-small {
201
  width: 60px;
202
  margin-right:10px
203
  }
204
- #fg_of_container .meta-two {
205
  margin-right:10px
206
  }
207
- #fg_of_container .fg_controls .of-color {
208
  float:left;
209
  width: 80px;
210
  margin-left:5px; /* font-size:20px; height:34px;*/
211
  }
212
- #fg_of_container #fg_content .section-typography .fg_controls {
213
  width:425px
214
  }
215
- #fg_of_container #fg_content .section-typography .explain {
216
  width:140px
217
  }
218
- #fg_of_container .fg_controls .of-typography-size {
219
  width:80px;
220
  float:left
221
  }
222
- #fg_of_container .fg_controls .of-typography-unit {
223
  width:50px;
224
  float:left
225
  }
226
- #fg_of_container .fg_controls .of-typography-face {
227
  width:100px;
228
  float:left
229
  }
230
- #fg_of_container .fg_controls .of-typography-style {
231
  width:80px;
232
  float:left
233
  }
234
- #fg_of_container .fg_controls .of-radio-img-img {
235
  border:3px solid #fff;
236
  margin:0 5px 10px 0;
237
  display:none;
238
  cursor:pointer;
239
  }
240
- #fg_of_container .fg_controls .of-radio-img-selected {
241
  border:3px solid #ccc
242
  }
243
- #fg_of_container .fg_controls .of-radio-img-img:hover {
244
  opacity:.8;
245
  }
246
- #fg_of_container .fg_controls .of-border-width {
247
  width:80px;
248
  float:left
249
  }
250
- #fg_of_container .fg_controls .of-border-style {
251
  width:120px;
252
  float:left
253
  }
254
- #fg_of_container .fg_group {
255
  padding-bottom:20px
256
  }
257
- #fg_of_container .fg_group h2 {
258
  /*display:none;*/
259
  border-bottom:3px solid #e7e7e7
260
  }
261
- #fg_of_container .fg_group .fg_section ol.step_ol li.step_li
262
  {
263
  font-size: 17px;
264
  }
265
- #fg_of_container .controls input:focus, #fg_of_container select:focus, #fg_of_container textarea:focus {
266
  background:#fff;
267
  }
268
- .fg_save_bar_top {
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
- #fg_of_container .mini .fg_controls select, #fg_of_container #fg_content .fg_section .mini .fg_controls {
296
  width: 70px;
297
  }
298
- #fg_of_container .mini .fg_controls input, #fg_of_container #fg_content .mini .fg_controls {
299
  width: 70px;
300
  }
301
- #fg_of_container #fg_content .mini .explain {
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
- #fg_of_container #fg_of-nav ul li a.pn-view-a{
326
  padding: 10px 10px 20px 15px;
327
  }
328
 
329
- #fg_of_container #fg_of-nav .button-highlighted{
330
  margin-left:8px;
331
  }
332
- #fg_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
- #fg_of_container .help-content table td,#fg_of_container .help-content table th{
340
  padding:10px;
341
  }
342
- #fg_of_container .display-setting input[type="text"] {
343
  width: 60px;
344
  }
345
- #fg_of_container .fg_section #help_txt{
346
  padding-left:50px;
347
  }
348
 
349
- .fg_trial-notify{
350
  background-color: #fffbcc;
351
  border: 1px solid #e6db55;
352
  color: #555;
353
- height: 27px;
354
  font-size: 12px;
355
  text-align: left;
356
- margin-top: 25px ;
 
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.5
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="fg_trial-notify">
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.<?php printf(__('<a class="fg_hide_notice", href="%1$s">Hide Notice</a>'), '?admin_nag_ignore=0'); ?></p>
23
  </div>
24
  <?php
25
- }}}
26
- add_action( 'admin_notices', 'my_admin_notice' );
27
 
28
- function admin_nag_ignore() {
29
- global $current_user;
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/fgstyle.css', __FILE__));
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="fg_of_container" class="fg_wrap">
62
- <form id="fg_ofform" action="" method="POST">
63
- <div id="fg_header">
64
- <div class="fg_logo">
65
  <h2> FormGet Contact Form</h2>
66
  </div>
67
  <a target="#">
68
- <div class="fg_icon-option"> </div>
69
  </a>
70
  <div class="clear"></div>
71
  </div>
72
- <div id="fg_main">
73
 
74
- <div id="fg_of-nav">
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="fg_content">
86
- <div class="fg_group" id="pn_content">
87
  <h2>Contact Form Builder</h2>
88
 
89
- <div class="fg_section section-text">
90
- <h3 class="fg_heading"> Create your custom form by just clicking the fields on left side of the panel.</h3>
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="fg_group" id="pn_displaysetting">
99
  <h2>Embed Code</h2>
100
 
101
- <div class="fg_section section-text">
102
- <h3 class="fg_heading">Embed code field will only accept code for tabbed widgets. Please do not place shortcode here. </h3>
103
  <div class="option">
104
- <div class="fg_controls">
105
- <textarea name="content[html]" cols="60" rows="10" class="regular-text" id="fg_content_html" style="width:900px"><?php echo embeded_code(); ?></textarea>
106
 
107
- <input id="submit-form" class="fg_embed_code_save button-primary" type="button" value="Save Changes" name="submit_form" style="display:none;">
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="fg_group" id="pn_template">
119
  <h2>Steps to use FormGet Contact Form Plugin</h2>
120
 
121
- <div class="fg_section section-text">
122
  <h3></h3>
123
  <div id="help_txt" style="width:900px;">
124
  <ol class="step_ol">
125
 
126
- <li class="step_li">Just sign up yourself and start creating your contact form for your website. </li></br></br>
127
- <div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/sign_up.png', __FILE__); ?>"></div></li></br></br></br>
128
- <li class="step_li">Click on the fields and create your contact form</br></br></br>
129
- <div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Sign_Up_and_Create_Your_Form.png', __FILE__); ?>"></div></li></br></br></br>
130
- <li class="step_li">To rename the form in your own text, click on the tab field. You can make fields required if you want, just check mark the box. At last save your changes.</br></br></br>
131
- <div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Rename the Contact Form.png', __FILE__); ?>"></div></li></br></br></br>
132
- <li class="step_li">To embed the form on your website click on Embed option.</br></br></br>
133
- <div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Embed the form.png', __FILE__); ?>"></div></li></br></br></br>
134
- <li class="step_li">Copy the code for tabbed widget.</br></br></br>
135
- <div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Copy the code.png', __FILE__); ?>"></div></li></br></br></br>
136
- <li class="step_li">Paste the copied embed code in the Embed Code section. At last save your changes.</li></br></br>
137
- <p><b>NOTE:- Only tabbed widget code can be placed in Embed Code field.
138
- </b></p></br>
139
- <div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Paste the code.png', __FILE__); ?>"></div></li></br></br></br>
140
- <li class="step_li">This is how the tabbed widget will look on your website.</li></br></br>
141
- <div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Tabbed_Widget_On_Website.png', __FILE__); ?>"></div></li></br></br></br>
142
-
143
-
144
- <li class="step_li">To display your Contact Form individually on pages, post, widgets and sidebar, just copy the code from the WordPress shortcode field.</li></br></br>
145
- <div id="step_img" style="width:963px; border: 1px solid #dfdfdf;"><img src="<?php echo plugins_url('image/Copy_the_code.png', __FILE__); ?>"></div></li></br></br></br>
146
- <li class="step_li">Paste the copied code either of the above options. Like I just paste it in a page.</li></br></br>
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="fg_group" id="pn_contactus">
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="fg_save_bar_top">
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/fg_script.js', __FILE__), array('jquery'));
186
  wp_localize_script('embeded_script', 'script_call', array('ajaxurl' => admin_url('admin-ajax.php')));
187
  }
188
- if($_GET['page']=='cf_page'){
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.5
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 notice bar added to show notice until form is created
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