[Vtigercrm-commits] [vtiger-commits] r6256 - /vtigercrm/trunk/modules/Campaigns/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 05:47:04 EDT 2006
Author: saraj
Date: Sun May 21 03:46:59 2006
New Revision: 6256
Log:
added for ajaxvalidation
Modified:
vtigercrm/trunk/modules/Campaigns/DetailView.php
Modified: vtigercrm/trunk/modules/Campaigns/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/DetailView.php (original)
+++ vtigercrm/trunk/modules/Campaigns/DetailView.php Sun May 21 03:46:59 2006
@@ -55,6 +55,16 @@
$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
$smarty->assign("ID", $_REQUEST['record']);
+
+$campaign_tables = Array('campaign','crmentity');
+$tabid = getTabid("Campaigns");
+$validationData = getDBValidationData($campaign_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