[Vtigercrm-commits] [vtiger-commits] r3892 - /vtigercrm/branches/4.2/include/utils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Feb 22 17:26:57 EST 2006


Author: mfedyk
Date: Wed Feb 22 15:26:55 2006
New Revision: 3892

Log:
Show rendered html instead of tags in notes editor, by briand. fixes #13

Modified:
    vtigercrm/branches/4.2/include/utils.php

Modified: vtigercrm/branches/4.2/include/utils.php
==============================================================================
--- vtigercrm/branches/4.2/include/utils.php (original)
+++ vtigercrm/branches/4.2/include/utils.php Wed Feb 22 15:26:55 2006
@@ -1754,9 +1754,9 @@
 	}
 	elseif($uitype == 19)
 	{
-		$col_fields[$fieldname]=nl2br($col_fields[$fieldname]);
+		$col_fields[$fieldname]=html_entity_decode(nl2br($col_fields[$fieldname]));
 		$custfld .= '<td width="20%" class="dataLabel" valign="top">'.$mod_strings[$fieldlabel].':</td>';
-		$custfld .= '<td colspan="3" valign="top" class="dataField">'.$col_fields[$fieldname].'</td>'; // Armando LC<scher 10.08.2005 -> B'descriptionSpan -> Desc: inserted colspan="3"
+		$custfld .= '<td colspan="3" valign="top">'.$col_fields[$fieldname].'</td>'; // Armando LC<scher 10.08.2005 -> B'descriptionSpan -> Desc: inserted colspan="3"
 	}
 	elseif($uitype == 20 || $uitype == 21 || $uitype == 22 || $uitype == 24) // Armando LC<scher 11.08.2005 -> B'descriptionSpan -> Desc: removed $uitype == 19 and made an aditional elseif above
 	{





More information about the vtigercrm-commits mailing list