[Fusionforge-commits] r10635 - in trunk/src/www: reporting scm scm/admin scm/include scm/reporting themes/gforge/css

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Sep 22 17:53:08 CEST 2010


Author: nerville
Date: 2010-09-22 17:53:07 +0200 (Wed, 22 Sep 2010)
New Revision: 10635

Modified:
   trunk/src/www/reporting/groupadded.php
   trunk/src/www/reporting/groupadded_graph.php
   trunk/src/www/reporting/groupcum.php
   trunk/src/www/reporting/groupcum_graph.php
   trunk/src/www/reporting/projectact.php
   trunk/src/www/reporting/projectact_graph.php
   trunk/src/www/reporting/projecttime.php
   trunk/src/www/reporting/projecttime_graph.php
   trunk/src/www/reporting/rebuild.php
   trunk/src/www/reporting/siteact.php
   trunk/src/www/reporting/siteact_graph.php
   trunk/src/www/reporting/sitetime.php
   trunk/src/www/reporting/sitetime_graph.php
   trunk/src/www/reporting/sitetimebar.php
   trunk/src/www/reporting/sitetimebar_graph.php
   trunk/src/www/reporting/timecategory.php
   trunk/src/www/reporting/timeentry.php
   trunk/src/www/reporting/toolspie.php
   trunk/src/www/reporting/toolspie_graph.php
   trunk/src/www/reporting/trackerpie_graph.php
   trunk/src/www/reporting/useract.php
   trunk/src/www/reporting/useract_graph.php
   trunk/src/www/reporting/useradded.php
   trunk/src/www/reporting/useradded_graph.php
   trunk/src/www/reporting/usercum.php
   trunk/src/www/reporting/usercum_graph.php
   trunk/src/www/reporting/usersummary.php
   trunk/src/www/reporting/usertime.php
   trunk/src/www/reporting/usertime_graph.php
   trunk/src/www/scm/admin/index.php
   trunk/src/www/scm/browser.php
   trunk/src/www/scm/include/scm_utils.php
   trunk/src/www/scm/index.php
   trunk/src/www/scm/reporting/commits_graph.php
   trunk/src/www/scm/reporting/commitstime_graph.php
   trunk/src/www/scm/reporting/index.php
   trunk/src/www/scm/viewvc.php
   trunk/src/www/themes/gforge/css/theme.css
Log:
exit functions migration

Modified: trunk/src/www/reporting/groupadded.php
===================================================================
--- trunk/src/www/reporting/groupadded.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/groupadded.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -31,7 +29,7 @@
 
 $report=new Report();
 if ($report->isError()) {
-	exit_error('Error',$report->getErrorMessage());
+	exit_error($report->getErrorMessage());
 }
 
 $SPAN = getIntFromRequest('SPAN');
@@ -49,7 +47,7 @@
 
 session_require_global_perm ('forge_stats', 'read') ;
 
-echo report_header(_('Projects Added'));
+report_header(_('Projects Added'));
 
 ?>
 <h2><?php echo _('Projects Added'); ?></h2>
@@ -67,7 +65,7 @@
 </p>
 <?php
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/groupadded_graph.php
===================================================================
--- trunk/src/www/reporting/groupadded_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/groupadded_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -45,8 +43,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage(),'');
 }
 
 // Some data

Modified: trunk/src/www/reporting/groupcum.php
===================================================================
--- trunk/src/www/reporting/groupcum.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/groupcum.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -49,7 +46,7 @@
 
 session_require_global_perm ('forge_stats', 'read') ;
 
-echo report_header(_('Cumulative Projects'));
+report_header(_('Cumulative Projects'));
 
 ?>
 <h2><?php echo _('Cumulative Projects'); ?></h2>
@@ -67,7 +64,7 @@
 </p>
 <?php
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/groupcum_graph.php
===================================================================
--- trunk/src/www/reporting/groupcum_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/groupcum_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -45,8 +42,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 // Some data

Modified: trunk/src/www/reporting/projectact.php
===================================================================
--- trunk/src/www/reporting/projectact.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/projectact.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -51,7 +49,7 @@
 	$end = $z[count($z)-1];
 }
 
-echo report_header(_('Project Activity'));
+report_header(_('Project Activity'));
 
 ?>
 <h2><?php echo _('Project Activity'); ?></h2>
@@ -75,7 +73,7 @@
 
 }
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/projectact_graph.php
===================================================================
--- trunk/src/www/reporting/projectact_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/projectact_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -48,8 +45,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 //

Modified: trunk/src/www/reporting/projecttime.php
===================================================================
--- trunk/src/www/reporting/projecttime.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/projecttime.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -53,7 +50,7 @@
 	$end = $z[count($z)-1];
 }
 
-echo report_header(_('Time Tracking By Project'));
+report_header(_('Time Tracking By Project'));
 
 $a[]=_('By Task');
 $a[]=_('By Category');
@@ -105,7 +102,7 @@
 
 }
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/projecttime_graph.php
===================================================================
--- trunk/src/www/reporting/projecttime_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/projecttime_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -48,8 +45,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 // XXX ogi: Isn't it $type?

Modified: trunk/src/www/reporting/rebuild.php
===================================================================
--- trunk/src/www/reporting/rebuild.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/rebuild.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,24 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * Copyright 2010 (c) Franck Villaume
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -32,34 +31,32 @@
 
 session_require_global_perm ('forge_stats', 'admin') ;
 
-echo report_header(_('Main Page'));
 if (getStringFromRequest('submit') && getStringFromRequest('im_sure')) {
-		
 
-
 	$r = new ReportSetup();
 
 	if (!$r->initialSetup()) {
-		echo $r->getErrorMessage();
+		$error_msg = $r->getErrorMessage();
 		form_release_key(getStringFromRequest("form_key"));
 	} else {
-		Header("Location: index.php?feedback=Successfully+Rebuilt");
+        $feedback = _('Successfully Rebuilt');
 	}
 
 }
 
-	echo '<h2>';
-	echo _('Reporting System Initialization');
-	echo '</h2>';
-	echo '<p>';
-	echo _('Occasionally, if cronjobs failed or the database was damaged, you may have to rebuild the reporting tables.');
-	echo '</p>';
-	echo '<p>';
-	echo _('If you are sure you want to rebuild all the reporting tables, check the "I am sure" box and click the button below.');
-	echo '</p>';
-	echo '<p>';
-	echo _('This could take a couple minutes, so DO NOT CLICK MORE THAN ONCE.');
-	echo '</p>';
+report_header(_('Main Page'));
+echo '<h2>';
+echo _('Reporting System Initialization');
+echo '</h2>';
+echo '<p>';
+echo _('Occasionally, if cronjobs failed or the database was damaged, you may have to rebuild the reporting tables.');
+echo '</p>';
+echo '<p>';
+echo _('If you are sure you want to rebuild all the reporting tables, check the "I am sure" box and click the button below.');
+echo '</p>';
+echo '<p>';
+echo _('This could take a couple minutes, so DO NOT CLICK MORE THAN ONCE.');
+echo '</p>';
 ?>
 
 <form action="<?php echo getStringFromServer('PHP_SELF'); ?>" method="post">
@@ -73,7 +70,7 @@
 
 <?php
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/siteact.php
===================================================================
--- trunk/src/www/reporting/siteact.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/siteact.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -52,7 +50,7 @@
 
 $area = util_ensure_value_in_set ($area, array ('tracker','forum','docman','taskman','downloads')) ;
 
-echo report_header(_('Site-Wide Activity'));
+report_header(_('Site-Wide Activity'));
 
 ?>
 <h2><?php echo _('Site-Wide Activity'); ?></h2>
@@ -74,7 +72,7 @@
 
 }
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/siteact_graph.php
===================================================================
--- trunk/src/www/reporting/siteact_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/siteact_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -47,8 +44,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 // Create the graph. These two calls are always required

Modified: trunk/src/www/reporting/sitetime.php
===================================================================
--- trunk/src/www/reporting/sitetime.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/sitetime.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -51,7 +49,7 @@
 	$end = $z[count($z)-1];
 }
 
-echo report_header(_('Site-Wide Time Tracking'));
+report_header(_('Site-Wide Time Tracking'));
 
 $a[]=_('By Task');
 $a[]=_('By Category');
@@ -101,7 +99,7 @@
 </p>
 <?php
 }
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/sitetime_graph.php
===================================================================
--- trunk/src/www/reporting/sitetime_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/sitetime_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -47,8 +44,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 // XXX ogi: Isn't it $type?

Modified: trunk/src/www/reporting/sitetimebar.php
===================================================================
--- trunk/src/www/reporting/sitetimebar.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/sitetimebar.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -50,7 +48,7 @@
 	$end = $z[count($z)-1];
 }
 
-echo report_header(_('Site-Wide Time Tracking'));
+report_header(_('Site-Wide Time Tracking'));
 
 ?>
 <h2><?php echo _('Site-Wide Time Tracking'); ?></h2>
@@ -105,7 +103,7 @@
 	<?php
 }
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/sitetimebar_graph.php
===================================================================
--- trunk/src/www/reporting/sitetimebar_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/sitetimebar_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -41,8 +39,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 $start = getIntFromRequest('start');

Modified: trunk/src/www/reporting/timecategory.php
===================================================================
--- trunk/src/www/reporting/timecategory.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/timecategory.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -39,7 +37,7 @@
 
 		$r = new ReportSetup();
 		if (!$r->addTimeCode($category_name)) {
-			exit_error('Error',$r->getErrorMessage());
+			exit_error($r->getErrorMessage());
 		} else {
 			$feedback=_('Successful');
 		}
@@ -49,7 +47,7 @@
 		$r = new ReportSetup();
 
 		if (!$r->updateTimeCode($time_code,$category_name)) {
-			exit_error('Error',$r->getErrorMessage());
+			exit_error($r->getErrorMessage());
 		} else {
 			$feedback=_('Successful');
 		}
@@ -60,7 +58,7 @@
 
 }
 
-echo report_header(_('Main Page'));
+report_header(_('Main Page'));
 
 if ($time_code) {
 	$res1=db_query_params ('SELECT * FROM rep_time_category WHERE time_code=$1',
@@ -107,7 +105,7 @@
 
 <?php
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/timeentry.php
===================================================================
--- trunk/src/www/reporting/timeentry.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/timeentry.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -1,24 +1,24 @@
 <?php
-
 /**
  * SOAP Tracker Include - this file contains wrapper functions for the SOAP interface
  *
  * Copyright 2005 Tony Bibbs <tony at geeklog.net>
+ * http://fusionforge.org
  *
- * This file is part of GForge.
+ * This file is part of FusionForge.
  *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  US
  *
  */

Modified: trunk/src/www/reporting/toolspie.php
===================================================================
--- trunk/src/www/reporting/toolspie.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/toolspie.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -50,7 +48,7 @@
 
 session_require_global_perm ('forge_stats', 'read') ;
 
-echo report_header(_('Tool Pie Graphs'));
+report_header(_('Tool Pie Graphs'));
 
 if (!$datatype) {
 	$datatype=1;
@@ -71,7 +69,7 @@
 </p>
 <?php
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/toolspie_graph.php
===================================================================
--- trunk/src/www/reporting/toolspie_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/toolspie_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -43,8 +40,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 $datatype = getIntFromRequest('datatype');
@@ -119,7 +115,7 @@
 
 
 if (db_error()) {
-	exit_error('Error',db_error());
+	exit_error(db_error());
 }
 
 // Create the graph. These two calls are always required

Modified: trunk/src/www/reporting/trackerpie_graph.php
===================================================================
--- trunk/src/www/reporting/trackerpie_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/trackerpie_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -44,8 +42,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 $area = getStringFromRequest('area');
@@ -110,7 +107,7 @@
 }
 
 if (db_error()) {
-	exit_error('Error',db_error());
+	exit_error(db_error());
 }
 
 // Create the graph. These two calls are always required

Modified: trunk/src/www/reporting/useract.php
===================================================================
--- trunk/src/www/reporting/useract.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/useract.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -52,7 +50,7 @@
 	$end = $z[count($z)-1];
 }
 
-echo report_header(_('User Activity'));
+report_header(_('User Activity'));
 
 $abc_array = array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
 echo '<p>';
@@ -91,7 +89,7 @@
 
 }
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/useract_graph.php
===================================================================
--- trunk/src/www/reporting/useract_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/useract_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -48,8 +45,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 //
@@ -57,7 +53,7 @@
 //
 $u =& user_get_object($dev_id);
 if (!$u || $u->isError()) {
-	exit_error("Could Not Get User");
+	exit_error(_("Could Not Get User"));
 }
 
 // Create the graph. These two calls are always required

Modified: trunk/src/www/reporting/useradded.php
===================================================================
--- trunk/src/www/reporting/useradded.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/useradded.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,22 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -31,7 +28,7 @@
 
 $report=new Report();
 if ($report->isError()) {
-	exit_error('Error',$report->getErrorMessage());
+	exit_error($report->getErrorMessage());
 }
 
 $SPAN = getIntFromRequest('SPAN');
@@ -49,7 +46,7 @@
 
 session_require_global_perm ('forge_stats', 'read') ;
 
-echo report_header(_('Users Added'));
+report_header(_('Users Added'));
 
 ?>
 <h2><?php echo _('Users Added'); ?></h2>
@@ -66,7 +63,7 @@
 </p>
 <?php
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/useradded_graph.php
===================================================================
--- trunk/src/www/reporting/useradded_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/useradded_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -45,8 +43,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 // Some data

Modified: trunk/src/www/reporting/usercum.php
===================================================================
--- trunk/src/www/reporting/usercum.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/usercum.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -49,7 +47,7 @@
 
 session_require_global_perm ('forge_stats', 'read') ;
 
-echo report_header(_('Cumulative Users'));
+report_header(_('Cumulative Users'));
 
 ?>
 <h2><?php echo _('Cumulative Users'); ?></h2>
@@ -67,7 +65,7 @@
 </p>
 <?php
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/usercum_graph.php
===================================================================
--- trunk/src/www/reporting/usercum_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/usercum_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -45,8 +43,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 // Some data

Modified: trunk/src/www/reporting/usersummary.php
===================================================================
--- trunk/src/www/reporting/usersummary.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/usersummary.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -57,7 +57,7 @@
 $l[]='1';
 $l[]='2';
 
-echo report_header(_('User Summary Report'));
+report_header(_('User Summary Report'));
 
 	?>
 	<h2><?php echo _('User Summary Report'); ?></h2>
@@ -167,7 +167,7 @@
 
 }
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/usertime.php
===================================================================
--- trunk/src/www/reporting/usertime.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/usertime.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -49,7 +47,7 @@
 }
 
 
-echo report_header(_('User Time Reporting'));
+report_header(_('User Time Reporting'));
 
 $abc_array = array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
 echo '<p>';
@@ -115,7 +113,7 @@
 
 }
 
-echo report_footer();
+report_footer();
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/reporting/usertime_graph.php
===================================================================
--- trunk/src/www/reporting/usertime_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/reporting/usertime_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -48,8 +46,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage());
 }
 
 // XXX ogi: Isn't it $type?

Modified: trunk/src/www/scm/admin/index.php
===================================================================
--- trunk/src/www/scm/admin/index.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/scm/admin/index.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -1,26 +1,24 @@
 <?php
 /**
- * GForge SCM Frontend
+ * SCM Frontend
  *
- * Copyright 2004 (c) Roland Mas, GForge LLC
+ * Copyright 2004 (c) Roland Mas, Tim Perdue GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2004-05-19
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -36,8 +34,6 @@
 // Check permissions
 session_require_perm ('project_admin', $group_id) ;
 
-scm_header(array('title'=>_('SCM Repository'),'group'=>$group_id));
-
 if (getStringFromRequest('submit')) {
 	$hook_params = array ();
 	$hook_params['group_id'] = $group_id;
@@ -76,6 +72,7 @@
 	plugin_hook ("scm_admin_update", $hook_params);
 }
 
+scm_header(array('title'=>_('SCM Repository'),'group'=>$group_id));
 ?>
 <form action="<?php echo getStringFromServer('PHP_SELF'); ?>">
 <?php

Modified: trunk/src/www/scm/browser.php
===================================================================
--- trunk/src/www/scm/browser.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/scm/browser.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -1,27 +1,26 @@
 <?php
 /**
- * GForge SCM Frontend
+ * SCM Frontend
  *
- * Copyright 2004, GForge LLC
+ * Copyright 2004, Tim Perdue -GForge LLC
  * Copyright 2004-2009, Roland Mas
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2004-05-19
  *
- * This file is part of GForge.
+ * This file is part of FusionForge.
  *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 

Modified: trunk/src/www/scm/include/scm_utils.php
===================================================================
--- trunk/src/www/scm/include/scm_utils.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/scm/include/scm_utils.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -26,18 +26,18 @@
 function scm_header($params) {
 	global $HTML;
 	if (!forge_get_config('use_scm')) {
-		exit_disabled('home');
+		exit_disabled();
 	}
 
 	$project =& group_get_object($params['group']);
 	if (!$project || !is_object($project)) {
 		exit_no_group();
 	} elseif ($project->isError()) {
-		exit_error($project->getErrorMessage(),'home');
+		exit_error($project->getErrorMessage(),'scm');
 	}
 
 	if (!$project->usesSCM()) {
-		exit_disabled('home');
+		exit_disabled();
 	}
 	site_project_header(array('title'=>_('SCM Repository'),'group'=>$params['group'],'toptab'=>'scm',));
 	/*
@@ -59,7 +59,7 @@
 				);
 		}
 	}
-	echo '<div class="scm" style="width:99%">';
+	echo '<div class="scm">';
 }
 
 function scm_footer() {

Modified: trunk/src/www/scm/index.php
===================================================================
--- trunk/src/www/scm/index.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/scm/index.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -1,26 +1,23 @@
 <?php
 /**
- * GForge SCM Frontend
+ * SCM Frontend
  *
- * Copyright 2004 (c) Roland Mas, GForge LLC
+ * Copyright 2004 (c) Roland Mas, Tim Perdue -GForge LLC
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2004-05-19
+ * This file is part of Fusionforge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * Fusionforge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * Fusionforge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with Fusionforge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 

Modified: trunk/src/www/scm/reporting/commits_graph.php
===================================================================
--- trunk/src/www/scm/reporting/commits_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/scm/reporting/commits_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -39,7 +39,7 @@
 //	Check for error, such as license key problem
 //
 if ($report->isError()) {
-	exit_error($report->getErrorMessage(),'home');
+	exit_error($report->getErrorMessage(),'scm');
 }
 
 $group_id = getIntFromRequest('group_id');
@@ -76,7 +76,7 @@
 			       $group_id));
 
 if (db_error()) {
-	exit_error(db_error(),'home');
+	exit_error(db_error(),'scm');
 }
 
 // Create the graph. These two calls are always required

Modified: trunk/src/www/scm/reporting/commitstime_graph.php
===================================================================
--- trunk/src/www/scm/reporting/commitstime_graph.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/scm/reporting/commitstime_graph.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -2,25 +2,23 @@
 /**
  * Reporting System
  *
- * Copyright 2004 (c) GForge LLC
+ * Copyright 2003-2004 (c) Tim Perdue - GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2003-03-16
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
@@ -39,15 +37,13 @@
 //      Check for error
 //
 if ($report->isError()) {
-	echo $report->getErrorMessage();
-	exit;
+	exit_error($report->getErrorMessage(),'scm');
 }
 
 $group_id = getIntFromRequest('group_id');
 $g =& group_get_object($group_id);
 if (!$g || !is_object($g)) {
-	echo 'Permission Denied';
-	exit;
+	exit_no_group();
 }
 
 $res = db_query_params ('SELECT month,sum(commits) AS count

Modified: trunk/src/www/scm/reporting/index.php
===================================================================
--- trunk/src/www/scm/reporting/index.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/scm/reporting/index.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -1,26 +1,24 @@
 <?php
 /**
- * GForge SCM Reporting
+ * SCM Reporting
  *
- * Copyright 2005 (c) GForge LLC
+ * Copyright 2004-2005 (c) Tim Perdue - GForge LLC
+ * http://fusionforge.org
  *
- * @author Tim Perdue tim at gforge.org
- * @date 2004-05-19
+ * This file is part of FusionForge.
  *
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 

Modified: trunk/src/www/scm/viewvc.php
===================================================================
--- trunk/src/www/scm/viewvc.php	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/scm/viewvc.php	2010-09-22 15:53:07 UTC (rev 10635)
@@ -39,7 +39,7 @@
 require_once $gfwww.'scm/include/viewvc_utils.php';
 
 if (!forge_get_config('use_scm')) {
-	exit_disabled('home');
+	exit_disabled();
 }
 
 // Get the project name from query
@@ -65,10 +65,10 @@
 if (!$Group || !is_object($Group)) {
 	exit_no_group();
 } else if ( $Group->isError()) {
-	exit_error($Group->getErrorMessage(),'home');
+	exit_error($Group->getErrorMessage(),'summary');
 }
 if (!$Group->usesSCM()) {
-	exit_disabled('home');
+	exit_disabled();
 }
 
 // check if the scm_box is located in another server
@@ -77,7 +77,7 @@
 $external_scm = !$sys_scm_single_host;
 
 if (!forge_check_perm ('scm', $group->getID(), 'read')) {
-	exit_permission_denied('home');
+	exit_permission_denied('scm');
 }
 
 if ($external_scm) {

Modified: trunk/src/www/themes/gforge/css/theme.css
===================================================================
--- trunk/src/www/themes/gforge/css/theme.css	2010-09-22 15:23:16 UTC (rev 10634)
+++ trunk/src/www/themes/gforge/css/theme.css	2010-09-22 15:53:07 UTC (rev 10635)
@@ -324,12 +324,8 @@
     -moz-border-radius: 3px;
 }
 
-/* artifact
------------ */
-.artifactmessage {
-    width: 100%;
-    background: white;
-    border: 0px;
-    height: 100px;
-
+/* scm
+----------------------------------------------- */
+.scm {
+    width: 99%;
 }




More information about the Fusionforge-commits mailing list