[Fusionforge-commits] r10713 - in trunk/src/www: my pm/include tracker tracker/admin

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Sun Sep 26 16:29:47 CEST 2010


Author: nerville
Date: 2010-09-26 16:29:46 +0200 (Sun, 26 Sep 2010)
New Revision: 10713

Modified:
   trunk/src/www/my/dashboard.php
   trunk/src/www/pm/include/ProjectTaskHTML.class.php
   trunk/src/www/tracker/admin/form-clonetracker.php
   trunk/src/www/tracker/admin/index.php
   trunk/src/www/tracker/mod.php
Log:
exit functions migration + minor fixes

Modified: trunk/src/www/my/dashboard.php
===================================================================
--- trunk/src/www/my/dashboard.php	2010-09-26 13:59:06 UTC (rev 10712)
+++ trunk/src/www/my/dashboard.php	2010-09-26 14:29:46 UTC (rev 10713)
@@ -145,7 +145,7 @@
 								                	$projectid = $taskinfo['group_project_id'];
 									        	$groupid   = $taskinfo['group_id'];
 											$g =& group_get_object($groupid);
-											$pg = new ProjectGroup($g, $projectid, $arrtasks);
+											$pg = new ProjectGroup($g, $projectid);
 											echo $pg->getName().'<br/>';
      										        $summary   = util_unconvert_htmlspecialchars($taskinfo['summary']);
 											echo '<a href="../pm/task.php?func=detailtask&project_task_id='.$taskid.'&group_id='.$groupid.'&group_project_id='.$projectid.'">';

Modified: trunk/src/www/pm/include/ProjectTaskHTML.class.php
===================================================================
--- trunk/src/www/pm/include/ProjectTaskHTML.class.php	2010-09-26 13:59:06 UTC (rev 10712)
+++ trunk/src/www/pm/include/ProjectTaskHTML.class.php	2010-09-26 14:29:46 UTC (rev 10713)
@@ -105,7 +105,7 @@
 			echo '<h3>'._('Related Tracker Items').'</h3>';
 
 			$title_arr=array();
-			$title_arr[]=_('Task Summary');
+			$title_arr[]=_('Artifact Summary');
 			$title_arr[]=_('Tracker');
 			$title_arr[]=_('Open Date');
 			(($is_admin) ? $title_arr[]=_('Remove Relation') : '');

Modified: trunk/src/www/tracker/admin/form-clonetracker.php
===================================================================
--- trunk/src/www/tracker/admin/form-clonetracker.php	2010-09-26 13:59:06 UTC (rev 10712)
+++ trunk/src/www/tracker/admin/form-clonetracker.php	2010-09-26 14:29:46 UTC (rev 10713)
@@ -3,6 +3,7 @@
  * FusionForge Tracker Cloning Form
  *
  * Copyright 2010, FusionForge Team
+ * http://fusionforge.org
  *
  * This file is part of FusionForge.
  *
@@ -24,15 +25,15 @@
 
 $g =& group_get_object(forge_get_config('template_group'));
 if (!$g || !is_object($g)) {
-	exit_error('Error','Unable to Create Template Group Object');
+	exit_no_group();
 } elseif ($g->isError()) {
-	exit_error('Error',$g->getErrorMessage());
+	exit_error($g->getErrorMessage(),'tracker');
 } else {
 	$atf = new ArtifactTypeFactory($g);
 	if (!$atf || !is_object($atf)) {
-		exit_error('Error','Unable to Create Template Group Object');
+		exit_error(_('Unable to Create Template Group Object'),'tracker');
 	} elseif ($atf->isError()) {
-		exit_error('Error',$atf->atfetErrorMessaatfe());
+		exit_error($atf->getErrorMessage(),'tracker');
 	} else {
 		$ata = & $atf->getArtifactTypes();
 		$ids = array();

Modified: trunk/src/www/tracker/admin/index.php
===================================================================
--- trunk/src/www/tracker/admin/index.php	2010-09-26 13:59:06 UTC (rev 10712)
+++ trunk/src/www/tracker/admin/index.php	2010-09-26 14:29:46 UTC (rev 10713)
@@ -50,7 +50,7 @@
 	if($group->isPermissionDeniedError()) {
 		exit_permission_denied($group->getErrorMessage(),'tracker');
 	} else {
-		exit_error($group->getErrorMessage(),'home');
+		exit_error($group->getErrorMessage(),'tracker');
 	}
 }
 
@@ -84,7 +84,7 @@
 				 array ('',
 					$ath->getID()));
 		echo db_error();
-		$feedback .= 'Renderer Deleted';
+		$feedback .= _('Renderer Deleted');
 		$next = 'add_extrafield';
 	}
 

Modified: trunk/src/www/tracker/mod.php
===================================================================
--- trunk/src/www/tracker/mod.php	2010-09-26 13:59:06 UTC (rev 10712)
+++ trunk/src/www/tracker/mod.php	2010-09-26 14:29:46 UTC (rev 10713)
@@ -1,12 +1,26 @@
 <?php
 /**
-  * SourceForge Generic Tracker facility
-  *
-  * SourceForge: Breaking Down the Barriers to Open Source Development
-  * Copyright 1999-2001 (c) VA Linux Systems
-  * http://sourceforge.net
-  *
-  */
+ * Tracker Facility
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * 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
+ */
 
 $ath->header(array 
 	     ('title' => _('Modify').' [#'.$ah->getID(). '] ' 




More information about the Fusionforge-commits mailing list