[Vtigercrm-commits] [vtiger-commits] r9837 - in /vtigercrm/branches/5.0.3: include/utils/DetailViewUtils.php modules/Emails/DetailView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Nov 14 09:42:46 EST 2006


Author: richie
Date: Tue Nov 14 07:42:40 2006
New Revision: 9837

Log:
Added Emails from outlook plugin not displayed properly - fixed . Fixes #1759

Modified:
    vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php
    vtigercrm/branches/5.0.3/modules/Emails/DetailView.php

Modified: vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php Tue Nov 14 07:42:40 2006
@@ -159,7 +159,7 @@
 	}
 	elseif($uitype == 19)
 	{
-		$col_fields[$fieldname]= make_clickable(str_replace("&lt;br /&gt;","<br>",nl2br($col_fields[$fieldname])));
+		$col_fields[$fieldname]= make_clickable(str_replace("&lt;br /&gt;","<br>",$col_fields[$fieldname]));
 		$label_fld[] = $mod_strings[$fieldlabel];
 		$label_fld[] = $col_fields[$fieldname];
 	}

Modified: vtigercrm/branches/5.0.3/modules/Emails/DetailView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Emails/DetailView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Emails/DetailView.php Tue Nov 14 07:42:40 2006
@@ -131,7 +131,7 @@
 	else $smarty->assign("NAME", "");
 
 $entries = getBlocks($currentModule,"detail_view",'',$focus->column_fields);
-$entries['Email Information']['4']['Description']['value'] = from_html($entries['Email Information']['4']['Description']['value']);
+$entries[$mod_strings['LBL_EMAIL_INFORMATION']]['5'][$mod_strings['Description']]['value'] = from_html($entries[$mod_strings['LBL_EMAIL_INFORMATION']]['5'][$mod_strings['Description']]['value']);
 //changed this to view description in all langauge - bharath
 $smarty->assign("BLOCKS",$entries[$mod_strings['LBL_EMAIL_INFORMATION']]); 
 $smarty->assign("SINGLE_MOD", 'Email');





More information about the vtigercrm-commits mailing list