[Vtigercrm-commits] [vtiger-commits] r4938 - /vtigercrm/trunk/quickcreate.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 6 09:21:23 EDT 2006
Author: saraj
Date: Thu Apr 6 07:21:18 2006
New Revision: 4938
Log:
changes made to integrate new UI
Modified:
vtigercrm/trunk/quickcreate.php
Modified: vtigercrm/trunk/quickcreate.php
==============================================================================
--- vtigercrm/trunk/quickcreate.php (original)
+++ vtigercrm/trunk/quickcreate.php Thu Apr 6 07:21:18 2006
@@ -4,7 +4,7 @@
require_once("include/utils/CommonUtils.php");
require_once("include/FormValidationUtil.php");
-global $mod_strings;
+global $mod_strings,$current_user;
global $app_strings;
global $adb;
global $app_list_strings;
@@ -18,13 +18,19 @@
$smarty = new vtigerCRM_Smarty;
$qcreate_array = QuickCreate("$module");
-$smarty->assign("QUICKCREATE", $qcreate_array);
+$validationData = $qcreate_array['data'];
+$data = split_validationdataArray($validationData);
+$smarty->assign("QUICKCREATE", $qcreate_array['form']);
$smarty->assign("THEME",$theme);
$smarty->assign("APP",$app_strings);
$smarty->assign("MOD",$mod_strings);
$smarty->assign("THEME",$theme);
$smarty->assign("IMAGE_PATH",$image_path);
$smarty->assign("MODULE",$module);
+$smarty->assign("USERID",$current_user->id);
+$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
+$smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
+$smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
$smarty->assign("CATEGORY",$category);
$smarty->display("QuickCreate.tpl");
More information about the vtigercrm-commits
mailing list