[Vtigercrm-commits] [vtiger-commits] r7344 - in /vtigercrm/trunk/modules/Accounts: DetailView.php EditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 06:22:32 EDT 2006
Author: saraj
Date: Wed Jun 21 04:22:27 2006
New Revision: 7344
Log:
changes made to get validationdata
Modified:
vtigercrm/trunk/modules/Accounts/DetailView.php
vtigercrm/trunk/modules/Accounts/EditView.php
Modified: vtigercrm/trunk/modules/Accounts/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/DetailView.php (original)
+++ vtigercrm/trunk/modules/Accounts/DetailView.php Wed Jun 21 04:22:27 2006
@@ -95,9 +95,8 @@
$smarty->assign("TOPTIONS",$optionString);
}
-$account_tables = Array('account','crmentity','accountbillads','accountshipads','accountscf');
$tabid = getTabid("Accounts");
-$validationData = getDBValidationData($account_tables,$tabid);
+$validationData = getDBValidationData($focus->tab_name,$tabid);
$data = split_validationdataArray($validationData);
$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
Modified: vtigercrm/trunk/modules/Accounts/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/EditView.php (original)
+++ vtigercrm/trunk/modules/Accounts/EditView.php Wed Jun 21 04:22:27 2006
@@ -23,7 +23,6 @@
require_once('Smarty_setup.php');
require_once('data/Tracker.php');
require_once('modules/Accounts/Account.php');
-require_once('modules/Accounts/Forms.php');
require_once('include/CustomFieldUtil.php');
require_once('include/ComboUtil.php');
require_once('include/utils/utils.php');
@@ -101,9 +100,8 @@
$smarty->assign("CALENDAR_LANG", $app_strings['LBL_JSCALENDAR_LANG']);
$smarty->assign("CALENDAR_DATEFORMAT", parse_calendardate($app_strings['NTC_DATE_FORMAT']));
-$account_tables = Array('account','crmentity','accountbillads','accountshipads','accountscf');
$tabid = getTabid("Accounts");
- $validationData = getDBValidationData($account_tables,$tabid);
+ $validationData = getDBValidationData($focus->tab_name,$tabid);
$data = split_validationdataArray($validationData);
$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
More information about the vtigercrm-commits
mailing list