Changeset 3293619
- Timestamp:
- 05/15/2025 03:07:46 AM (10 months ago)
- Location:
- leaf-crm
- Files:
-
- 1 added
- 14 edited
- 8 copied
-
tags/1.1.0 (added)
-
tags/1.1.0/LICENSE.txt (copied) (copied from leaf-crm/trunk/LICENSE.txt)
-
tags/1.1.0/README.txt (copied) (copied from leaf-crm/trunk/README.txt) (2 diffs)
-
tags/1.1.0/admin (copied) (copied from leaf-crm/trunk/admin)
-
tags/1.1.0/admin/partials/leaf-crm-admin-display.php (modified) (3 diffs)
-
tags/1.1.0/includes (copied) (copied from leaf-crm/trunk/includes)
-
tags/1.1.0/includes/class-leaf-crm-api.php (modified) (3 diffs)
-
tags/1.1.0/includes/class-leaf-crm-constants.php (modified) (3 diffs)
-
tags/1.1.0/includes/class-leaf-crm-options.php (modified) (3 diffs)
-
tags/1.1.0/index.php (copied) (copied from leaf-crm/trunk/index.php)
-
tags/1.1.0/languages (copied) (copied from leaf-crm/trunk/languages)
-
tags/1.1.0/languages/leaf-crm-ms_MY.po (modified) (2 diffs)
-
tags/1.1.0/languages/leaf-crm.pot (modified) (2 diffs)
-
tags/1.1.0/leaf-crm.php (copied) (copied from leaf-crm/trunk/leaf-crm.php) (2 diffs)
-
tags/1.1.0/uninstall.php (copied) (copied from leaf-crm/trunk/uninstall.php)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/partials/leaf-crm-admin-display.php (modified) (3 diffs)
-
trunk/includes/class-leaf-crm-api.php (modified) (3 diffs)
-
trunk/includes/class-leaf-crm-constants.php (modified) (3 diffs)
-
trunk/includes/class-leaf-crm-options.php (modified) (3 diffs)
-
trunk/languages/leaf-crm-ms_MY.po (modified) (2 diffs)
-
trunk/languages/leaf-crm.pot (modified) (2 diffs)
-
trunk/leaf-crm.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
leaf-crm/tags/1.1.0/README.txt
r3293615 r3293619 4 4 Tags: contactform7,cf7,ninjaforms,contactforms,wpforms,forminator 5 5 Requires at least: 5.0 6 Tested up to: 6. 26 Tested up to: 6.8 7 7 Requires PHP: 5.6 8 Stable tag: 1. 0.18 Stable tag: 1.1.0 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 65 65 == Changelog == 66 66 67 = 1.1.0 = 68 * Added support for custom tenant domains 69 67 70 = 1.0.1 = 68 71 * Added support for Contact Form 7 to capture dropdown fields values 69 72 70 = 1.0.0 =73 = 1.0.0 = 71 74 * First Release, support the following contact form plugins: 72 75 * Contact Form 7 -
leaf-crm/tags/1.1.0/admin/partials/leaf-crm-admin-display.php
r2924616 r3293619 33 33 "availableIntegrations" => Leaf_Crm_Options::get_integrations(), // icon urls have been escaped in this function 34 34 "leafToken" => isset($leaf_options[Leaf_Crm_Constants::LEAF_TOKEN_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_TOKEN_NAME]) : '', 35 "leafDomain" => isset($leaf_options[Leaf_Crm_Constants::LEAF_DOMAIN_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_DOMAIN_NAME]) : '', 35 36 "leafWebsite" => isset($leaf_options[Leaf_Crm_Constants::LEAF_WEBSITE_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_WEBSITE_NAME]) : '', 36 37 "Status" => Leaf_Crm_Integration_Status::to_array() … … 49 50 50 51 <div class="text-dark fs-2 fw-bold mb-4 text-center"><?php esc_html_e('Send Leads to Leaf CRM', 'leaf-crm') ?></div> 52 53 <!--begin::Input group--> 54 <div class="fv-row mb-4"> 55 <!--begin::Label--> 56 <label for="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" class="text-dark fs-7 fw-normal mb-2"><?php esc_html_e('Tenant Domain', 'leaf-crm') ?></label> 57 <!--end::Label--> 58 <!--begin::Input--> 59 <input class="form-control rounded-1 py-2 px-6 fs-7" name="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" id="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" type="text" value="" placeholder="app.leaf.my"> 60 <span class="fs-8 text-muted"><?php esc_html_e('Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)', 'leaf-crm') ?></span> 61 62 <div class="invalid-feedback"><span id="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>_error"></span></div> 63 <!--end::Input--> 64 </div> 65 <!--end::Input group--> 51 66 52 67 <!--begin::Input group--> … … 117 132 118 133 // populate saved data 134 jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>').val(wpSettingsData.leafDomain); 119 135 jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_TOKEN_NAME); ?>').val(wpSettingsData.leafToken); 120 136 jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_WEBSITE_NAME); ?>').val(wpSettingsData.leafWebsite); -
leaf-crm/tags/1.1.0/includes/class-leaf-crm-api.php
r2924616 r3293619 42 42 $is_enabled = $this->is_integration_enabled(); 43 43 if (!$endpoint || !$payload || !$is_enabled) return; 44 45 // Check if we need to modify the endpoint based on domain 46 $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); 47 if (!empty($domain)) { 48 // Replace the base URL in the endpoint with the domain-specific one 49 $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain); 50 $endpoint = str_replace(Leaf_Crm_Constants::API_BASE_URL, $base_url, $endpoint); 51 } 52 44 53 $payload["form_name"] = $this->form_name; 45 54 $options = [ … … 57 66 public function subscribe_leaf_crm() 58 67 { 59 $endpoint = Leaf_Crm_Constants::LEAF_SUBSCRIBE_URL; 60 $token = Leaf_Crm_Options::get_single_value('leaf_crm_token'); 68 $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); 69 $token = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_TOKEN_NAME); 70 71 // If domain is provided, use it to build the endpoint URL 72 if (!empty($domain)) { 73 $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain); 74 $endpoint = $base_url . '/subscribe'; 75 } else { 76 $endpoint = Leaf_Crm_Constants::LEAF_SUBSCRIBE_URL; 77 } 78 61 79 if ($token != null) { 62 80 $payload = [ … … 79 97 public function unsubscribe_leaf_crm() 80 98 { 81 $endpoint = Leaf_Crm_Constants::LEAF_UNSUBSCRIBE_URL; 82 $token = Leaf_Crm_Options::get_single_value('leaf_crm_token'); 99 $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); 100 $token = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_TOKEN_NAME); 101 102 // If domain is provided, use it to build the endpoint URL 103 if (!empty($domain)) { 104 $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain); 105 $endpoint = $base_url . '/unsubscribe'; 106 } else { 107 $endpoint = Leaf_Crm_Constants::LEAF_UNSUBSCRIBE_URL; 108 } 109 83 110 if ($token != null) { 84 111 $payload = [ -
leaf-crm/tags/1.1.0/includes/class-leaf-crm-constants.php
r2924616 r3293619 7 7 class Leaf_Crm_Constants 8 8 { 9 // Base URL template that will be formatted with the tenant domain 10 public const API_BASE_URL_TEMPLATE = 'https://%s/api/integration/wordpress'; 11 // Default API URL for backward compatibility 9 12 public const API_BASE_URL = 'https://app.leaf.my/api/integration/wordpress'; 10 13 public const WEB_BASE_URL = 'https://www.leaf.my'; … … 15 18 public const WP_SAVE_HOOK_NAME = 'leaf_crm_save_options'; 16 19 public const LEAF_TOKEN_NAME = 'leaf_crm_token'; 20 public const LEAF_DOMAIN_NAME = 'leaf_crm_domain'; 17 21 public const LEAF_WEBSITE_NAME = 'leaf_website'; 18 22 … … 48 52 ); 49 53 50 public static function get_webhook_url($integration_key )54 public static function get_webhook_url($integration_key, $domain = null) 51 55 { 52 56 $supported_keys = array_column(self::SUPPORTED_INTEGRATIONS, 'key'); 53 57 $found_index = array_search($integration_key, $supported_keys); 54 return self::SUPPORTED_INTEGRATIONS[$found_index]['webhookUrl']; 58 $webhook_url = self::SUPPORTED_INTEGRATIONS[$found_index]['webhookUrl']; 59 60 // If domain is provided, replace the base URL with the tenant-specific URL 61 if (!empty($domain)) { 62 $base_url = sprintf(self::API_BASE_URL_TEMPLATE, $domain); 63 $webhook_url = str_replace(self::API_BASE_URL, $base_url, $webhook_url); 64 } 65 66 return $webhook_url; 55 67 } 56 68 -
leaf-crm/tags/1.1.0/includes/class-leaf-crm-options.php
r2924616 r3293619 22 22 { 23 23 $allowed_keys = array_column(Leaf_Crm_Constants::SUPPORTED_INTEGRATIONS, 'key'); 24 array_push($allowed_keys, Leaf_Crm_Constants::LEAF_WEBSITE_NAME, Leaf_Crm_Constants::LEAF_TOKEN_NAME );24 array_push($allowed_keys, Leaf_Crm_Constants::LEAF_WEBSITE_NAME, Leaf_Crm_Constants::LEAF_TOKEN_NAME, Leaf_Crm_Constants::LEAF_DOMAIN_NAME); 25 25 $filtered_values = array_intersect_key($fields, array_flip($allowed_keys)); 26 26 update_option(Leaf_Crm_Constants::WP_OPTION_NAME, $filtered_values); … … 110 110 $validation_rules = [ 111 111 'leaf_crm_token' => ['required', 'string', 'regex:/^(\bleaf-)([a-zA-Z\d]{8})$/'], 112 'leaf_crm_domain' => ['nullable', 'string', 'regex:/^[a-zA-Z0-9][a-zA-Z0-9-]*\.leaf\.my$/'], 112 113 'leaf_website' => ['string', 'max:120'], 113 114 'site_url' => ['required', 'url'], … … 121 122 $field_names = [ 122 123 'leaf_crm_token' => 'Leaf CRM Token', 124 'leaf_crm_domain' => 'Tenant Domain', 123 125 'leaf_website' => 'Website Name', 124 126 'site_url' => 'Website URL', -
leaf-crm/tags/1.1.0/languages/leaf-crm-ms_MY.po
r2924616 r3293619 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Leaf CRM \n"5 "Project-Id-Version: Leaf CRM 1.1.0\n" 6 6 "Report-Msgid-Bugs-To: http://wordpress.org/tag/plugin-name\n" 7 7 "POT-Creation-Date: 2023-04-13 10:13+0800\n" … … 29 29 30 30 #: admin/partials/leaf-crm-admin-display.php:55 31 msgid "Tenant Domain" 32 msgstr "Domain Penyewa" 33 34 #: admin/partials/leaf-crm-admin-display.php:59 35 msgid "Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)" 36 msgstr "Masukkan domain penyewa Leaf CRM anda (contoh: app.leaf.my atau syarikat-anda.leaf.my)" 37 38 #: admin/partials/leaf-crm-admin-display.php:65 31 39 msgid "Leaf CRM Token" 32 40 msgstr "Token Leaf CRM" 33 41 34 #: admin/partials/leaf-crm-admin-display.php: 5942 #: admin/partials/leaf-crm-admin-display.php:69 35 43 msgid "" 36 44 "Get the integration token after you have added the WordPress lead source to " -
leaf-crm/tags/1.1.0/languages/leaf-crm.pot
r2924616 r3293619 4 4 msgid "" 5 5 msgstr "" 6 "Project-Id-Version: Leaf CRM 1. 0.0\n"6 "Project-Id-Version: Leaf CRM 1.1.0\n" 7 7 "Report-Msgid-Bugs-To: http://wordpress.org/tag/leaf-crm\n" 8 8 "POT-Creation-Date: 2023-04-13 10:14+0800\n" … … 29 29 30 30 #: admin/partials/leaf-crm-admin-display.php:55 31 msgid "Tenant Domain" 32 msgstr "" 33 34 #: admin/partials/leaf-crm-admin-display.php:59 35 msgid "Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)" 36 msgstr "" 37 38 #: admin/partials/leaf-crm-admin-display.php:65 31 39 msgid "Leaf CRM Token" 32 40 msgstr "" 33 41 34 #: admin/partials/leaf-crm-admin-display.php: 5942 #: admin/partials/leaf-crm-admin-display.php:69 35 43 msgid "" 36 44 "Get the integration token after you have added the WordPress lead " -
leaf-crm/tags/1.1.0/leaf-crm.php
r3293615 r3293619 17 17 * Plugin URI: https://wordpress.org/plugins/leaf-crm 18 18 * Description: Leaf CRM streamlines lead capture and management from Facebook, TikTok, Instagram, Google, enhancing sales team productivity and boosting conversion rates. 19 * Version: 1. 0.119 * Version: 1.1.0 20 20 * Author: Leaf CRM Team 21 21 * Author URI: https://www.leaf.my/ … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'LEAF_CRM_VERSION', '1. 0.1' );38 define( 'LEAF_CRM_VERSION', '1.1.0' ); 39 39 40 40 global $wpdb; -
leaf-crm/trunk/README.txt
r2946401 r3293619 4 4 Tags: contactform7,cf7,ninjaforms,contactforms,wpforms,forminator 5 5 Requires at least: 5.0 6 Tested up to: 6. 26 Tested up to: 6.8 7 7 Requires PHP: 5.6 8 Stable tag: 1. 0.18 Stable tag: 1.1.0 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 65 65 == Changelog == 66 66 67 = 1.1.0 = 68 * Added support for custom tenant domains 69 67 70 = 1.0.1 = 68 71 * Added support for Contact Form 7 to capture dropdown fields values 69 72 70 = 1.0.0 =73 = 1.0.0 = 71 74 * First Release, support the following contact form plugins: 72 75 * Contact Form 7 -
leaf-crm/trunk/admin/partials/leaf-crm-admin-display.php
r2924616 r3293619 33 33 "availableIntegrations" => Leaf_Crm_Options::get_integrations(), // icon urls have been escaped in this function 34 34 "leafToken" => isset($leaf_options[Leaf_Crm_Constants::LEAF_TOKEN_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_TOKEN_NAME]) : '', 35 "leafDomain" => isset($leaf_options[Leaf_Crm_Constants::LEAF_DOMAIN_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_DOMAIN_NAME]) : '', 35 36 "leafWebsite" => isset($leaf_options[Leaf_Crm_Constants::LEAF_WEBSITE_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_WEBSITE_NAME]) : '', 36 37 "Status" => Leaf_Crm_Integration_Status::to_array() … … 49 50 50 51 <div class="text-dark fs-2 fw-bold mb-4 text-center"><?php esc_html_e('Send Leads to Leaf CRM', 'leaf-crm') ?></div> 52 53 <!--begin::Input group--> 54 <div class="fv-row mb-4"> 55 <!--begin::Label--> 56 <label for="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" class="text-dark fs-7 fw-normal mb-2"><?php esc_html_e('Tenant Domain', 'leaf-crm') ?></label> 57 <!--end::Label--> 58 <!--begin::Input--> 59 <input class="form-control rounded-1 py-2 px-6 fs-7" name="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" id="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" type="text" value="" placeholder="app.leaf.my"> 60 <span class="fs-8 text-muted"><?php esc_html_e('Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)', 'leaf-crm') ?></span> 61 62 <div class="invalid-feedback"><span id="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>_error"></span></div> 63 <!--end::Input--> 64 </div> 65 <!--end::Input group--> 51 66 52 67 <!--begin::Input group--> … … 117 132 118 133 // populate saved data 134 jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>').val(wpSettingsData.leafDomain); 119 135 jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_TOKEN_NAME); ?>').val(wpSettingsData.leafToken); 120 136 jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_WEBSITE_NAME); ?>').val(wpSettingsData.leafWebsite); -
leaf-crm/trunk/includes/class-leaf-crm-api.php
r2924616 r3293619 42 42 $is_enabled = $this->is_integration_enabled(); 43 43 if (!$endpoint || !$payload || !$is_enabled) return; 44 45 // Check if we need to modify the endpoint based on domain 46 $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); 47 if (!empty($domain)) { 48 // Replace the base URL in the endpoint with the domain-specific one 49 $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain); 50 $endpoint = str_replace(Leaf_Crm_Constants::API_BASE_URL, $base_url, $endpoint); 51 } 52 44 53 $payload["form_name"] = $this->form_name; 45 54 $options = [ … … 57 66 public function subscribe_leaf_crm() 58 67 { 59 $endpoint = Leaf_Crm_Constants::LEAF_SUBSCRIBE_URL; 60 $token = Leaf_Crm_Options::get_single_value('leaf_crm_token'); 68 $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); 69 $token = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_TOKEN_NAME); 70 71 // If domain is provided, use it to build the endpoint URL 72 if (!empty($domain)) { 73 $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain); 74 $endpoint = $base_url . '/subscribe'; 75 } else { 76 $endpoint = Leaf_Crm_Constants::LEAF_SUBSCRIBE_URL; 77 } 78 61 79 if ($token != null) { 62 80 $payload = [ … … 79 97 public function unsubscribe_leaf_crm() 80 98 { 81 $endpoint = Leaf_Crm_Constants::LEAF_UNSUBSCRIBE_URL; 82 $token = Leaf_Crm_Options::get_single_value('leaf_crm_token'); 99 $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); 100 $token = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_TOKEN_NAME); 101 102 // If domain is provided, use it to build the endpoint URL 103 if (!empty($domain)) { 104 $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain); 105 $endpoint = $base_url . '/unsubscribe'; 106 } else { 107 $endpoint = Leaf_Crm_Constants::LEAF_UNSUBSCRIBE_URL; 108 } 109 83 110 if ($token != null) { 84 111 $payload = [ -
leaf-crm/trunk/includes/class-leaf-crm-constants.php
r2924616 r3293619 7 7 class Leaf_Crm_Constants 8 8 { 9 // Base URL template that will be formatted with the tenant domain 10 public const API_BASE_URL_TEMPLATE = 'https://%s/api/integration/wordpress'; 11 // Default API URL for backward compatibility 9 12 public const API_BASE_URL = 'https://app.leaf.my/api/integration/wordpress'; 10 13 public const WEB_BASE_URL = 'https://www.leaf.my'; … … 15 18 public const WP_SAVE_HOOK_NAME = 'leaf_crm_save_options'; 16 19 public const LEAF_TOKEN_NAME = 'leaf_crm_token'; 20 public const LEAF_DOMAIN_NAME = 'leaf_crm_domain'; 17 21 public const LEAF_WEBSITE_NAME = 'leaf_website'; 18 22 … … 48 52 ); 49 53 50 public static function get_webhook_url($integration_key )54 public static function get_webhook_url($integration_key, $domain = null) 51 55 { 52 56 $supported_keys = array_column(self::SUPPORTED_INTEGRATIONS, 'key'); 53 57 $found_index = array_search($integration_key, $supported_keys); 54 return self::SUPPORTED_INTEGRATIONS[$found_index]['webhookUrl']; 58 $webhook_url = self::SUPPORTED_INTEGRATIONS[$found_index]['webhookUrl']; 59 60 // If domain is provided, replace the base URL with the tenant-specific URL 61 if (!empty($domain)) { 62 $base_url = sprintf(self::API_BASE_URL_TEMPLATE, $domain); 63 $webhook_url = str_replace(self::API_BASE_URL, $base_url, $webhook_url); 64 } 65 66 return $webhook_url; 55 67 } 56 68 -
leaf-crm/trunk/includes/class-leaf-crm-options.php
r2924616 r3293619 22 22 { 23 23 $allowed_keys = array_column(Leaf_Crm_Constants::SUPPORTED_INTEGRATIONS, 'key'); 24 array_push($allowed_keys, Leaf_Crm_Constants::LEAF_WEBSITE_NAME, Leaf_Crm_Constants::LEAF_TOKEN_NAME );24 array_push($allowed_keys, Leaf_Crm_Constants::LEAF_WEBSITE_NAME, Leaf_Crm_Constants::LEAF_TOKEN_NAME, Leaf_Crm_Constants::LEAF_DOMAIN_NAME); 25 25 $filtered_values = array_intersect_key($fields, array_flip($allowed_keys)); 26 26 update_option(Leaf_Crm_Constants::WP_OPTION_NAME, $filtered_values); … … 110 110 $validation_rules = [ 111 111 'leaf_crm_token' => ['required', 'string', 'regex:/^(\bleaf-)([a-zA-Z\d]{8})$/'], 112 'leaf_crm_domain' => ['nullable', 'string', 'regex:/^[a-zA-Z0-9][a-zA-Z0-9-]*\.leaf\.my$/'], 112 113 'leaf_website' => ['string', 'max:120'], 113 114 'site_url' => ['required', 'url'], … … 121 122 $field_names = [ 122 123 'leaf_crm_token' => 'Leaf CRM Token', 124 'leaf_crm_domain' => 'Tenant Domain', 123 125 'leaf_website' => 'Website Name', 124 126 'site_url' => 'Website URL', -
leaf-crm/trunk/languages/leaf-crm-ms_MY.po
r2924616 r3293619 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Leaf CRM \n"5 "Project-Id-Version: Leaf CRM 1.1.0\n" 6 6 "Report-Msgid-Bugs-To: http://wordpress.org/tag/plugin-name\n" 7 7 "POT-Creation-Date: 2023-04-13 10:13+0800\n" … … 29 29 30 30 #: admin/partials/leaf-crm-admin-display.php:55 31 msgid "Tenant Domain" 32 msgstr "Domain Penyewa" 33 34 #: admin/partials/leaf-crm-admin-display.php:59 35 msgid "Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)" 36 msgstr "Masukkan domain penyewa Leaf CRM anda (contoh: app.leaf.my atau syarikat-anda.leaf.my)" 37 38 #: admin/partials/leaf-crm-admin-display.php:65 31 39 msgid "Leaf CRM Token" 32 40 msgstr "Token Leaf CRM" 33 41 34 #: admin/partials/leaf-crm-admin-display.php: 5942 #: admin/partials/leaf-crm-admin-display.php:69 35 43 msgid "" 36 44 "Get the integration token after you have added the WordPress lead source to " -
leaf-crm/trunk/languages/leaf-crm.pot
r2924616 r3293619 4 4 msgid "" 5 5 msgstr "" 6 "Project-Id-Version: Leaf CRM 1. 0.0\n"6 "Project-Id-Version: Leaf CRM 1.1.0\n" 7 7 "Report-Msgid-Bugs-To: http://wordpress.org/tag/leaf-crm\n" 8 8 "POT-Creation-Date: 2023-04-13 10:14+0800\n" … … 29 29 30 30 #: admin/partials/leaf-crm-admin-display.php:55 31 msgid "Tenant Domain" 32 msgstr "" 33 34 #: admin/partials/leaf-crm-admin-display.php:59 35 msgid "Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)" 36 msgstr "" 37 38 #: admin/partials/leaf-crm-admin-display.php:65 31 39 msgid "Leaf CRM Token" 32 40 msgstr "" 33 41 34 #: admin/partials/leaf-crm-admin-display.php: 5942 #: admin/partials/leaf-crm-admin-display.php:69 35 43 msgid "" 36 44 "Get the integration token after you have added the WordPress lead " -
leaf-crm/trunk/leaf-crm.php
r2946401 r3293619 17 17 * Plugin URI: https://wordpress.org/plugins/leaf-crm 18 18 * Description: Leaf CRM streamlines lead capture and management from Facebook, TikTok, Instagram, Google, enhancing sales team productivity and boosting conversion rates. 19 * Version: 1. 0.119 * Version: 1.1.0 20 20 * Author: Leaf CRM Team 21 21 * Author URI: https://www.leaf.my/ … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'LEAF_CRM_VERSION', '1. 0.1' );38 define( 'LEAF_CRM_VERSION', '1.1.0' ); 39 39 40 40 global $wpdb;
Note: See TracChangeset
for help on using the changeset viewer.