[Vtigercrm-commits] [vtiger-commits] r11000 - /vtigercrm/branches/5.0.3/modules/Import/ImportStep2.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 23 16:59:34 EDT 2007
Author: richie
Date: Wed May 23 14:59:27 2007
New Revision: 11000
Log:
* Fixed the issue in mapping page layout collapse when the value is too large, Fixed #2189
Modified:
vtigercrm/branches/5.0.3/modules/Import/ImportStep2.php
Modified: vtigercrm/branches/5.0.3/modules/Import/ImportStep2.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Import/ImportStep2.php (original)
+++ vtigercrm/branches/5.0.3/modules/Import/ImportStep2.php Wed May 23 14:59:27 2007
@@ -168,7 +168,23 @@
$thirdrow = $rows[2];
}
-
+//If the cell value is very large then UI mapping will be collpased. So we will display partial text
+foreach($firstrow as $ind => $val)
+{
+ if(strlen($val) > 30)
+ $firstrow[$ind] = substr($val,0,30)." ..........";
+}
+foreach($secondrow as $ind => $val)
+{
+ if(strlen($val) > 30)
+ $secondrow[$ind] = substr($val,0,30)." ..........";
+}
+foreach($thirdrow as $ind => $val)
+{
+ if(strlen($val) > 30)
+ $thirdrow[$ind] = substr($val,0,30)." ..........";
+}
+
$field_map = $outlook_contacts_field_map;
$mapping_file = new ImportMap();
More information about the vtigercrm-commits
mailing list