[Vtigercrm-commits] [vtiger-commits] r7189 - in /vtigercrm/trunk/modules/Import: ImportStep1.php ImportStep2.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 16 10:21:41 EDT 2006
Author: saraj
Date: Fri Jun 16 08:21:37 2006
New Revision: 7189
Log:
* Modified to set the parent tab from request value
Modified:
vtigercrm/trunk/modules/Import/ImportStep1.php
vtigercrm/trunk/modules/Import/ImportStep2.php
Modified: vtigercrm/trunk/modules/Import/ImportStep1.php
==============================================================================
--- vtigercrm/trunk/modules/Import/ImportStep1.php (original)
+++ vtigercrm/trunk/modules/Import/ImportStep1.php Fri Jun 16 08:21:37 2006
@@ -40,8 +40,7 @@
$smarty->assign("APP", $app_strings);
$smarty->assign("IMP", $import_mod_strings);
-$category = getParenttab();
-$smarty->assign("CATEGORY", $category);
+$smarty->assign("CATEGORY", $_REQUEST['parenttab']);
$import_object_array = Array(
"Leads"=>"ImportLead",
Modified: vtigercrm/trunk/modules/Import/ImportStep2.php
==============================================================================
--- vtigercrm/trunk/modules/Import/ImportStep2.php (original)
+++ vtigercrm/trunk/modules/Import/ImportStep2.php Fri Jun 16 08:21:37 2006
@@ -341,10 +341,8 @@
}
$smarty->assign("MODULE", $_REQUEST['module']);
-
-$category = getParenttab();
-$smarty->assign('CATEGORY' , $category);
-
+$smarty->assign('CATEGORY' , $_REQUEST['parenttab']);
+@$_SESSION['import_parenttab'] = $_REQUEST['parenttab'];
$smarty->assign("JAVASCRIPT2", get_readonly_js() );
$smarty->display('ImportStep2.tpl');
@@ -355,7 +353,7 @@
{
var tagName;
var count = 0;
- var vtiger_field_count = "<?php echo $field_count; ?>";
+ var field_count = "<?php echo $field_count; ?>";
var required_fields = new Array();
var required_fields_name = new Array();
var seq_string = '';
More information about the vtigercrm-commits
mailing list