[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/modules/Reports/ -> NewReport0.php (source)

   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 ('Smarty_setup.php');
  12  require_once ("data/Tracker.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 $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 $focus_list;
  29  
  30  
  31  $theme_path="themes/".$theme."/";
  32  $image_path=$theme_path."images/";
  33  require_once ($theme_path.'layout_utils.php');
  34  $list_report_form = new vtigerCRM_Smarty;
  35  $list_report_form->assign("MOD", $mod_strings);
  36  $list_report_form->assign("APP", $app_strings);
  37  if($_REQUEST['reportmodule'] != '')
  38  {
  39      $list_report_form->assign("RELATEDMODULES",getReportRelatedModules($_REQUEST['reportmodule']));
  40      $list_report_form->assign("REP_MODULE",$_REQUEST['reportmodule']);
  41  }
  42  if($_REQUEST['reportName'] !='')
  43  {
  44      $list_report_form->assign("RELATEDMODULES",getReportRelatedModules($_REQUEST['primarymodule']));
  45      $list_report_form->assign("REPORTNAME",$_REQUEST['reportName']);
  46      $list_report_form->assign("REPORTDESC",$_REQUEST['reportDesc']);
  47      $list_report_form->assign("REP_MODULE",$_REQUEST['primarymodule']);
  48      $list_report_form->assign("SEC_MODULE",$_REQUEST['secondarymodule']);
  49      $list_report_form->assign("BACK_WALK",'true');
  50          
  51  }
  52  $list_report_form->assign("FOLDERID",$_REQUEST['folder']);
  53  $repObj = new Reports ();
  54  $list_report_form->assign("REP_FOLDERS",$repObj->sgetRptFldr());
  55  $list_report_form->assign("IMAGE_PATH", $image_path);
  56  $list_report_form->assign("THEME_PATH", $theme_path);
  57  $list_report_form->assign("ERROR_MSG", $mod_strings['LBL_NO_PERMISSION']);
  58  $list_report_form->display("ReportsStep0.tpl");
  59  ?>


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7