Version Description
Download this release
Release Info
Developer | PankajAgarwal |
Plugin | FormGet Contact Form |
Version | 2.2 |
Comparing to | |
See all releases |
Code changes from version 2.1 to 2.2
- css/fgstyle.css +141 -17
- image/button-primary-hover.png +0 -0
- image/button-primary.png +0 -0
- image/close.png +0 -0
- image/overlay.png +0 -0
- index.php +18 -8
- js/fg_script.js +21 -0
- readme.txt +4 -1
css/fgstyle.css
CHANGED
@@ -256,25 +256,149 @@ div.fg_embed_code_save:hover{
|
|
256 |
}
|
257 |
|
258 |
.fg_trial-notify{
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
-webkit-margin-end: 0px;
|
275 |
-
border-radius: 4px;
|
276 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
.fg_hide_notice{
|
278 |
float: right;
|
279 |
margin-right: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
}
|
|
|
|
|
|
256 |
}
|
257 |
|
258 |
.fg_trial-notify{
|
259 |
+
margin-top: 20px;
|
260 |
+
position: relative;
|
261 |
+
z-index: 100;
|
262 |
+
border: 1px solid #70a4d2!important;
|
263 |
+
-moz-border-radius: 3px;
|
264 |
+
-webkit-border-radius: 3px;
|
265 |
+
border-radius: 3px;
|
266 |
+
-webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
|
267 |
+
-moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
|
268 |
+
box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
|
269 |
+
overflow: hidden;
|
270 |
+
padding: 10px 0 10px!important;
|
271 |
+
background-color: #b4d5f2;
|
272 |
+
color: white;
|
273 |
+
margin-right: 10px;
|
|
|
|
|
274 |
}
|
275 |
+
|
276 |
+
p.fg_division_note{
|
277 |
+
color: black;
|
278 |
+
max-width: 1150px;
|
279 |
+
margin: 0;
|
280 |
+
padding: 0 10px;
|
281 |
+
text-align: left;
|
282 |
+
margin: 10px 10px 10px 0;
|
283 |
+
font-size: 22px;
|
284 |
+
line-height: 28px;
|
285 |
+
font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
|
286 |
+
font-weight: normal;
|
287 |
+
/* text-shadow: 0 1px 1px #3b8dd2; */
|
288 |
+
-moz-border-radius: 5px;
|
289 |
+
-webkit-border-radius: 5px;
|
290 |
+
border-radius: 5px;
|
291 |
+
float: left;
|
292 |
+
vertical-align: middle;
|
293 |
+
}
|
294 |
+
.fg_button_prime{
|
295 |
+
color: white;
|
296 |
+
font-size: 14px!important;
|
297 |
+
line-height: 16px!important;
|
298 |
+
height: auto!important;
|
299 |
+
-webkit-border-radius: 3px;
|
300 |
+
border-radius: 3px;
|
301 |
+
margin: 0 5px 0 0;
|
302 |
+
padding: 5px 12px;
|
303 |
+
vertical-align: middle;
|
304 |
+
color: #fff;
|
305 |
+
text-align: center;
|
306 |
+
text-decoration: none;
|
307 |
+
border: 1px solid #317dbc;
|
308 |
+
-webkit-transition: none;
|
309 |
+
-moz-transition: none;
|
310 |
+
cursor: pointer;
|
311 |
+
outline: 0;
|
312 |
+
font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
|
313 |
+
/* text-shadow: 0 1px #3b8dd2; */
|
314 |
+
background-color: blue;
|
315 |
+
background-image: -webkit-gradient(linear,left top,left bottom,from(#3b8dd2),to(#5cacf0));
|
316 |
+
background-image: -webkit-linear-gradient(top,#3b8dd2,#5cacf0);
|
317 |
+
background-image: -moz-linear-gradient(top,#3b8dd2,#5cacf0);
|
318 |
+
background-image: -ms-linear-gradient(top,#3b8dd2,#5cacf0);
|
319 |
+
background-image: -o-linear-gradient(top,#3b8dd2,#5cacf0);
|
320 |
+
background-image: linear-gradient(to bottom,#3b8dd2,#5cacf0);
|
321 |
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
|
322 |
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
|
323 |
+
|
324 |
+
}
|
325 |
+
.fg_button_prime:hover{
|
326 |
+
color: white;
|
327 |
+
text-shadow: 0 -1px #3b8dd2;
|
328 |
+
border: 1px solid #317dbc;
|
329 |
+
background-color: #5D8CC9;
|
330 |
+
background-image: -webkit-gradient(linear,left top,left bottom,from(#5cacf0),to(#3b8dd2));
|
331 |
+
background-image: -webkit-linear-gradient(top,#5cacf0,#3b8dd2);
|
332 |
+
background-image: -moz-linear-gradient(top,#5cacf0,#3b8dd2);
|
333 |
+
background-image: -ms-linear-gradient(top,#5cacf0,#3b8dd2);
|
334 |
+
background-image: -o-linear-gradient(top,#5cacf0,#3b8dd2);
|
335 |
+
background-image: linear-gradient(to bottom,#5cacf0,#3b8dd2);
|
336 |
+
webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
|
337 |
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
|
338 |
+
}
|
339 |
+
|
340 |
.fg_hide_notice{
|
341 |
float: right;
|
342 |
margin-right: 10px;
|
343 |
+
opacity: .6;
|
344 |
+
}
|
345 |
+
|
346 |
+
.fg_notice_div{
|
347 |
+
margin-top: 20px;
|
348 |
+
position: relative;
|
349 |
+
z-index: 100;
|
350 |
+
border: 1px solid #70a4d2!important;
|
351 |
+
-moz-border-radius: 3px;
|
352 |
+
-webkit-border-radius: 3px;
|
353 |
+
border-radius: 3px;
|
354 |
+
-webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
|
355 |
+
-moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
|
356 |
+
box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
|
357 |
+
overflow: hidden;
|
358 |
+
padding: 10px 0 10px!important;
|
359 |
+
background-color: #b4d5f2;
|
360 |
+
color: black;
|
361 |
+
margin-right: 10px;
|
362 |
+
}
|
363 |
+
p.fg_video_notice{
|
364 |
+
color: black;
|
365 |
+
max-width: 1000px;
|
366 |
+
margin: 0;
|
367 |
+
padding: 0 10px;
|
368 |
+
text-align: left;
|
369 |
+
margin: 10px 10px 10px 0;
|
370 |
+
font-size: 22px;
|
371 |
+
line-height: 28px;
|
372 |
+
font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
|
373 |
+
font-weight: normal;
|
374 |
+
-moz-border-radius: 5px;
|
375 |
+
-webkit-border-radius: 5px;
|
376 |
+
border-radius: 5px;
|
377 |
+
float: left;
|
378 |
+
vertical-align: middle;
|
379 |
+
}
|
380 |
+
.fg_getting_started{
|
381 |
+
margin-top: 10px;
|
382 |
+
float: right;
|
383 |
+
margin-right: 220px;
|
384 |
+
font-size: 20px !important;
|
385 |
+
}
|
386 |
+
div#fg_videoContainer{
|
387 |
+
display: none;
|
388 |
+
width: 100%;
|
389 |
+
height: 100%;
|
390 |
+
background: url('../image/overlay.png' )repeat;
|
391 |
+
position:fixed;
|
392 |
+
z-index: 10000;
|
393 |
+
opacity:0.93;
|
394 |
+
}
|
395 |
+
div#fg_videoContainer .video_tobe_shown{
|
396 |
+
border: 5px solid white;
|
397 |
+
margin-top: 10%;
|
398 |
+
margin-left: 20%;
|
399 |
+
padding: 3px;
|
400 |
+
opacity:1 !important;
|
401 |
}
|
402 |
+
|
403 |
+
|
404 |
+
|
image/button-primary-hover.png
ADDED
Binary file
|
image/button-primary.png
ADDED
Binary file
|
image/close.png
ADDED
Binary file
|
image/overlay.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: 2.
|
7 |
Author: FormGet
|
8 |
Author URI: http://www.formget.com
|
9 |
*/
|
@@ -18,15 +18,17 @@ function my_admin_notice() {
|
|
18 |
if (!get_user_meta($user_id, 'admin_ignore_notice')) {
|
19 |
?>
|
20 |
<div class="fg_trial-notify">
|
21 |
-
<p>
|
22 |
-
|
23 |
</div>
|
24 |
<?php
|
25 |
}
|
26 |
}
|
27 |
}
|
28 |
|
|
|
29 |
add_action('admin_notices', 'my_admin_notice');
|
|
|
30 |
|
31 |
function admin_nag_ignore() {
|
32 |
global $current_user;
|
@@ -48,9 +50,6 @@ function delete_user_entry() {
|
|
48 |
register_deactivation_hook(__FILE__, 'delete_user_entry');
|
49 |
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
if (is_admin()) {
|
55 |
|
56 |
function cf_add_style() {
|
@@ -77,8 +76,19 @@ function cf_menu_page() {
|
|
77 |
|
78 |
function cf_setting_page() {
|
79 |
$url = plugins_url();
|
80 |
-
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
<div id="fg_header">
|
83 |
<div class="fg_logo">
|
84 |
<h2> FormGet Contact Form</h2>
|
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: 2.2
|
7 |
Author: FormGet
|
8 |
Author URI: http://www.formget.com
|
9 |
*/
|
18 |
if (!get_user_meta($user_id, 'admin_ignore_notice')) {
|
19 |
?>
|
20 |
<div class="fg_trial-notify">
|
21 |
+
<p class="fg_division_note">
|
22 |
+
Welcome to FormGet - You're almost ready to create your own forms <a class="fg_button_prime" href='<?php echo admin_url('admin.php?page=cf_page'); ?>'>Click to Create.</a><?php printf(__('<a class="fg_hide_notice fg_button_prime", href="%1$s">Hide Notice</a>'), '?admin_nag_ignore=0'); ?></p>
|
23 |
</div>
|
24 |
<?php
|
25 |
}
|
26 |
}
|
27 |
}
|
28 |
|
29 |
+
if (!isset($_GET['page']) == 'cf_page') {
|
30 |
add_action('admin_notices', 'my_admin_notice');
|
31 |
+
}
|
32 |
|
33 |
function admin_nag_ignore() {
|
34 |
global $current_user;
|
50 |
register_deactivation_hook(__FILE__, 'delete_user_entry');
|
51 |
|
52 |
|
|
|
|
|
|
|
53 |
if (is_admin()) {
|
54 |
|
55 |
function cf_add_style() {
|
76 |
|
77 |
function cf_setting_page() {
|
78 |
$url = plugins_url();
|
79 |
+
?>
|
80 |
+
<div >
|
81 |
+
<div id="fg_videoContainer" >
|
82 |
+
|
83 |
+
</div>
|
84 |
+
<div class="fg_notice_div" id="#fg_notice_div">
|
85 |
+
<p class="fg_video_notice">
|
86 |
+
If you encounter any problem while integrating this plugin, please read our help guide or watch our vedio.
|
87 |
+
<div class="fg_getting_started fg_button_prime" id="fg_video_getting_started" style="font-size: 22px;"> Getting Started! </div>
|
88 |
+
</p>
|
89 |
+
</div>
|
90 |
+
<div id="fg_of_container" class="fg_wrap" >
|
91 |
+
<form id="fg_ofform" action="" method="POST">
|
92 |
<div id="fg_header">
|
93 |
<div class="fg_logo">
|
94 |
<h2> FormGet Contact Form</h2>
|
js/fg_script.js
CHANGED
@@ -55,4 +55,25 @@ jQuery(document).ready(function() {
|
|
55 |
}
|
56 |
});
|
57 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
});
|
55 |
}
|
56 |
});
|
57 |
});
|
58 |
+
|
59 |
+
jQuery('div#fg_video_getting_started').click(function(){
|
60 |
+
jQuery('div#fg_videoContainer').css({"display": "block"});
|
61 |
+
autoPlayVideo('83829080','700','400');
|
62 |
+
});
|
63 |
+
|
64 |
+
|
65 |
+
function autoPlayVideo(vcode, width, height){
|
66 |
+
"use strict";
|
67 |
+
jQuery("#fg_videoContainer").html('<iframe class="video_tobe_shown" width="'+width+'" height="'+height+'" src="//player.vimeo.com/video/'+vcode+'?autoplay=1&loop=1&rel=0&wmode=transparent" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>');
|
68 |
+
}
|
69 |
+
|
70 |
+
function pausePlayedVideo(){
|
71 |
+
"use strict";
|
72 |
+
jQuery("#fg_videoContainer").html('<iframe class="video_tobe_shown" width="'+width+'" height="'+height+'" src="//player.vimeo.com/video/'+vcode+'?pause=1&loop=1&rel=0&wmode=transparent" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>');
|
73 |
+
}
|
74 |
+
|
75 |
+
jQuery('div#fg_videoContainer').click(function(){
|
76 |
+
jQuery('div#fg_videoContainer').css({"display": "none"});
|
77 |
+
jQuery('div#fg_videoContainer').empty();
|
78 |
+
});
|
79 |
});
|
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: 2.
|
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 |
|
@@ -135,6 +135,9 @@ When you create account in FormGet you automatically get support desk. All the e
|
|
135 |
|
136 |
== Changelog ==
|
137 |
|
|
|
|
|
|
|
138 |
= Version 2.1 =
|
139 |
* Video added in readme.txt
|
140 |
|
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: 2.2
|
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 |
|
135 |
|
136 |
== Changelog ==
|
137 |
|
138 |
+
= Version 2.2 =
|
139 |
+
* Video added in Plugin.
|
140 |
+
|
141 |
= Version 2.1 =
|
142 |
* Video added in readme.txt
|
143 |
|