[Vtigercrm-commits] [vtiger-commits] r6255 - /vtigercrm/trunk/modules/Accounts/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 05:44:51 EDT 2006
Author: saraj
Date: Sun May 21 03:44:46 2006
New Revision: 6255
Log:
added validation data
Modified:
vtigercrm/trunk/modules/Accounts/DetailView.php
Modified: vtigercrm/trunk/modules/Accounts/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/DetailView.php (original)
+++ vtigercrm/trunk/modules/Accounts/DetailView.php Sun May 21 03:44:46 2006
@@ -92,6 +92,15 @@
$smarty->assign("TOPTIONS",$optionString);
}
+$account_tables = Array('account','crmentity','accountbillads','accountshipads','accountscf');
+$tabid = getTabid("Accounts");
+$validationData = getDBValidationData($account_tables,$tabid);
+$data = split_validationdataArray($validationData);
+
+$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
+$smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
+$smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
+
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
More information about the vtigercrm-commits
mailing list