[Vtigercrm-commits] [vtiger-commits] r7144 - /vtigercrm/trunk/include/utils/DetailViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jun 15 11:31:25 EDT 2006
Author: saraj
Date: Thu Jun 15 09:31:22 2006
New Revision: 7144
Log:
changes made to get CampaignName
Modified:
vtigercrm/trunk/include/utils/DetailViewUtils.php
Modified: vtigercrm/trunk/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/DetailViewUtils.php Thu Jun 15 09:31:22 2006
@@ -318,6 +318,19 @@
$label_fld["secid"] = $contact_id;
$label_fld["link"] = "index.php?module=Contacts&action=DetailView&record=".$contact_id;
}
+ elseif($uitype == 58)
+ {
+ $label_fld[] =$mod_strings[$fieldlabel];
+ $campaign_id = $col_fields[$fieldname];
+ if($campaign_id != '')
+ {
+ $campaign_name = getCampaignName($campaign_id);
+ }
+ $label_fld[] = $campaign_name;
+ $label_fld["secid"] = $campaign_id;
+ $label_fld["link"] = "index.php?module=Campaigns&action=DetailView&record=".$campaign_id;
+
+ }
elseif($uitype == 59)
{
$label_fld[] =$mod_strings[$fieldlabel];
More information about the vtigercrm-commits
mailing list