From b2975331f771ce35f621ac9e5a818ee4855d5a16 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Tue, 8 Mar 2022 15:34:26 -0500 Subject: [PATCH] fixes core#3106 - raise max inline edit websites to 25 --- CRM/Contact/Form/Inline/Website.php | 2 +- templates/CRM/Contact/Form/Inline/Website.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Form/Inline/Website.php b/CRM/Contact/Form/Inline/Website.php index aba4d13bec..542e85319d 100644 --- a/CRM/Contact/Form/Inline/Website.php +++ b/CRM/Contact/Form/Inline/Website.php @@ -30,7 +30,7 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline { * No of website blocks for inline edit. * @var int */ - private $_blockCount = 6; + private $_blockCount = 26; /** * Call preprocess. diff --git a/templates/CRM/Contact/Form/Inline/Website.tpl b/templates/CRM/Contact/Form/Inline/Website.tpl index c1400c8235..e5d5bf5838 100644 --- a/templates/CRM/Contact/Form/Inline/Website.tpl +++ b/templates/CRM/Contact/Form/Inline/Website.tpl @@ -21,7 +21,7 @@ {ts}Website{/ts} {help id="id-website" file="CRM/Contact/Form/Contact.hlp"} - {if $actualBlockCount lt 5 } + {if $actualBlockCount lt 25 }   {ts}add{/ts} {/if} -- 2.25.1