479df644a8
yuchenghu@hawebs.net git-svn-id: https://svn.code.sf.net/p/hawebs/svn@631 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
45 lines
1.7 KiB
PHP
45 lines
1.7 KiB
PHP
<?php
|
|
/*+**********************************************************************************
|
|
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
|
|
* ("License"); You may not use this file except in compliance with the License
|
|
* The Original Code is: vtiger CRM Open Source
|
|
* The Initial Developer of the Original Code is vtiger.
|
|
* Portions created by vtiger are Copyright (C) vtiger.
|
|
* All Rights Reserved.
|
|
************************************************************************************/
|
|
|
|
global $mod_strings,$app_strings,$theme,$currentModule,$current_user;
|
|
|
|
require_once('Smarty_setup.php');
|
|
require_once('include/utils/utils.php');
|
|
|
|
$focus = CRMEntity::getInstance($currentModule);
|
|
$focus->mode = '';
|
|
$mode = 'mass_edit';
|
|
$disp_view = getView($focus->mode);
|
|
|
|
$smarty = new vtigerCRM_Smarty;
|
|
$smarty->assign("BLOCKS",getBlocks($currentModule,$disp_view,$mode,$focus->column_fields));
|
|
$smarty->assign("IDS",$_REQUEST['idstring']);
|
|
$smarty->assign("MASS_EDIT","1");
|
|
$smarty->assign("MODULE",$currentModule);
|
|
$smarty->assign("APP",$app_strings);
|
|
$smarty->assign("CATEGORY",getParentTab());
|
|
|
|
$theme_path="themes/".$theme."/";
|
|
$image_path=$theme_path."images/";
|
|
$smarty->assign("THEME", $theme);
|
|
$smarty->assign("IMAGE_PATH", $image_path);
|
|
|
|
// Field Validation Information
|
|
$tabid = getTabid($currentModule);
|
|
$validationData = getDBValidationData($focus->tab_name,$tabid);
|
|
$validationArray = split_validationdataArray($validationData);
|
|
|
|
$smarty->assign("VALIDATION_DATA_FIELDNAME",$validationArray['fieldname']);
|
|
$smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$validationArray['datatype']);
|
|
$smarty->assign("VALIDATION_DATA_FIELDLABEL",$validationArray['fieldlabel']);
|
|
|
|
$smarty->display('MassEditForm.tpl');
|
|
|
|
?>
|