Changeset 1178958
- Timestamp:
- 06/11/2015 01:20:14 PM (11 years ago)
- Location:
- leadsius
- Files:
-
- 4 edited
- 3 copied
-
tags/1.0.1 (copied) (copied from leadsius/trunk)
-
tags/1.0.1/leadsius-module.php (copied) (copied from leadsius/trunk/leadsius-module.php) (1 diff)
-
tags/1.0.1/lib/LeadsiusAPIGateway.php (modified) (7 diffs)
-
tags/1.0.1/readme.txt (copied) (copied from leadsius/trunk/readme.txt) (2 diffs)
-
trunk/leadsius-module.php (modified) (1 diff)
-
trunk/lib/LeadsiusAPIGateway.php (modified) (7 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
leadsius/tags/1.0.1/leadsius-module.php
r1170181 r1178958 4 4 Description: WP-Leadsius is a WordPress plugin which integrates Leadsius and WordPress. 5 5 With WP-Leadsius you can add Leadsius tracking script to your Wordpress site as well as creating web forms and call-to-actions. 6 Version: 1.0 6 Version: 1.0.1 7 7 Author: Leadsius AB 8 8 */ -
leadsius/tags/1.0.1/lib/LeadsiusAPIGateway.php
r1170150 r1178958 41 41 if ( isset($this->allForms->webforms) && is_array($this->allForms->webforms) ) 42 42 { 43 44 43 45 foreach( $this->allForms->webforms as $webform ) 44 46 { … … 50 52 51 53 $formData = isset($webform->form_data) ? $webform->form_data : $this->getForm($formId); 52 //var_dump($formData );die();54 //var_dump($formData->json_customization);die(); 53 55 $trackingPixel=$formData->tracking_pixel; 54 56 … … 56 58 57 59 58 if(isset($webform->customization) ){60 if(isset($webform->customization) && strlen($formData->json_customization)==0){ 59 61 60 62 $customization = json_decode($webform->customization); … … 90 92 91 93 $new_custom = json_decode($formData->json_customization); 92 94 //var_dump($new_custom);die(); 93 95 if($new_custom->button_name == "") 94 96 $buttonText='Submit'; … … 99 101 } 100 102 101 103 //var_dump($buttonText);die(); 102 104 //$buttonText = 'submit'; 103 105 … … 113 115 114 116 $formulario = ''; 115 if (isset($webform->html_content) ){117 if (isset($webform->html_content) && strlen($webform->json_content)==0){ 116 118 117 119 $formulario = $webform->html_content; … … 256 258 257 259 260 258 261 } 259 262 -
leadsius/tags/1.0.1/readme.txt
r1177520 r1178958 4 4 Requires at least: 4.1.1 5 5 Tested up to: 4.1.1 6 Stable tag: 1.0 6 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 87 87 == Changelog == 88 88 89 = 1.0.1 = 90 * Security update. 89 91 90 92 = 1.0 = -
leadsius/trunk/leadsius-module.php
r1170181 r1178958 4 4 Description: WP-Leadsius is a WordPress plugin which integrates Leadsius and WordPress. 5 5 With WP-Leadsius you can add Leadsius tracking script to your Wordpress site as well as creating web forms and call-to-actions. 6 Version: 1.0 6 Version: 1.0.1 7 7 Author: Leadsius AB 8 8 */ -
leadsius/trunk/lib/LeadsiusAPIGateway.php
r1170150 r1178958 41 41 if ( isset($this->allForms->webforms) && is_array($this->allForms->webforms) ) 42 42 { 43 44 43 45 foreach( $this->allForms->webforms as $webform ) 44 46 { … … 50 52 51 53 $formData = isset($webform->form_data) ? $webform->form_data : $this->getForm($formId); 52 //var_dump($formData );die();54 //var_dump($formData->json_customization);die(); 53 55 $trackingPixel=$formData->tracking_pixel; 54 56 … … 56 58 57 59 58 if(isset($webform->customization) ){60 if(isset($webform->customization) && strlen($formData->json_customization)==0){ 59 61 60 62 $customization = json_decode($webform->customization); … … 90 92 91 93 $new_custom = json_decode($formData->json_customization); 92 94 //var_dump($new_custom);die(); 93 95 if($new_custom->button_name == "") 94 96 $buttonText='Submit'; … … 99 101 } 100 102 101 103 //var_dump($buttonText);die(); 102 104 //$buttonText = 'submit'; 103 105 … … 113 115 114 116 $formulario = ''; 115 if (isset($webform->html_content) ){117 if (isset($webform->html_content) && strlen($webform->json_content)==0){ 116 118 117 119 $formulario = $webform->html_content; … … 256 258 257 259 260 258 261 } 259 262 -
leadsius/trunk/readme.txt
r1177520 r1178958 4 4 Requires at least: 4.1.1 5 5 Tested up to: 4.1.1 6 Stable tag: 1.0 6 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 87 87 == Changelog == 88 88 89 = 1.0.1 = 90 * Security update. 89 91 90 92 = 1.0 =
Note: See TracChangeset
for help on using the changeset viewer.