Changeset 3082684
- Timestamp:
- 05/07/2024 03:22:59 PM (2 years ago)
- Location:
- zoho-crm-forms/trunk
- Files:
-
- 3 edited
-
Readme.txt (modified) (2 diffs)
-
includes/crmshortcodefunctions.php (modified) (5 diffs)
-
index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zoho-crm-forms/trunk/Readme.txt
r3080667 r3082684 7 7 Author: Zoho CRM 8 8 Tested up to: 6.5 9 Stable tag:1.7.8. 79 Stable tag:1.7.8.8 10 10 License: GPLv2 or later 11 Version: 1.7.8. 711 Version: 1.7.8.8 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html 13 13 … … 281 281 1.7.8.7 282 282 Php latest version compatibility check and stripslashes version issue fixed 283 1.7.8.8 284 Php latest version compatibility check and stripslashes version issue fixed 283 285 284 286 -
zoho-crm-forms/trunk/includes/crmshortcodefunctions.php
r3080667 r3082684 215 215 if ($config_leads_fields['fields'][$i]['hiddenfield'] == 1) { 216 216 217 $htmlcontent1 .= "<label class='newCustomchkbox-md {$disableTypeHiddenfield}'><input checked='checked' type='checkbox' data-id='" . $field_id . "'' name='hiddenfieldChk" . $field_id . "' class='onoffswitch-checkbox hiddenfieldChk enablefield' data-status='hiddenenablefield' data-label='Hidden Disable Field' id='hiddenfieldChk" . $i . "' onclick = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$shortcode', '$onaction')\" > <span class='vam chkbxIcon'></span></label>"; 217 $htmlcontent1 .= "<label class='newCustomchkbox-md {$disableTypeHiddenfield}'> 218 <input checked='checked' type='checkbox' data-id='" . $field_id . "' name='hiddenfieldChk" . $field_id . "' class='onoffswitch-checkbox hiddenfieldChk enablefield' data-status='hiddenenablefield' data-label='Hidden Disable Field' id='hiddenfieldChk" . $i . "' onclick = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$shortcode', '$onaction')\" > <span class='vam chkbxIcon'></span></label>"; 218 219 } else { 219 220 … … 289 290 if ($config_leads_fields['fields'][$i]['hiddenfield'] == 1) { 290 291 291 $htmlcontent1 .= "<label class='newCustomchkbox-md'><input checked='checked' type='checkbox' data-id='" . $field_id . "' 'name='hiddenfieldChk" . $field_id . "' class='hiddenfieldChk enablefield' data-status='hiddenenablefield' data-label='Hidden Disable Field' id='hiddenfieldChk" . $i . "' onclick = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" > <span class='vam chkbxIcon'></span></label>";292 $htmlcontent1 .= "<label class='newCustomchkbox-md'><input checked='checked' type='checkbox' data-id='" . $field_id . "' name='hiddenfieldChk" . $field_id . "' class='hiddenfieldChk enablefield' data-status='hiddenenablefield' data-label='Hidden Disable Field' id='hiddenfieldChk" . $i . "' onclick = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" > <span class='vam chkbxIcon'></span></label>"; 292 293 } else { 293 294 294 $htmlcontent1 .= "<label class='newCustomchkbox-md'><input type='checkbox' data-id='" . $field_id . "'' name='hiddenfieldChk" . $field_id . "' class='hiddenfieldChk disablefield' data-status='hiddendisablefield' data-label='Hidden Enable Field' id='hiddenfieldChk" . $i . "' onclick = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" ><span class='vam chkbxIcon'></span></label>"; 295 $htmlcontent1 .= "<label class='newCustomchkbox-md'> 296 <input type='checkbox' data-id='" . $field_id . "' name='hiddenfieldChk" . $field_id . "' class='hiddenfieldChk disablefield' data-status='hiddendisablefield' data-label='Hidden Enable Field' id='hiddenfieldChk" . $i . "' onclick = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" ><span class='vam chkbxIcon'></span></label>"; 295 297 } 296 298 … … 300 302 $picklist_count = count($config_leads_fields['fields'][$i]['type']['picklistValues']); 301 303 $htmlcontent2 = ''; 302 $htmlcontent1 .= "<td width='17%' class='border-rightTrans " . $disableTypeHiddenfield . " defaultvaluesField'><select data-id='" . $field_id . "' 'data-label='Default value' onchange = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" class='multipicklist form-control crmforms_post_fields defaultvalue " . $defaultvalueLabel . " ' name='{$config_leads_fields['fields'][$i]['name']}[]'id='{$config_leads_fields['fields'][$i]['name']}' >";304 $htmlcontent1 .= "<td width='17%' class='border-rightTrans " . $disableTypeHiddenfield . " defaultvaluesField'><select data-id='" . $field_id . "' data-label='Default value' onchange = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" class='multipicklist form-control crmforms_post_fields defaultvalue " . $defaultvalueLabel . " ' name='{$config_leads_fields['fields'][$i]['name']}[]'id='{$config_leads_fields['fields'][$i]['name']}' >"; 303 305 for ($j = 0; $j < $picklist_count; $j++) { 304 306 if ($config_leads_fields['fields'][$i]['type']['picklistValues'][$j]['label']['actual_value'] == $defaultvaluepicklist) { … … 312 314 $picklist_count = count($config_leads_fields['fields'][$i]['type']['picklistValues']); 313 315 $htmlcontent2 = ''; 314 $htmlcontent1 .= "<td width='17%' class='border-rightTrans " . $disableTypeHiddenfield . " defaultvaluesField'><select data-id='" . $field_id . "' 'data-label='Default value' onchange = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" class='multipicklist form-control crmforms_post_fields defaultvalue " . $defaultvalueLabel . " ' multiple='multiple' name='{$config_leads_fields['fields'][$i]['name']}[]'id='{$config_leads_fields['fields'][$i]['name']}' >";316 $htmlcontent1 .= "<td width='17%' class='border-rightTrans " . $disableTypeHiddenfield . " defaultvaluesField'><select data-id='" . $field_id . "' data-label='Default value' onchange = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" class='multipicklist form-control crmforms_post_fields defaultvalue " . $defaultvalueLabel . " ' multiple='multiple' name='{$config_leads_fields['fields'][$i]['name']}[]'id='{$config_leads_fields['fields'][$i]['name']}' >"; 315 317 for ($j = 0; $j < $picklist_count; $j++) { 316 318 $arrayexistchk = in_array($config_leads_fields['fields'][$i]['type']['picklistValues'][$j]['label']['actual_value'], $defaultvaluepicklist); … … 324 326 $htmlcontent1 .= $htmlcontent2; 325 327 } else { 326 $htmlcontent1 .= "<td width='17%' class='border-rightTrans " . $disableTypeHiddenfield . " defaultvaluesField'><input type='text' data-id='" . $field_id . "' 'data-label='Default value' onblur = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" class='form-control pl0 textField defaultvalue {$defaultvalueLabel} ' name='dafalutvalue{$field_id}' id='dafalutvalue{$i}' value='" . $config_leads_fields['fields'][$i]['defaultvalue'] . "' data-value='" . $config_leads_fields['fields'][$i]['defaultvalue'] . "'>";328 $htmlcontent1 .= "<td width='17%' class='border-rightTrans " . $disableTypeHiddenfield . " defaultvaluesField'><input type='text' data-id='" . $field_id . "' data-label='Default value' onblur = \" return updateStatus(this,'" . site_url() . "','$module','zcf_crmfields_shortcodes','$EditShortcode', '$onAction')\" class='form-control pl0 textField defaultvalue {$defaultvalueLabel} ' name='dafalutvalue{$field_id}' id='dafalutvalue{$i}' value='" . $config_leads_fields['fields'][$i]['defaultvalue'] . "' data-value='" . $config_leads_fields['fields'][$i]['defaultvalue'] . "'>"; 327 329 } 328 330 -
zoho-crm-forms/trunk/index.php
r3080667 r3082684 3 3 /* * ****************************************************************************************** 4 4 * Plugin Name: Zoho CRM Lead Magnet 5 * Description: Websites are one of the most important sources of leads for your business. That means your CRM system should be well integrated with your website to contextually capture each and every visitor to turn them into a lead.Introducing the Zoho CRM Lead Capture plugin for Wordpress. This lets you create webforms, embed them in your website, and automatically capture leads directly into your CRM with zero attenuation.Not only is the integrationeasy to set-up but it's also easy on your wallet.6 * Version: 1.7.8. 75 * Description: Websites are one of the most important sources of leads for your business. That means your CRM system should be well integrated with your website to contextually capture each and every visitor to turn them into a lead.Introducing the Zoho CRM Lead Capture plugin for Wordpress. This lets you create webforms, embed them in your website, and automatically capture leads directly into your CRM with zero attenuation.Not only is the integration easy to set-up but it's also easy on your wallet. 6 * Version: 1.7.8.8 7 7 * ***************************************************************************************** */ 8 8 if (!defined('ABSPATH')) 9 9 exit; 10 10 11 define( 'ZCF_VERSION', '1.7.8. 7' );11 define( 'ZCF_VERSION', '1.7.8.8' ); 12 12 define( 'ZCF_LBPLUGINFILE', __FILE__ ); 13 13 define( 'ZCF_LBPLUGIN_URL', untrailingslashit( plugins_url( '', ZCF_LBPLUGINFILE ) ) ); … … 237 237 $current_screen = get_current_screen(); 238 238 239 $content = "<p>Websites are one of the most important sources of leads for your business. That means your CRM system should be well integrated with your website to contextually capture each and every visitor to turn them into a lead.<br>Introducing the Zoho CRM Lead Capture plugin for Wordpress. This lets you create webforms, embed them in your website, and automatically capture leads directly into your CRM with zero attenuation.<br>Not only is the integration easy to set-up but its also easy on your wallet.</p>";239 $content = "<p>Websites are one of the most important sources of leads for your business. That means your CRM system should be well integrated with your website to contextually capture each and every visitor to turn them into a lead.<br>Introducing the Zoho CRM Lead Capture plugin for Wordpress. This lets you create webforms, embed them in your website, and automatically capture leads directly into your CRM with zero attenuation.<br>Not only is the integration easy to set-up but its also easy on your wallet. </p>"; 240 240 241 241 $current_screen->add_help_tab(array(
Note: See TracChangeset
for help on using the changeset viewer.