[evolvis-commits] r15932: exit functions migration & licence

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Mar 1 00:40:16 CET 2011


Author: mirabilos
Date: 2011-03-01 00:40:16 +0100 (Tue, 01 Mar 2011)
New Revision: 15932

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/admin/index.php
   trunk/gforge_base/evolvisforge-5.1/src/www/softwaremap/index.php
   trunk/gforge_base/evolvisforge-5.1/src/www/stats/graphs.php
   trunk/gforge_base/evolvisforge-5.1/src/www/stats/i18n.php
   trunk/gforge_base/evolvisforge-5.1/src/www/stats/index.php
   trunk/gforge_base/evolvisforge-5.1/src/www/stats/lastlogins.php
   trunk/gforge_base/evolvisforge-5.1/src/www/stats/projects.php
   trunk/gforge_base/evolvisforge-5.1/src/www/stats/site_stats_utils.php
   trunk/gforge_base/evolvisforge-5.1/src/www/stats/users_graph.php
   trunk/gforge_base/evolvisforge-5.1/src/www/stats/views_graph.php
Log:
exit functions migration & licence

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/admin/index.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/admin/index.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/admin/index.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -1,6 +1,6 @@
 <?php
 /**
- * GForge Site Admin main page
+ * Site Admin main page
  *
  * This pages lists all global administration facilities for the
  * site, including user/group properties editing, maintanance of
@@ -8,21 +8,23 @@
  * etc.
  *
  * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2010 (c) FusionForge Team
+ * 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  USA
  */
 

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/softwaremap/index.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/softwaremap/index.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/softwaremap/index.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -1,20 +1,34 @@
 <?php
 /**
-  *
-  * SourceForge Trove Software Map
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  */
+ * Trove Software Map
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * copyright 2010 (c) Franck Villaume - Capgemini
+ * http://fusionforge.org
+ *
+ * This file is part of FusionForge.
+ *
+ * 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.
+ *
+ * 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 FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 if ($GLOBALS['sys_use_project_tags']) {
-	header('Location: '.util_make_url('softwaremap/tag_cloud.php'));
+	session_redirect('softwaremap/tag_cloud.php');
 }elseif (forge_get_config('use_trove')){
-	header('Location: '.util_make_url('softwaremap/trove_list.php'));
+	session_redirect('softwaremap/trove_list.php');
 }else{
-header('Location: '.util_make_url('softwaremap/full_list.php'));
+	session_redirect('softwaremap/full_list.php');
 }?>

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/stats/graphs.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/stats/graphs.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/stats/graphs.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -1,13 +1,28 @@
 <?php
 /**
-  *
-  * SourceForge Sitewide Statistics
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  */
+ * Sitewide Statistics
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2010 (c) FusionForge Team
+ * http://fusionforge.org
+ *
+ * This file is part of FusionForge.
+ *
+ * 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.
+ *
+ * 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 FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 require_once $gfwww.'stats/site_stats_utils.php';
@@ -16,9 +31,7 @@
 
 $HTML->header(array('title'=>sprintf(_('%1$s Site Statistics'), forge_get_config ('forge_name'))));
 
-echo "\n\n";
-
-print '<h1>'._('Sitewide Statistics Graphs').'</h1>' . "\n";
+print '<h1>'._('Sitewide Statistics Graphs').'</h1>';
 print '<div align="center">' . "\n";
 ?>
 <hr />

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/stats/i18n.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/stats/i18n.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/stats/i18n.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -1,13 +1,28 @@
 <?php
 /**
-  *
-  * SourceForge Sitewide Statistics
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  */
+ * Sitewide Statistics
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2010 (c) FusionForge Team
+ * http://fusionforge.org
+ *
+ * This file is part of FusionForge.
+ *
+ * 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.
+ *
+ * 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 FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 require_once $gfwww.'stats/site_stats_utils.php';

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/stats/index.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/stats/index.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/stats/index.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -1,15 +1,28 @@
 <?php
 /**
-  *
-  * SourceForge Sitewide Statistics
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  */
+ * Sitewide Statistics
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2010 (c) FusionForge Team
+ * http://fusionforge.org
+ *
+ * This file is part of FusionForge.
+ *
+ * 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.
+ *
+ * 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 FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
-
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 require_once $gfwww.'stats/site_stats_utils.php';
@@ -22,9 +35,7 @@
 // BEGIN PAGE CONTENT CODE
 //
 
-echo "\n\n";
-
-print '<h1>'._('Sitewide aggregate statistics').'</h1>' . "\n";
+print '<h1>'._('Sitewide aggregate statistics').'</h1>';
 ?>
 
 <hr />

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/stats/lastlogins.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/stats/lastlogins.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/stats/lastlogins.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -38,7 +38,7 @@
 			       50);
 
 if (!$res_logins || db_numrows($res_logins) < 1) {
-	exit_error(_('No records found","Database error: "').db_error(),'home');
+	exit_error(_('No records found","Database error: "').db_error());
 }
 
 $HTML->header(array('title'=>_('Last Logins')));

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/stats/projects.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/stats/projects.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/stats/projects.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -1,16 +1,28 @@
 <?php
 /**
-  *
-  * SourceForge Sitewide Statistics
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  */
+ * Sitewide Statistics
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2010 (c) FusionForge Team
+ * http://fusionforge.org
+ *
+ * This file is part of FusionForge.
+ *
+ * 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.
+ *
+ * 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 FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
-
-
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 require_once $gfwww.'stats/site_stats_utils.php';

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/stats/site_stats_utils.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/stats/site_stats_utils.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/stats/site_stats_utils.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -1,13 +1,27 @@
 <?php
 /**
-  *
-  * SourceForge Sitewide Statistics - stats common module
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  */
+ * Sitewide Statistics
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2010 (c) FusionForge Team
+ * http://fusionforge.org
+ *
+ * This file is part of FusionForge.
+ *
+ * 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.
+ *
+ * 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 FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 $allowed_orderby_vals = array('downloads',
 			      'site_views',

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/stats/users_graph.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/stats/users_graph.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/stats/users_graph.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -1,15 +1,28 @@
 <?php
 /**
-  *
-  * SourceForge Sitewide Statistics
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  */
+ * Sitewide Statistics
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2010 (c) FusionForge Team
+ * http://fusionforge.org
+ *
+ * This file is part of FusionForge.
+ *
+ * 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.
+ *
+ * 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 FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
-
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 require_once $gfwww.'include/graph_lib.php';

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/stats/views_graph.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/stats/views_graph.php	2011-02-28 23:40:13 UTC (rev 15931)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/stats/views_graph.php	2011-02-28 23:40:16 UTC (rev 15932)
@@ -1,15 +1,28 @@
 <?php
 /**
-  *
-  * SourceForge Sitewide Statistics - stats common module
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  */
+ * Sitewide Statistics
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2010 (c) FusionForge Team
+ * http://fusionforge.org
+ *
+ * This file is part of FusionForge.
+ *
+ * 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.
+ *
+ * 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 FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
-
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 require_once $gfwww.'include/graph_lib.php';



More information about the evolvis-commits mailing list