[Vtigercrm-commits] [vtiger-commits] r6262 - /vtigercrm/trunk/modules/Faq/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 06:03:20 EDT 2006
Author: saraj
Date: Sun May 21 04:03:16 2006
New Revision: 6262
Log:
added for ajaxvalidation
Modified:
vtigercrm/trunk/modules/Faq/DetailView.php
Modified: vtigercrm/trunk/modules/Faq/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Faq/DetailView.php (original)
+++ vtigercrm/trunk/modules/Faq/DetailView.php Sun May 21 04:03:16 2006
@@ -82,6 +82,14 @@
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
+
+$faq_tables = Array('faq');
+$validationData = getDBValidationData($faq_tables);
+$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->display("DetailView.tpl");
?>
More information about the vtigercrm-commits
mailing list