| [ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 <?php 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 require_once ("data/Tracker.php"); 12 require_once('themes/'.$theme.'/layout_utils.php'); 13 require_once ('include/logging.php'); 14 require_once ('include/utils/utils.php'); 15 require_once ('modules/Reports/Reports.php'); 16 require_once ('Smarty_setup.php'); 17 18 global $app_strings; 19 global $app_list_strings; 20 global $mod_strings; 21 $current_module_strings = return_module_language($current_language, 'Reports'); 22 global $list_max_entries_per_page; 23 global $urlPrefix; 24 $log = LoggerManager::getLogger('report_list'); 25 global $currentModule; 26 global $image_path; 27 global $theme; 28 global $ogReport; 29 // focus_list is the means of passing data to a ListView. 30 global $focus_list; 31 32 $theme_path="themes/".$theme."/"; 33 $image_path=$theme_path."images/"; 34 require_once ($theme_path.'layout_utils.php'); 35 $list_report_form = new vtigerCRM_Smarty; 36 $list_report_form->assign("MOD", $mod_strings); 37 $list_report_form->assign("APP", $app_strings); 38 if(isset($_REQUEST["record"])) 39 { 40 $reportid = $_REQUEST["record"]; 41 $list_report_form->assign('REPORT_ID',$reportid); 42 $oReport = new Reports($reportid); 43 $primarymodule = $oReport->primodule; 44 $secondarymodule = $oReport->secmodule; 45 $reporttype = $oReport->reporttype; 46 $reportname = $oReport->reportname; 47 $reportdescription = $oReport->reportdescription; 48 $folderid = $oReport->folderid; 49 $ogReport = new Reports(); 50 $ogReport->getPriModuleColumnsList($oReport->primodule); 51 $ogReport->getSecModuleColumnsList($oReport->secmodule); 52 }else 53 { 54 $primarymodule = $_REQUEST["primarymodule"]; 55 $secondarymodule = $_REQUEST["secondarymodule"]; 56 $reportname = $_REQUEST["reportname"]; 57 $reportdescription = $_REQUEST["reportdes"]; 58 $folderid = $_REQUEST["reportfolder"]; 59 $ogReport = new Reports(); 60 $ogReport->getPriModuleColumnsList($primarymodule); 61 $ogReport->getSecModuleColumnsList($secondarymodule); 62 $list_report_form->assign('BACK_WALK','true'); 63 } 64 $list_report_form->assign('PRI_MODULE',$primarymodule); 65 $list_report_form->assign('SEC_MODULE',$secondarymodule); 66 $list_report_form->assign('REPORT_NAME',$reportname); 67 $list_report_form->assign('REPORT_DESC',$reportdescription); 68 $list_report_form->assign('FOLDERID',$folderid); 69 $list_report_form->assign("IMAGE_PATH", $image_path); 70 $list_report_form->assign("THEME_PATH", $theme_path); 71 $list_report_form->display("ReportsStep1.tpl"); 72 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |