Plugin Directory

Changeset 3082684


Ignore:
Timestamp:
05/07/2024 03:22:59 PM (2 years ago)
Author:
zohocrm
Message:

Php latest version compatibility check and stripslashes version issue fixed

Location:
zoho-crm-forms/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • zoho-crm-forms/trunk/Readme.txt

    r3080667 r3082684  
    77Author: Zoho CRM
    88Tested up to: 6.5
    9 Stable tag:1.7.8.7
     9Stable tag:1.7.8.8
    1010License: GPLv2 or later
    11 Version: 1.7.8.7
     11Version: 1.7.8.8
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1313
     
    2812811.7.8.7
    282282Php latest version compatibility check  and stripslashes version issue fixed
     2831.7.8.8
     284Php latest version compatibility check  and stripslashes version issue fixed
    283285
    284286
  • zoho-crm-forms/trunk/includes/crmshortcodefunctions.php

    r3080667 r3082684  
    215215                    if ($config_leads_fields['fields'][$i]['hiddenfield'] == 1) {
    216216
    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>";
    218219                    } else {
    219220
     
    289290                    if ($config_leads_fields['fields'][$i]['hiddenfield'] == 1) {
    290291
    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>";
    292293                    } else {
    293294
    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>";
    295297                    }
    296298
     
    300302                        $picklist_count = count($config_leads_fields['fields'][$i]['type']['picklistValues']);
    301303                        $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']}' >";
    303305                        for ($j = 0; $j < $picklist_count; $j++) {
    304306                            if ($config_leads_fields['fields'][$i]['type']['picklistValues'][$j]['label']['actual_value'] == $defaultvaluepicklist) {
     
    312314                        $picklist_count = count($config_leads_fields['fields'][$i]['type']['picklistValues']);
    313315                        $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']}' >";
    315317                        for ($j = 0; $j < $picklist_count; $j++) {
    316318                            $arrayexistchk = in_array($config_leads_fields['fields'][$i]['type']['picklistValues'][$j]['label']['actual_value'], $defaultvaluepicklist);
     
    324326                        $htmlcontent1 .= $htmlcontent2;
    325327                    } 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'] . "'>";
    327329                    }
    328330
  • zoho-crm-forms/trunk/index.php

    r3080667 r3082684  
    33/* * ******************************************************************************************
    44 * 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 integration easy to set-up but it's also easy on your wallet.
    6  * Version: 1.7.8.7
     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 integration easy to set-up but it's also easy on your wallet.
     6 * Version: 1.7.8.8
    77 * ***************************************************************************************** */
    88if (!defined('ABSPATH'))
    99    exit;
    1010
    11         define( 'ZCF_VERSION', '1.7.8.7' );
     11        define( 'ZCF_VERSION', '1.7.8.8' );
    1212        define( 'ZCF_LBPLUGINFILE', __FILE__ );
    1313        define( 'ZCF_LBPLUGIN_URL', untrailingslashit( plugins_url( '', ZCF_LBPLUGINFILE ) ) );
     
    237237    $current_screen = get_current_screen();
    238238
    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>";
    240240
    241241    $current_screen->add_help_tab(array(
Note: See TracChangeset for help on using the changeset viewer.