$this->assign('gid', $this->_id);
$this->_group = CRM_Core_PseudoConstant::group();
+ if ($this->_action & (CRM_Core_Action::UPDATE | CRM_Core_Action::DELETE)) {
+ $title = CRM_Core_BAO_UFGroup::getTitle($this->_id);
+ $this->assign('profileTitle', $title);
+ }
+
// setting title for html page
if ($this->_action & CRM_Core_Action::UPDATE) {
- $title = CRM_Core_BAO_UFGroup::getTitle($this->_id);
CRM_Utils_System::setTitle(ts('Profile Settings') . " - $title");
}
elseif ($this->_action & (CRM_Core_Action::DISABLE | CRM_Core_Action::DELETE)) {
*}
{* add/update/view CiviCRM Profile *}
{if $action eq 8}
- <h3> {ts}Delete CiviCRM Profile{/ts}</h3>
+ <h3> {ts}Delete CiviCRM Profile{/ts} - {$profileTitle}</h3>
{/if}
<div class=" crm-block crm-form-block crm-uf_group-form-block">
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>