[Vtigercrm-commits] [vtiger-commits] r5057 - /vtigercrm/trunk/modules/Import/ImportSave.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Apr 11 11:44:57 EDT 2006
Author: saraj
Date: Tue Apr 11 09:44:53 2006
New Revision: 5057
Log:
Modified the ImportSave file for smartification & new ui integration of Import Module - Ahmed
Modified:
vtigercrm/trunk/modules/Import/ImportSave.php
Modified: vtigercrm/trunk/modules/Import/ImportSave.php
==============================================================================
--- vtigercrm/trunk/modules/Import/ImportSave.php (original)
+++ vtigercrm/trunk/modules/Import/ImportSave.php Tue Apr 11 09:44:53 2006
@@ -139,6 +139,11 @@
$custTabName = 'potentialscf';
}
+ else if ( $_REQUEST['module'] == 'Products')
+ {
+ $columns = 'productid';
+ $custTabName = 'productscf';
+ }
$noofrows = $adb->num_rows($custresult);
$values='"'.$focus->id.'"';
for($j=0; $j<$noofrows; $j++)
@@ -186,7 +191,7 @@
$imported_records = $ii - $skip_required_count;
if($imported_records == $ii)
$skip_required_count = 0;
- $message= urlencode($mod_strings['LBL_SUCCESS']."<BR>$imported_records ". $_REQUEST['return_module']." ".$mod_strings['LBL_SUCCESSFULLY']."<br>$skip_required_count " . $mod_strings['LBL_RECORDS_SKIPPED'] );
+ $message= urlencode("<b>".$mod_strings['LBL_SUCCESS']."</b>"."<br><br>" .$mod_strings['LBL_SUCCESS_1']." $imported_records" ."<br><br>" .$mod_strings['LBL_SKIPPED_1']." $skip_required_count " );
}
else
{
More information about the vtigercrm-commits
mailing list