[Vtigercrm-commits] [vtiger-commits] r6260 - /vtigercrm/trunk/modules/Activities/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 05:58:34 EDT 2006
Author: saraj
Date: Sun May 21 03:58:31 2006
New Revision: 6260
Log:
added for ajaxvalidation
Modified:
vtigercrm/trunk/modules/Activities/DetailView.php
Modified: vtigercrm/trunk/modules/Activities/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/DetailView.php (original)
+++ vtigercrm/trunk/modules/Activities/DetailView.php Sun May 21 03:58:31 2006
@@ -139,6 +139,15 @@
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
+ $activities_tables = Array('activity','crmentity');
+ $tabid = getTabid($tab_type);
+ $validationData = getDBValidationData($activities_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']);
+
$smarty->assign("MODULE",$app_strings['Activities']);
$smarty->display("DetailView.tpl");
More information about the vtigercrm-commits
mailing list