[Fusionforge-commits] FusionForge branch master updated. dae77c6f674961651449efb8ad116431d6a3193f

Alain Peyrat aljeux at fusionforge.org
Mon Oct 22 14:56:28 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  dae77c6f674961651449efb8ad116431d6a3193f (commit)
      from  04e0e8a4f0ee33a9de2e90b7ef4fb70b4c13a768 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dae77c6f674961651449efb8ad116431d6a3193f
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Mon Oct 22 14:56:15 2012 +0200

    Clean code, call html_use_jqueryjqplotpluginCanvas() before header

diff --git a/src/www/frs/reporting/downloads.php b/src/www/frs/reporting/downloads.php
index c09d3a5..cf09348 100644
--- a/src/www/frs/reporting/downloads.php
+++ b/src/www/frs/reporting/downloads.php
@@ -82,6 +82,8 @@ if (!$end) {
 }
 if ($end < $start) list($start, $end) = array($end, $start);
 
+html_use_jqueryjqplotpluginCanvas();
+
 frs_header(array('title' => _('File Release Reporting'),
 		 'group' => $group_id,
 		 'pagename' => 'project_showfiles',
@@ -118,10 +120,7 @@ if (count($data) == 0) {
 	echo _('There have been no downloads for this package.');
 	echo '</p>';
 } else {
-	html_use_jqueryjqplotpluginCanvas();
-	echo $HTML->getJavascripts();
-	echo $HTML->getStylesheets();
-	echo '<script language="JavaScript" type="text/javascript">//<![CDATA['."\n";
+	echo '<script type="text/javascript">//<![CDATA['."\n";
 	echo 'var ticks = new Array();';
 	echo 'var values = new Array();';
 	$arr =& $report->getMonthStartArr();

-----------------------------------------------------------------------

Summary of changes:
 src/www/frs/reporting/downloads.php |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list