[ 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 ('Smarty_setup.php'); 13 require_once('themes/'.$theme.'/layout_utils.php'); 14 require_once ('include/logging.php'); 15 require_once ('include/utils/utils.php'); 16 require_once ('modules/Reports/Reports.php'); 17 18 global $log; 19 global $app_strings; 20 global $app_list_strings; 21 global $mod_strings; 22 $current_module_strings = return_module_language($current_language, 'Reports'); 23 24 global $list_max_entries_per_page; 25 global $urlPrefix; 26 27 $log = LoggerManager::getLogger('report_list'); 28 29 global $currentModule; 30 31 global $image_path; 32 global $theme; 33 34 global $theme; 35 $theme_path="themes/".$theme."/"; 36 $image_path=$theme_path."images/"; 37 // focus_list is the means of passing data to a ListView. 38 global $focus_list; 39 40 $list_report_form = new vtigerCRM_Smarty; 41 $list_report_form->assign("MOD", $mod_strings); 42 $list_report_form->assign("APP", $app_strings); 43 $list_report_form->assign("APPLIST", $app_list_strings); 44 $list_report_form->assign("IMAGE_PATH", $image_path); 45 46 $list_report_form->assign("CATEGORY",getParentTab()); 47 $list_report_form->assign("MODULE",$currentModule); 48 $list_report_form->assign("NEWRPT_BUTTON",$newrpt_button); 49 $list_report_form->assign("NEWRPT_FLDR_BUTTON",$newrpt_fldr_button); 50 $repObj = new Reports (); 51 $list_report_form->assign("REPT_FLDR",$repObj->sgetRptFldr('SAVED')); 52 $cusFldrDtls = Array(); 53 $cusFldrDtls = $repObj->sgetRptFldr('CUSTOMIZED'); 54 $list_report_form->assign("REPT_CUSFLDR",$cusFldrDtls); 55 foreach($cusFldrDtls as $entries) 56 { 57 $fldrids_lists [] =$entries['id']; 58 } 59 if(count($fldrids_lists) > 0) 60 $list_report_form->assign("FOLDE_IDS",implode(',',$fldrids_lists)); 61 $list_report_form->assign("REPT_MODULES",getReportsModuleList()); 62 $list_report_form->assign("REPT_FOLDERS",$repObj->sgetRptFldr()); 63 if($_REQUEST['mode'] == 'ajax') 64 $list_report_form->display("ReportsCustomize.tpl"); 65 elseif($_REQUEST['mode'] == 'ajaxdelete') 66 $list_report_form->display("ReportContents.tpl"); 67 else 68 $list_report_form->display("Reports.tpl"); 69 70 ?>
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 |