FormGet Contact Form - Version 4.5

Version Description

Download this release

Release Info

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

Code changes from version 4.4 to 4.5

Files changed (2) hide show
  1. index.php +41 -32
  2. readme.txt +4 -1
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: 4.4
7
  Author: FormGet
8
  Author URI: http://www.formget.com
9
  */
@@ -308,6 +308,12 @@ if (!function_exists('formget_shortcode')) {
308
  extract(shortcode_atts(array(
309
  'user' => '',
310
  'formcode' => '',
 
 
 
 
 
 
311
  'allowTransparency' => true,
312
  'height' => '500',
313
  'tab' => ''
@@ -321,38 +327,41 @@ if (!function_exists('formget_shortcode')) {
321
  return $iframe_formget;
322
  }
323
  if ($tab == 'tabbed') {
 
324
  $tabbed_formget = <<<EOD
325
- <script type="text/javascript">
326
- var sideBar;
327
- (function(d, t) {
328
- var s = d.createElement(t),
329
- options = {
330
- 'tabKey': '{$formcode}',
331
- 'tabtext':'Contact Us',
332
- 'height': '{$height}',
333
- 'position': "",
334
- 'textColor': 'ffffff',
335
- 'tabColor': '7d9f2b',
336
- 'fontSize': '16',
337
- };
338
- s.src = 'https://www.formget.com/app/app_data/user_js/widget.js';
339
- s.onload = s.onreadystatechange = function() {
340
- var rs = this.readyState;
341
- if (rs)
342
- if (rs != 'complete')
343
- if (rs != 'loaded')
344
- return;
345
- try {
346
- sideBar = new buildTabbed();
347
- sideBar.initializeOption(options);
348
- sideBar.loadContent();
349
- sideBar.buildHtml();
350
- } catch (e) {
351
- }
352
- };
353
- var scr = d.getElementsByTagName(t)[0], par = scr.parentNode;
354
- par.insertBefore(s, scr);
355
- })(document, 'script');
 
 
356
  </script>
357
  EOD;
358
  return $tabbed_formget;
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: 4.5
7
  Author: FormGet
8
  Author URI: http://www.formget.com
9
  */
308
  extract(shortcode_atts(array(
309
  'user' => '',
310
  'formcode' => '',
311
+ 'tabtext' => 'Contact Us',
312
+ 'position' => 'right',
313
+ 'bgcolor' => 'e54040',
314
+ 'textcolor' => 'ffffff',
315
+ 'fontsize' => '16',
316
+ 'width' => '350',
317
  'allowTransparency' => true,
318
  'height' => '500',
319
  'tab' => ''
327
  return $iframe_formget;
328
  }
329
  if ($tab == 'tabbed') {
330
+
331
  $tabbed_formget = <<<EOD
332
+ <script type='text/javascript'>
333
+ (function(s)
334
+ {var head = document.getElementsByTagName('HEAD').item(0);
335
+ var s= document.createElement('script');
336
+ s.type = 'text/javascript';
337
+ s.src='//www.formget.com/app/app_data/new-widget/popup.js';
338
+ head.appendChild(s);
339
+ var options = {
340
+ 'tabKey': '{$formcode}',
341
+ 'tabtext':'{$tabtext}',
342
+ 'height': '{$height}',
343
+ 'width': '{$width}',
344
+ 'tabPosition':'{$position}',
345
+ 'textColor': '{$textcolor}',
346
+ 'tabBackground': '{$bgcolor}',
347
+ 'fontSize': '{$fontsize}',
348
+ 'tabbed':''
349
+ };
350
+ s.onload = s.onreadystatechange = function() {
351
+ var rs = this.readyState;
352
+ if (rs)
353
+ if (rs != 'complete')
354
+ if (rs != 'loaded')
355
+ return;
356
+ try {
357
+ sideBar = new buildTabbed();
358
+ sideBar.initializeOption(options);
359
+ sideBar.loadContent();sideBar.buildHtml();
360
+ }
361
+ catch (e) {}
362
+ };
363
+ var scr = document.getElementsByTagName(s)[0];
364
+ })(document, 'script');
365
  </script>
366
  EOD;
367
  return $tabbed_formget;
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, Responsive Contact 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: 4.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
 
@@ -166,6 +166,9 @@ When you create account in FormGet you automatically get support desk. All the e
166
  == Changelog ==
167
 
168
 
 
 
 
169
  = Version 4.4=
170
  * Stylesheet updated.
171
 
3
  Tags: contact form, contact, form, forms, contact form plugin, contact form builder, contact form with recaptcha, feedback form, Responsive Contact 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: 4.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
 
166
  == Changelog ==
167
 
168
 
169
+ = Version 4.5=
170
+ * WordPress shortcode improve.
171
+
172
  = Version 4.4=
173
  * Stylesheet updated.
174