From a3e078c54af3fda4febd4d2168e254081e1c1f87 Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 20 May 2013 12:37:36 +1200 Subject: [PATCH] remove tabs --- CRM/Report/Form/Pledge/Detail.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/CRM/Report/Form/Pledge/Detail.php b/CRM/Report/Form/Pledge/Detail.php index c3f9ebface..049a92e5d7 100644 --- a/CRM/Report/Form/Pledge/Detail.php +++ b/CRM/Report/Form/Pledge/Detail.php @@ -31,9 +31,9 @@ /* * !!!!!!!!!!!!!!!!!!!! * NB: this is named detail but behaves like a summary report. - * It is also accessed through the Pledge Summary link in the UI - * This should presumably be changed. - * ~ Doten + * It is also accessed through the Pledge Summary link in the UI + * This should presumably be changed. + * ~ Doten * !!!!!!!!!!!!!!!!!!!! * */ @@ -55,8 +55,8 @@ class CRM_Report_Form_Pledge_Detail extends CRM_Report_Form { ); function __construct() { - // Check if CiviCampaign is a) enabled and b) has active campaigns - $config = CRM_Core_Config::singleton(); + // Check if CiviCampaign is a) enabled and b) has active campaigns + $config = CRM_Core_Config::singleton(); $campaignEnabled = in_array("CiviCampaign", $config->enableComponents); if ($campaignEnabled) { $getCampaigns = CRM_Campaign_BAO_Campaign::getPermissionedCampaigns(NULL, NULL, TRUE, FALSE, TRUE); @@ -211,15 +211,15 @@ class CRM_Report_Form_Pledge_Detail extends CRM_Report_Form { // If we have a campaign, build out the relevant elements $this->_tagFilter = TRUE; if ($campaignEnabled && !empty($this->activeCampaigns)) { - $this->_columns['civicrm_pledge']['fields']['campaign_id'] = array( + $this->_columns['civicrm_pledge']['fields']['campaign_id'] = array( 'title' => 'Campaign', 'default' => 'false', - ); - $this->_columns['civicrm_pledge']['filters']['campaign_id'] = array('title' => ts('Campaign'), + ); + $this->_columns['civicrm_pledge']['filters']['campaign_id'] = array('title' => ts('Campaign'), 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => $this->activeCampaigns, - ); - $this->_columns['civicrm_pledge']['group_bys']['campaign_id'] = array('title' => ts('Campaign')); + ); + $this->_columns['civicrm_pledge']['group_bys']['campaign_id'] = array('title' => ts('Campaign')); } -- 2.25.1