FormGet Contact Form - Version 1.5

Version Description

Download this release

Release Info

Developer PankajAgarwal
Plugin Icon 128x128 FormGet Contact Form
Version 1.5
Comparing to
See all releases

Code changes from version 1.4 to 1.5

css/{style.css → fgstyle.css} RENAMED
@@ -1,13 +1,13 @@
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,15 +18,15 @@
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,26 +34,26 @@
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,11 +62,11 @@ padding-top:11px;
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,7 +77,7 @@ padding-top:11px;
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,48 +97,48 @@ padding-top:11px;
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,7 +149,7 @@ padding-top:11px;
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,18 +161,18 @@ padding-top:11px;
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,7 +180,7 @@ padding-top:11px;
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,82 +190,82 @@ padding-top:11px;
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,13 +292,13 @@ font-size: 17px;
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,31 +322,31 @@ 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
- #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;
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
  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
  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
  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
  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
 
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
  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
  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
  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
  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
  .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
  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;
image/1.png DELETED
Binary file
image/10.png DELETED
Binary file
image/2.png DELETED
Binary file
image/3.png DELETED
Binary file
image/4.png DELETED
Binary file
image/5.png DELETED
Binary file
image/6.png DELETED
Binary file
image/7.png DELETED
Binary file
image/8.png DELETED
Binary file
image/9.png DELETED
Binary file
image/Contact Form through shortcode.jpg ADDED
Binary file
image/Copy the code.png ADDED
Binary file
image/Copy_the_code.png ADDED
Binary file
image/Embed the form.png ADDED
Binary file
image/Paste the code.png ADDED
Binary file
image/Plugin_Support.png ADDED
Binary file
image/Rename the Contact Form.png ADDED
Binary file
image/Shortcode For Page.png ADDED
Binary file
image/Sign_Up.png ADDED
Binary file
image/Sign_Up_and_Create_Your_Form.png ADDED
Binary file
image/Tabbed_Widget_On_Website.png ADDED
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.4
7
  Author: FormGet
8
  Author URI: http://www.formget.com
9
  */
@@ -17,7 +17,7 @@ function my_admin_notice() {
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="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>
@@ -43,10 +43,12 @@ delete_user_meta( $user_id, 'admin_ignore_notice', 'true', true );
43
  register_deactivation_hook(__FILE__, 'delete_user_entry');
44
 
45
  function cf_add_style() {
46
- wp_enqueue_style('form1_style1_sheet1', plugins_url('css/style.css', __FILE__));
47
  }
48
 
49
  add_action("init", "cf_add_style");
 
 
50
  //setting page
51
  add_action('admin_menu', 'cf_menu_page');
52
 
@@ -56,20 +58,20 @@ function cf_menu_page() {
56
 
57
  function cf_setting_page() {
58
  $url = plugins_url();
59
- ?><div id="of_container" class="wrap">
60
- <form id="ofform" action="" method="POST">
61
- <div id="header">
62
- <div class="logo">
63
  <h2> FormGet Contact Form</h2>
64
  </div>
65
  <a target="#">
66
- <div class="icon-option"> </div>
67
  </a>
68
  <div class="clear"></div>
69
  </div>
70
- <div id="main">
71
 
72
- <div id="of-nav">
73
  <ul>
74
 
75
  <li> <a class="pn-view-a" href="#pn_content" title="Form Builder">Contact Form Builder </a></li>
@@ -80,12 +82,12 @@ function cf_setting_page() {
80
  </ul>
81
 
82
  </div>
83
- <div id="content">
84
- <div class="group" id="pn_content">
85
  <h2>Contact Form Builder</h2>
86
 
87
- <div class="section section-text">
88
- <h3 class="heading"> Create your custom form by just clicking the fields on left side of the panel.</h3>
89
 
90
  <iframe src="http://www.formget.com/app" name="iframe" id="iframebox" style="width:100%; height:750px; border:1px solid #dfdfdf; align:center;">
91
  </iframe>
@@ -93,16 +95,16 @@ function cf_setting_page() {
93
 
94
  </div>
95
 
96
- <div class="group" id="pn_displaysetting">
97
  <h2>Embed Code</h2>
98
 
99
- <div class="section section-text">
100
- <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>
101
  <div class="option">
102
- <div class="controls">
103
- <textarea name="content[html]" cols="60" rows="10" class="regular-text" id="content_html" style="width:900px"><?php echo embeded_code(); ?></textarea>
104
 
105
- <input id="submit-form" class="embed_code_save button-primary" type="button" value="Save Changes" name="submit_form" style="display:none;">
106
  <div id="loader_img" align="center" style="margin-left:460px; display:none;">
107
  <img src="<?php echo plugins_url('image/ajax-loader.gif', __FILE__); ?>">
108
  </div>
@@ -113,40 +115,51 @@ function cf_setting_page() {
113
  </div>
114
 
115
  </div>
116
- <div class="group" id="pn_template">
117
  <h2>Steps to use FormGet Contact Form Plugin</h2>
118
 
119
- <div class="section section-text">
120
  <h3></h3>
121
  <div id="help_txt" style="width:900px;">
122
  <ol class="step_ol">
123
 
124
- <li class="step_li">Go to "Contact Form Builder" tab and create your form by clicking on form fields.</li></br>
125
- <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>
126
- <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>
127
- <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>
128
- <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>
129
- <li class="step_li">In order to add form to your website. Click the Embed link.</br></br>
130
- <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>
131
- <li class="step_li">Click on Tabbed Widget and copy the whole code by clicking on "Copy Code" button.</br></br>
132
- <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>
133
- <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>
134
- <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>
135
- <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>
136
- <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>
137
- <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>
138
- <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>
139
- <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>
140
-
141
- </ol><br /><br />
142
- <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/>
143
- Thanks</br>
144
- FormGet Team</i></b>
 
 
 
 
 
 
 
 
 
 
 
145
  </div>
146
  </div>
147
 
148
  </div>
149
- <div class="group" id="pn_contactus">
150
  <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>
151
 
152
  </div>
@@ -155,7 +168,7 @@ function cf_setting_page() {
155
  <div class="clear"></div>
156
  </div>
157
 
158
- <div class="save_bar_top">
159
 
160
 
161
 
@@ -168,17 +181,19 @@ function cf_setting_page() {
168
  <?php
169
  }
170
 
171
- //embed code
172
  function cf_embeded_script() {
173
- wp_enqueue_script('embeded_script', plugins_url('js/script.js', __FILE__), array('jquery'));
174
  wp_localize_script('embeded_script', 'script_call', array('ajaxurl' => admin_url('admin-ajax.php')));
175
  }
176
-
177
  add_action('init', 'cf_embeded_script');
 
178
 
179
  function cf_text_ajax_process_request() {
180
  $text_value = $_POST['value'];
181
  update_option('fg_embed_code', $text_value);
 
 
182
  }
183
 
184
  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.5
7
  Author: FormGet
8
  Author URI: http://www.formget.com
9
  */
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>
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
 
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
  </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
 
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
  </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
  <div class="clear"></div>
169
  </div>
170
 
171
+ <div class="fg_save_bar_top">
172
 
173
 
174
 
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');
js/fg_script.js ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 DELETED
@@ -1,38 +0,0 @@
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.4
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,6 +145,9 @@ When you create account in FormGet you automatically get support desk. All the e
145
 
146
  == Changelog ==
147
 
 
 
 
148
  = Version 1.4 =
149
  * Admin notice will only be appear on when FormGet contact form installed or reactivated. Once user activate the dismiss admin notice, Notice disappear permanently.
150
  * Admin notice bar bug fixed.
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
 
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.