[Vtigercrm-commits] [vtiger-commits] r6100 - in /vtigercrm/trunk: Smarty/templates/ReportRunContents.tpl modules/Reports/SaveAndRun.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 17 05:30:50 EDT 2006


Author: don
Date: Wed May 17 03:30:43 2006
New Revision: 6100

Log:
dashboard for reports has been removed

Modified:
    vtigercrm/trunk/Smarty/templates/ReportRunContents.tpl
    vtigercrm/trunk/modules/Reports/SaveAndRun.php

Modified: vtigercrm/trunk/Smarty/templates/ReportRunContents.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ReportRunContents.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ReportRunContents.tpl Wed May 17 03:30:43 2006
@@ -9,13 +9,6 @@
   *
  ********************************************************************************/
 -->*}
-<table align="center" border="0" cellpadding="5" cellspacing="0" width="95%">
-<tr>
-<td>
-	{$GRAPH}
-</td>
-</tr>
-</table>
 <table align="center" border="0" cellpadding="5" cellspacing="0" width="95%">
 	<tbody><tr>
 	<td align="left" width="10%"><input class="classBtn" id="btnExport" name="btnExport" value="{$MOD.LBL_EXPORTPDF_BUTTON}" type="button" onClick="goToURL(CrearEnlace('CreatePDF',{$REPORTID}));" title="{$MOD.LBL_EXPORTPDF_BUTTON}"></td>

Modified: vtigercrm/trunk/modules/Reports/SaveAndRun.php
==============================================================================
--- vtigercrm/trunk/modules/Reports/SaveAndRun.php (original)
+++ vtigercrm/trunk/modules/Reports/SaveAndRun.php Wed May 17 03:30:43 2006
@@ -48,9 +48,10 @@
 
 	$list_report_form = new vtigerCRM_Smarty;
 	$ogReport->getSelectedStandardCriteria($reportid);
-	require_once('modules/Dashboard/ReportsCharts.php');
-	$image = get_graph_by_type('Report','Report',$primarymodule,'',$sshtml[2]);
-	$list_report_form->assign("GRAPH", $image);
+	//commented to omit dashboards for reports
+	//require_once('modules/Dashboard/ReportsCharts.php');
+	//$image = get_graph_by_type('Report','Report',$primarymodule,'',$sshtml[2]);
+	//$list_report_form->assign("GRAPH", $image);
 
 	$BLOCK1 = getPrimaryStdFilterHTML($ogReport->primodule,$ogReport->stdselectedcolumn);
 	$BLOCK1 .= getSecondaryStdFilterHTML($ogReport->secmodule,$ogReport->stdselectedcolumn);





More information about the vtigercrm-commits mailing list