[Fusionforge-commits] r10482 - trunk/src/www/pm

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Sep 15 17:21:07 CEST 2010


Author: nerville
Date: 2010-09-15 17:21:06 +0200 (Wed, 15 Sep 2010)
New Revision: 10482

Modified:
   trunk/src/www/pm/browse_task.php
Log:
fix commit 10473

Modified: trunk/src/www/pm/browse_task.php
===================================================================
--- trunk/src/www/pm/browse_task.php	2010-09-15 15:07:01 UTC (rev 10481)
+++ trunk/src/www/pm/browse_task.php	2010-09-15 15:21:06 UTC (rev 10482)
@@ -1,20 +1,30 @@
 <?php
 /**
- * GForge Project Management Facility
+ * FusionForge : Project Management Facility
  *
- * Copyright 2002 GForge, LLC
- * http://gforge.org/
+ * Copyright 1999-2001 (c) VA Linux Systems, Tim Perdue
+ * Copyright 2002 GForge, LLC, Tim Perdue
+ * Copyright 2010, 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
  */
-/*
 
-	Tasks
-	By Tim Perdue, Sourceforge, 11/99
-	Heavy rewrite by Tim Perdue April 2000
-
-	Total rewrite in OO and GForge coding guidelines 12/2002 by Tim Perdue
-*/
-
+require_once $gfcommon.'include/UserManager.class.php';
 require_once $gfcommon.'pm/ProjectTaskFactory.class.php';
 //build page title to make bookmarking easier
 //if a user was selected, add the user_name to the title
@@ -45,6 +55,7 @@
 
 $paging = 0;
 if (session_loggedin()) {
+    $u = UserManager::instance()->getCurrentUser();
 	if (getStringFromRequest('setpaging')) {
 		/* store paging preferences */
 		$paging = getIntFromRequest('nres');




More information about the Fusionforge-commits mailing list