[Fusionforge-commits] r10680 - in trunk/src/www: admin softwaremap stats
Franck VILLAUME
nerville at libremir.placard.fr.eu.org
Sat Sep 25 10:24:06 CEST 2010
Author: nerville
Date: 2010-09-25 10:24:06 +0200 (Sat, 25 Sep 2010)
New Revision: 10680
Modified:
trunk/src/www/admin/index.php
trunk/src/www/softwaremap/index.php
trunk/src/www/stats/graphs.php
trunk/src/www/stats/i18n.php
trunk/src/www/stats/index.php
trunk/src/www/stats/lastlogins.php
trunk/src/www/stats/projects.php
trunk/src/www/stats/site_stats_utils.php
trunk/src/www/stats/users_graph.php
trunk/src/www/stats/views_graph.php
Log:
exit functions migration & licence
Modified: trunk/src/www/admin/index.php
===================================================================
--- trunk/src/www/admin/index.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/admin/index.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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/src/www/softwaremap/index.php
===================================================================
--- trunk/src/www/softwaremap/index.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/softwaremap/index.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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/src/www/stats/graphs.php
===================================================================
--- trunk/src/www/stats/graphs.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/stats/graphs.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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/src/www/stats/i18n.php
===================================================================
--- trunk/src/www/stats/i18n.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/stats/i18n.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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/src/www/stats/index.php
===================================================================
--- trunk/src/www/stats/index.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/stats/index.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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/src/www/stats/lastlogins.php
===================================================================
--- trunk/src/www/stats/lastlogins.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/stats/lastlogins.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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/src/www/stats/projects.php
===================================================================
--- trunk/src/www/stats/projects.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/stats/projects.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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/src/www/stats/site_stats_utils.php
===================================================================
--- trunk/src/www/stats/site_stats_utils.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/stats/site_stats_utils.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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/src/www/stats/users_graph.php
===================================================================
--- trunk/src/www/stats/users_graph.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/stats/users_graph.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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/src/www/stats/views_graph.php
===================================================================
--- trunk/src/www/stats/views_graph.php 2010-09-24 20:24:10 UTC (rev 10679)
+++ trunk/src/www/stats/views_graph.php 2010-09-25 08:24:06 UTC (rev 10680)
@@ -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 Fusionforge-commits
mailing list