[Vtigercrm-commits] [vtiger-commits] r7351 - in /vtigercrm/trunk/modules/Activities: DetailView.php EditView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 06:41:34 EDT 2006


Author: saraj
Date: Wed Jun 21 04:41:30 2006
New Revision: 7351

Log:
forms.php has been removed

Modified:
    vtigercrm/trunk/modules/Activities/DetailView.php
    vtigercrm/trunk/modules/Activities/EditView.php

Modified: vtigercrm/trunk/modules/Activities/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/DetailView.php (original)
+++ vtigercrm/trunk/modules/Activities/DetailView.php Wed Jun 21 04:41:30 2006
@@ -23,7 +23,6 @@
 require_once('Smarty_setup.php');
 require_once('data/Tracker.php');
 require_once('modules/Activities/Activity.php');
-require_once('modules/Activities/Forms.php');
 require_once('include/CustomFieldUtil.php');
 require_once('include/database/PearDatabase.php');
 require_once('include/utils/utils.php');
@@ -116,7 +115,6 @@
 $smarty->assign("THEME", $theme);
 $smarty->assign("IMAGE_PATH", $image_path);
 $smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string'].'&activity_mode='.$activity_mode);
-$smarty->assign("JAVASCRIPT", get_set_focus_js().get_validate_record_js());
 $smarty->assign("ID", $focus->id);
 $smarty->assign("NAME", $focus->name);
 
@@ -139,9 +137,8 @@
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
 
- $activities_tables = Array('activity','crmentity');
  $tabid = getTabid($tab_type);
- $validationData = getDBValidationData($activities_tables,$tabid);
+ $validationData = getDBValidationData($focus->tab_name,$tabid);
  $data = split_validationdataArray($validationData);
 
  $smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);

Modified: vtigercrm/trunk/modules/Activities/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/EditView.php (original)
+++ vtigercrm/trunk/modules/Activities/EditView.php Wed Jun 21 04:41:30 2006
@@ -23,7 +23,6 @@
 require_once('Smarty_setup.php');
 require_once('data/Tracker.php');
 require_once('modules/Activities/Activity.php');
-require_once('modules/Activities/Forms.php');
 require_once('include/database/PearDatabase.php');
 require_once('include/CustomFieldUtil.php');
 require_once('include/ComboUtil.php');
@@ -117,12 +116,10 @@
 $smarty->assign("THEME", $theme);
 $smarty->assign("IMAGE_PATH", $image_path);
 $smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
-$smarty->assign("JAVASCRIPT", get_set_focus_js().get_validate_record_js());
 $smarty->assign("ID", $focus->id);
 
- $activities_tables = Array('activity','crmentity'); 
  $tabid = getTabid($tab_type);
- $validationData = getDBValidationData($activities_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