From: unknown Date: Thu, 6 Nov 2014 21:47:30 +0000 (+0000) Subject: Change pane title for repeat configuration block X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=81fead68c7c0675c360252555c9c9eb178d780a8;p=civicrm-core.git Change pane title for repeat configuration block --- diff --git a/CRM/Core/Form/RecurringEntity.php b/CRM/Core/Form/RecurringEntity.php index 7525890a2b..85c390ab5f 100644 --- a/CRM/Core/Form/RecurringEntity.php +++ b/CRM/Core/Form/RecurringEntity.php @@ -146,6 +146,12 @@ class CRM_Core_Form_RecurringEntity { } static function buildQuickForm(&$form) { + if (self::$_entityTable) { + $entityType = explode("_", self::$_entityTable); + if ($entityType[1]) { + $form->assign('entityType', ucwords($entityType[1])); + } + } $form->assign('currentEntityId', self::$_entityId); $form->assign('entityTable', self::$_entityTable); $form->assign('scheduleReminderId', self::$_scheduleReminderID); diff --git a/templates/CRM/Core/Form/RecurringEntity.tpl b/templates/CRM/Core/Form/RecurringEntity.tpl index 50fedf2bbc..671471d3b6 100644 --- a/templates/CRM/Core/Form/RecurringEntity.tpl +++ b/templates/CRM/Core/Form/RecurringEntity.tpl @@ -25,7 +25,9 @@ *}
-
Repeat Configuration
+
+ Repeat {if $entityType}{$entityType}{/if} +
{include file="CRM/common/formButtons.tpl" location="top"}