[Fusionforge-commits] r10748 - in trunk/src/www: themes/funky/css tracker tracker/admin

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Tue Sep 28 13:09:26 CEST 2010


Author: nerville
Date: 2010-09-28 13:09:26 +0200 (Tue, 28 Sep 2010)
New Revision: 10748

Modified:
   trunk/src/www/themes/funky/css/theme.css
   trunk/src/www/tracker/admin/form-addcanned.php
   trunk/src/www/tracker/admin/form-addextrafield.php
   trunk/src/www/tracker/admin/form-addextrafieldoption.php
   trunk/src/www/tracker/admin/form-deleteextrafield.php
   trunk/src/www/tracker/admin/form-deleteextrafieldelement.php
   trunk/src/www/tracker/admin/form-deletetracker.php
   trunk/src/www/tracker/admin/form-extrafieldcopy.php
   trunk/src/www/tracker/admin/form-updatecanned.php
   trunk/src/www/tracker/admin/form-updateextrafield.php
   trunk/src/www/tracker/admin/form-updateextrafieldelement.php
   trunk/src/www/tracker/admin/form-updatetracker.php
   trunk/src/www/tracker/admin/form-uploadtemplate.php
   trunk/src/www/tracker/admin/form-workflow.php
   trunk/src/www/tracker/admin/form-workflow_roles.php
   trunk/src/www/tracker/admin/ind.php
   trunk/src/www/tracker/admin/tracker.php
   trunk/src/www/tracker/admin/updates.php
   trunk/src/www/tracker/browse.php
Log:
exit functions migration

Modified: trunk/src/www/themes/funky/css/theme.css
===================================================================
--- trunk/src/www/themes/funky/css/theme.css	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/themes/funky/css/theme.css	2010-09-28 11:09:26 UTC (rev 10748)
@@ -754,7 +754,7 @@
     margin-left: 3px;
 }
 
-.warning_msg, .warning {
+.warning_msg, .warning, .tips {
     border-width: 1px;
     border-style: solid;
     background-color: #ffd297; /* orange */

Modified: trunk/src/www/tracker/admin/form-addcanned.php
===================================================================
--- trunk/src/www/tracker/admin/form-addcanned.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-addcanned.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,4 +1,26 @@
 <?php
+/**
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 //
 //  FORM TO ADD CANNED RESPONSES
 //

Modified: trunk/src/www/tracker/admin/form-addextrafield.php
===================================================================
--- trunk/src/www/tracker/admin/form-addextrafield.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-addextrafield.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,4 +1,27 @@
 <?php
+/**
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+
 //
 //  FORM TO BUILD SELECTION BOXES 
 //

Modified: trunk/src/www/tracker/admin/form-addextrafieldoption.php
===================================================================
--- trunk/src/www/tracker/admin/form-addextrafieldoption.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-addextrafieldoption.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,14 +1,36 @@
 <?php
+/**
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
+
 //
 //  FORM TO ADD ELEMENTS TO EXTRA FIELD
 //
 	$boxid = getIntFromRequest('boxid');
 	$ac = new ArtifactExtraField($ath,$boxid);
 	if (!$ac || !is_object($ac)) {
-		exit_error('Error','Unable to create ArtifactExtraField Object');
+		exit_error(_('Unable to create ArtifactExtraField Object'),'tracker');
 	} elseif ($ac->isError()) {
-		exit_error('Error',$ac->getErrorMessage());
+		exit_error($ac->getErrorMessage(),'tracker');
 	} else {
 	  	$efearr=$ath->getExtraFieldElements($boxid);
 		$title = sprintf(_('Add/Update Custom Field Elements in %s'), $ath->getName());

Modified: trunk/src/www/tracker/admin/form-deleteextrafield.php
===================================================================
--- trunk/src/www/tracker/admin/form-deleteextrafield.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-deleteextrafield.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,5 +1,27 @@
 <?php
+/**
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
+
 $ath->adminHeader(array ('title'=>sprintf(_('Delete a custom field for %s'),$ath->getName())));
 
 		$id = getStringFromRequest('id');

Modified: trunk/src/www/tracker/admin/form-deleteextrafieldelement.php
===================================================================
--- trunk/src/www/tracker/admin/form-deleteextrafieldelement.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-deleteextrafieldelement.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,4 +1,27 @@
 <?php
+/**
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+
 //
 //  FORM TO DELETE POP-UP CHOICES FOR A BOX
 //
@@ -8,16 +31,16 @@
 	$boxid = getIntFromRequest('boxid');
 	$ac = new ArtifactExtraField($ath,$boxid);
 	if (!$ac || !is_object($ac)) {
-		exit_error('Error','Unable to create ArtifactExtraField Object');
+		exit_error(_('Unable to create ArtifactExtraField Object'),'tracker');
 	} elseif ($ac->isError()) {
-		exit_error('Error',$ac->getErrorMessage());
+		exit_error($ac->getErrorMessage(),'tracker');
 	} else {
 		$id = getStringFromRequest('id');
 		$ao = new ArtifactExtraFieldElement($ac,$id);
 		if (!$ao || !is_object($ao)) {
-			exit_error('Error','Unable to create ArtifactExtraFieldElement Object');
+			exit_error(_('Unable to create ArtifactExtraFieldElement Object'),'tracker');
 		} elseif ($ao->isError()) {
-			exit_error('Error',$ao->getErrorMessage());
+			exit_error($ao->getErrorMessage(),'tracker');
 		} else {
 			$title = sprintf(_('Remove a custom field element in %s'), $ath->getName()) ;
 			$ath->adminHeader(array('title'=>$title));

Modified: trunk/src/www/tracker/admin/form-deletetracker.php
===================================================================
--- trunk/src/www/tracker/admin/form-deletetracker.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-deletetracker.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,5 +1,27 @@
 <?php
+/*
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
+
 $ath->adminHeader(array ('title'=>sprintf(_('Delete tracker %s'), $ath->getName())));
 
 		?>

Modified: trunk/src/www/tracker/admin/form-extrafieldcopy.php
===================================================================
--- trunk/src/www/tracker/admin/form-extrafieldcopy.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-extrafieldcopy.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,5 +1,27 @@
 <?php
+/*
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
+
 //
 //  FORM TO COPY Choices configured by admin for extra_field BOXES 
 //
@@ -28,7 +50,7 @@
 			       user_getid(),
 			       $id));
 		if (db_numrows($res) < 1) {
-			exit_error('Cannot find a destination tracker where you have administration rights.');
+			exit_error(_('Cannot find a destination tracker where you have administration rights.'),'tracker');
 		}
 		
 		$title = sprintf(_('Copy choices from custom field %1$s'), $fb->getName());

Modified: trunk/src/www/tracker/admin/form-updatecanned.php
===================================================================
--- trunk/src/www/tracker/admin/form-updatecanned.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-updatecanned.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,4 +1,27 @@
 <?php
+/*
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+
 //
 //	FORM TO UPDATE CANNED MESSAGES
 //

Modified: trunk/src/www/tracker/admin/form-updateextrafield.php
===================================================================
--- trunk/src/www/tracker/admin/form-updateextrafield.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-updateextrafield.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -24,63 +24,67 @@
 //
 //  FORM TO UPDATE POP-UP BOXES
 //
-		/*
-			Allow modification of a artifact Selection Box
-		*/
+/*
+	Allow modification of a artifact Selection Box
+*/
 $title = sprintf(_('Modify a custom field in %s'),$ath->getName());
 $ath->adminHeader(array('title'=>$title));
 
 echo '<h1>'.$title.'</h1>';
 
-		$id = getStringFromRequest('id');
-		$ac = new ArtifactExtraField($ath,$id);
-		if (!$ac || !is_object($ac)) {
-			$feedback .= 'Unable to create ArtifactExtraField Object';
-		} elseif ($ac->isError()) {
-			$feedback .= $ac->getErrorMessage();
-		} else {
-			?>
-			<p>
-			<strong><?php echo _('Type of custom field').': '.$ac->getTypeName(); ?></strong></p>
-			
-			<form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&amp;id='.$id.'&amp;atid='.$ath->getID(); ?>" method="post">
-			<input type="hidden" name="update_box" value="y" />
-			<input type="hidden" name="id" value="<?php echo $ac->getID(); ?>" />
-			<p>
-			<strong><?php echo _('Custom Field Name') ?>:</strong><br />
-			<input type="text" name="name" value="<?php echo $ac->getName(); ?>" /></p>
-		<p>
+$id = getStringFromRequest('id');
+$ac = new ArtifactExtraField($ath,$id);
+if (!$ac || !is_object($ac)) {
+	$error_msg .= _('Unable to create ArtifactExtraField Object');
+} elseif ($ac->isError()) {
+	$error_msg .= $ac->getErrorMessage();
+} else {
+?>
+<p>
+<strong><?php echo _('Type of custom field').': '.$ac->getTypeName(); ?></strong></p>
+
+<form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&amp;id='.$id.'&amp;atid='.$ath->getID(); ?>" method="post">
+	<input type="hidden" name="update_box" value="y" />
+	<input type="hidden" name="id" value="<?php echo $ac->getID(); ?>" />
+	<p>
+		<strong><?php echo _('Custom Field Name') ?>:</strong><br />
+        <input type="text" name="name" value="<?php echo $ac->getName(); ?>" />
+    </p>
+	<p>
 		<?php if ($ac->getType() == ARTIFACT_EXTRAFIELDTYPE_TEXTAREA) { ?>
-			<b><?php echo _('Text Area Rows'); ?></b><br />
-			<input type="text" name="attribute1" value="<?php echo $ac->getAttribute1(); ?>" size="2" maxlength="2" />
-			</p><p>
-			<b><?php echo _('Text Area Columns'); ?></b><br />
-			<input type="text" name="attribute2" value="<?php echo $ac->getAttribute2(); ?>" size="2" maxlength="2" />
+		<b><?php echo _('Text Area Rows'); ?></b><br />
+		<input type="text" name="attribute1" value="<?php echo $ac->getAttribute1(); ?>" size="2" maxlength="2" />
+    </p>
+    <p>
+		<b><?php echo _('Text Area Columns'); ?></b><br />
+		<input type="text" name="attribute2" value="<?php echo $ac->getAttribute2(); ?>" size="2" maxlength="2" />
 		<?php } elseif ($ac->getType() == ARTIFACT_EXTRAFIELDTYPE_TEXT || $ac->getType() == ARTIFACT_EXTRAFIELDTYPE_RELATION) {?>
-			<b><?php echo _('Text Field Size'); ?></b><br />
-			<input type="text" name="attribute1" value="<?php echo $ac->getAttribute1(); ?>" size="2" maxlength="2" />
-			</p><p>
-			<b><?php echo _('Text Field Maxlength'); ?></b><br />
-			<input type="text" name="attribute2" value="<?php echo $ac->getAttribute2(); ?>" size="2" maxlength="2" />
+		<b><?php echo _('Text Field Size'); ?></b><br />
+		<input type="text" name="attribute1" value="<?php echo $ac->getAttribute1(); ?>" size="2" maxlength="2" />
+    </p>
+    <p>
+		<b><?php echo _('Text Field Maxlength'); ?></b><br />
+		<input type="text" name="attribute2" value="<?php echo $ac->getAttribute2(); ?>" size="2" maxlength="2" />
 		<?php } else { ?>
-			<input type="hidden" name="attribute1" value="0" />
-			<input type="hidden" name="attribute2" value="0" />
+		<input type="hidden" name="attribute1" value="0" />
+		<input type="hidden" name="attribute2" value="0" />
 		<?php } ?>
-			</p>
-			<p>
-			<strong><?php echo _('Field alias') ?>:</strong><br />
-			<input type="text" name="alias" value="<?php echo $ac->getAlias(); ?>" />
-			</p>
-			<p><input type="checkbox" name="is_required" <?php if ($ac->isRequired()) echo "checked=\"checked\""; ?> /><?php echo _('Field is mandatory')?></p>
-			<div class="warning"><?php echo _('It is not recommended that you change the custom field name because other things are dependent upon it. When you change the custom field name, all related items will be changed to the new name') ?>
-			</div>
-			<p>
-			<input type="submit" name="post_changes" value="<?php echo _('Submit') ?>" /></p>
-			</form>
-			<?php
-		}
+	</p>
+	<p>
+		<strong><?php echo _('Field alias') ?>:</strong><br />
+		<input type="text" name="alias" value="<?php echo $ac->getAlias(); ?>" />
+	</p>
+	<p><input type="checkbox" name="is_required" <?php if ($ac->isRequired()) echo "checked=\"checked\""; ?> /><?php echo _('Field is mandatory')?></p>
+	<div class="warning"><?php echo _('It is not recommended that you change the custom field name because other things are dependent upon it. When you change the custom field name, all related items will be changed to the new name') ?>
+	</div>
+	<p>
+        <input type="submit" name="post_changes" value="<?php echo _('Submit') ?>" />
+    </p>
+</form>
+<?php
+}
 
-		$ath->footer(array());
+$ath->footer(array());
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/tracker/admin/form-updateextrafieldelement.php
===================================================================
--- trunk/src/www/tracker/admin/form-updateextrafieldelement.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-updateextrafieldelement.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,31 +1,53 @@
 <?php
+/**
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 //
 //  FORM TO UPDATE POP-UP CHOICES FOR A BOX
 //
-	/*
-		Allow modification of a Choice for a Pop-up Box
-	*/
-	$boxid = getIntFromRequest('boxid');
-	$ac = new ArtifactExtraField($ath,$boxid);
-	if (!$ac || !is_object($ac)) {
-		exit_error('Error','Unable to create ArtifactExtraField Object');
-	} elseif ($ac->isError()) {
-		exit_error('Error',$ac->getErrorMessage());
+/*
+	Allow modification of a Choice for a Pop-up Box
+*/
+$boxid = getIntFromRequest('boxid');
+$ac = new ArtifactExtraField($ath,$boxid);
+if (!$ac || !is_object($ac)) {
+	exit_error(_('Unable to create ArtifactExtraField Object'),'tracker');
+} elseif ($ac->isError()) {
+	exit_error($ac->getErrorMessage(),'tracker');
+} else {
+	$id = getStringFromRequest('id');
+	$ao = new ArtifactExtraFieldElement($ac,$id);
+	if (!$ao || !is_object($ao)) {
+		exit_error(_('Unable to create ArtifactExtraFieldElement Object'),'tracker');
+	} elseif ($ao->isError()) {
+		exit_error($ao->getErrorMessage(),'tracker');
 	} else {
-		$id = getStringFromRequest('id');
-		$ao = new ArtifactExtraFieldElement($ac,$id);
-		if (!$ao || !is_object($ao)) {
-			exit_error('Error','Unable to create ArtifactExtraFieldElement Object');
-		} elseif ($ao->isError()) {
-			exit_error('Error',$ao->getErrorMessage());
-		} else {
-			$title = sprintf(_('Modify a custom field element in %s'), $ath->getName()) ;
-			$ath->adminHeader(array('title'=>$title));
+		$title = sprintf(_('Modify a custom field element in %s'), $ath->getName()) ;
+		$ath->adminHeader(array('title'=>$title));
 
-			echo '
-				<h2>'.$title.'</h2>';
+		echo '
+			<h2>'.$title.'</h2>';
 
-			?>
+?>
 			<form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&amp;atid='.$ath->getID(); ?>" method="post">
 			<input type="hidden" name="update_opt" value="y" />
 			<input type="hidden" name="id" value="<?php echo $ao->getID(); ?>" />
@@ -49,8 +71,8 @@
 			</form>
 			<?php
 			$ath->footer(array());
-		}
 	}
+}
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/tracker/admin/form-updatetracker.php
===================================================================
--- trunk/src/www/tracker/admin/form-updatetracker.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-updatetracker.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,4 +1,26 @@
 <?php
+/*
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 //
 //	FORM TO UPDATE ARTIFACT TYPES
 //

Modified: trunk/src/www/tracker/admin/form-uploadtemplate.php
===================================================================
--- trunk/src/www/tracker/admin/form-uploadtemplate.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-uploadtemplate.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,5 +1,27 @@
 <?php
+/*
+ * Tracker Facility
+ *
+ * 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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
+
 $title = sprintf(_('Add/Update template for %s'), $ath->getName()) ;
 
 $ath->adminHeader(array('title'=>$title));

Modified: trunk/src/www/tracker/admin/form-workflow.php
===================================================================
--- trunk/src/www/tracker/admin/form-workflow.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-workflow.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,9 +1,9 @@
 <?php
-
 /**
- * FusionForge Update Artifact Type Form
+ * Update Artifact Type Form
  *
  * Copyright 2010, FusionForge Team
+ * http://fusionforge.org
  *
  * This file is part of FusionForge.
  *
@@ -34,7 +34,7 @@
 } elseif (count($efarr) !== 1) {
 	// Internal error.
 	$has_error = true;
-   	$error_msg .= 'Internal error: Illegal number of status fields (WKFL01).';
+   	$error_msg .= _('Internal error: Illegal number of status fields (WKFL01).');
 }
     	
 $ath->adminHeader(array ('title'=> _('Configure workflow'),'pagename'=>'tracker_admin_customize_liste','titlevals'=>array($ath->getName())));

Modified: trunk/src/www/tracker/admin/form-workflow_roles.php
===================================================================
--- trunk/src/www/tracker/admin/form-workflow_roles.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/form-workflow_roles.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,5 +1,29 @@
 <?php
+/**
+ * Workflow Form
+ *
+ * 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
+ */
 
+
 require_once('common/tracker/ArtifactWorkflow.class.php');
 
 		$from = getIntFromRequest('from');

Modified: trunk/src/www/tracker/admin/ind.php
===================================================================
--- trunk/src/www/tracker/admin/ind.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/ind.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -73,7 +73,7 @@
 }
 // If no more tracker now,
 if ($i==0 && $j>0) {
-	exit_permission_denied();
+	exit_permission_denied('','tracker');
 }
 
 //required params for site_project_header();
@@ -85,7 +85,7 @@
 	$params['title'] = '';
 }
 
-echo site_project_header($params);
+site_project_header($params);
 echo $HTML->subMenu(
 	array(
 		_('Report'),
@@ -164,7 +164,7 @@
 	<?php
 	}
 
-	echo site_project_footer(array());
+site_project_footer(array());
 
 // Local Variables:
 // mode: php

Modified: trunk/src/www/tracker/admin/tracker.php
===================================================================
--- trunk/src/www/tracker/admin/tracker.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/tracker.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -1,4 +1,28 @@
 <?php
+/**
+ * Tracker Links
+ *
+ * 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
+ */
+
 //
 //  SHOW LINKS TO FUNCTIONS
 //

Modified: trunk/src/www/tracker/admin/updates.php
===================================================================
--- trunk/src/www/tracker/admin/updates.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/admin/updates.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -3,6 +3,7 @@
  * Tracker Facility
  *
  * Copyright 2010 (c) FusionForge Team
+ * Copyright 2010 (c) Franck Villaume - Capgemini
  * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -40,7 +41,7 @@
 //				$feedback .= $ab->getErrorMessage();			
 			} else {
 				if (!$ab->create($name,$field_type,$attribute1,$attribute2,$is_required,$alias)) {
-					$feedback .= _('Error inserting a custom field').': '.$ab->getErrorMessage();
+					$error_msg .= _('Error inserting a custom field').': '.$ab->getErrorMessage();
 					$ab->clearError();
 				} else {
 					$feedback .= _('Extra field inserted');
@@ -54,14 +55,14 @@
 			$ab = new ArtifactExtraField($ath,$id);
 		
 			if (!$ab || !is_object($ab)) {
-				$feedback .= _('Unable to create ArtifactExtraField Object');
+				$error_msg .= _('Unable to create ArtifactExtraField Object');
 			} elseif ($ab->isError()) {
-				$feedback .= $ab->getErrorMessage();			
+				$error_msg .= $ab->getErrorMessage();			
 			} else {
 				$sure = getStringFromRequest('sure');
 				$really_sure = getStringFromRequest('really_sure');
 				if (!$ab->delete($sure,$really_sure)) {
-					$feedback .= $ab->getErrorMessage();
+					$error_msg .= $ab->getErrorMessage();
 				} else {
 					$browse_list = $ath->getBrowseList();
 					$arr = explode(',', $browse_list);
@@ -72,8 +73,7 @@
 					$ath->setBrowseList(join(',', $arr));
 					$feedback .= _('Custom Field Deleted');
 					$deleteextrafield=false;
-					header ("Location: /tracker/admin/?group_id=${group_id}&atid=$atid&add_extrafield=1&feedback=".urlencode($feedback));
-					exit;
+					session_redirect('/tracker/admin/?group_id='.$group_id.'&atid='.$atid.'&add_extrafield=1&feedback='.urlencode($feedback));
 				}
 			}
 
@@ -84,20 +84,20 @@
 			$boxid = getStringFromRequest('boxid');
 			$ab = new ArtifactExtraField($ath,$boxid);
 			if (!$ab || !is_object($ab)) {
-				$feedback .= _('Unable to create ArtifactExtraField Object');
+				$error_msg .= _('Unable to create ArtifactExtraField Object');
 			} elseif ($ab->isError()) {
-				$feedback .= $ab->getErrorMessage();			
+				$error_msg .= $ab->getErrorMessage();			
 			} else {
 				$ao = new ArtifactExtraFieldElement($ab);
 				if (!$ao || !is_object($ao)) {
-					$feedback .= 'Unable to create ArtifactExtraFieldElement Object';
+					$error_msg .= 'Unable to create ArtifactExtraFieldElement Object';
 //				} elseif ($ao->isError())
 //					$feedback .= $ao->getErrorMessage();			
 				} else {
 					$name = getStringFromRequest('name');
 					$status_id = getIntFromRequest('status_id');
 					if (!$ao->create($name,$status_id)) {
-						$feedback .= _('Error inserting an element').': '.$ao->getErrorMessage();
+						$error_msg .= _('Error inserting an element').': '.$ao->getErrorMessage();
 						$ao->clearError();
 					} else {
 						$feedback .= _('Element inserted');
@@ -114,12 +114,12 @@
 
 			$acr = new ArtifactCanned($ath);
 			if (!$acr || !is_object($acr)) {
-				$feedback .= _('Unable to create ArtifactCanned Object');
+				$error_msg .= _('Unable to create ArtifactCanned Object');
 //			} elseif ($acr->isError()) {
 //				$feedback .= $acr->getErrorMessage();			
 			} else { 
 				if (!$acr->create($title,$body)) {
-					$feedback .= _('Error inserting').' : '.$acr->getErrorMessage();
+					$error_msg .= _('Error inserting').' : '.$acr->getErrorMessage();
 					$acr->clearError();
 				} else {
 					$feedback .= _('Canned Response Inserted');
@@ -136,12 +136,12 @@
 
 			$acr = new ArtifactCanned($ath,$id);
 			if (!$acr || !is_object($acr)) {
-				$feedback .= _('Unable to create ArtifactCanned Object');
+				$error_msg .= _('Unable to create ArtifactCanned Object');
 			} elseif ($acr->isError()) {
-				$feedback .= $acr->getErrorMessage();
+				$error_msg .= $acr->getErrorMessage();
 			} else {
 				if (!$acr->update($title,$body)) {
-					$feedback .= _('Error updating').' : '.$acr->getErrorMessage();
+					$error_msg .= _('Error updating').' : '.$acr->getErrorMessage();
 					$acr->clearError();
 				} else {
 					$feedback .= _('Canned Response Updated');
@@ -167,9 +167,9 @@
 				$typeid = db_result($result,0,'group_artifact_id');
 				$dest_tracker =& artifactType_get_object($typeid);
 				if (!$dest_tracker || !is_object($dest_tracker)) {
-					exit_error('Error', _('ArtifactType could not be created'));
+					exit_error(_('ArtifactType could not be created'),'tracker');
 				} elseif ($dest_tracker->isError()) {
-					exit_error(_('Error'),$dest_tracker->getErrorMessage());
+					exit_error($dest_tracker->getErrorMessage(),'tracker');
 				}
 				//
 				//  Copy elements into a field (box) for each tracker selected 
@@ -178,9 +178,9 @@
 				$feedback .= $dest_tracker->getName();
 				$aef =new ArtifactExtraField($dest_tracker,$selectid);
 				if (!$aef || !is_object($aef)) {
-					$feedback .= _('Unable to create ArtifactExtraField Object');
+					$error_msg .= _('Unable to create ArtifactExtraField Object');
 				} elseif ($aef->isError()) {
-					$feedback .= $aefe->getErrorMessage();
+					$error_msg .= $aefe->getErrorMessage();
 				} else {
 					$feedback .= ', Box: ';
 					$feedback .= $aef->getName();
@@ -189,14 +189,14 @@
 					for ($k=0; $k < $copy_rows; $k++) {
 					$aefe = new ArtifactExtraFieldElement($aef);
 						if (!$aefe || !is_object($aefe)) {
-							$feedback .= 'Unable to create ArtifactExtraFieldElement Object';
+							$error_msg .= 'Unable to create ArtifactExtraFieldElement Object';
 						} elseif ($aefe->isError()) {
-							$feedback .= $aefe->getErrorMessage();			
+							$error_msg .= $aefe->getErrorMessage();			
 						} else {
 							$name=$ath->getElementName($copyid[$k]);
 							$status=$ath->getElementStatusID($copyid[$k]);
 							if (!$aefe->create($name,$status)) {
-								$feedback .= _('Error inserting an element').': '.$aefe->getErrorMessage();
+								$error_msg .= _('Error inserting an element').': '.$aefe->getErrorMessage();
 								$aefe->clearError();
 							} else {
 								$feedback .= '- Copied choice:'. $name;
@@ -220,12 +220,12 @@
 
 			$ac = new ArtifactExtraField($ath,$id);
 			if (!$ac || !is_object($ac)) {
-				$feedback .= _('Unable to create ArtifactExtraField Object');
+				$error_msg .= _('Unable to create ArtifactExtraField Object');
 			} elseif ($ac->isError()) {
-				$feedback .= $ac->getErrorMessage();
+				$error_msg .= $ac->getErrorMessage();
 			} else {
 				if (!$ac->update($name,$attribute1,$attribute2,$is_required,$alias)) {
-					$feedback .= _('Error updating a custom field').' : '.$ac->getErrorMessage();
+					$error_msg .= _('Error updating a custom field').' : '.$ac->getErrorMessage();
 					$ac->clearError();
 				} else {
 					$feedback .= _('Custom Field updated');
@@ -243,20 +243,20 @@
 
 			$ac = new ArtifactExtraField($ath,$boxid);
 			if (!$ac || !is_object($ac)) {
-				$feedback .= _('Unable to create ArtifactExtraField Object');
+				$error_msg .= _('Unable to create ArtifactExtraField Object');
 			} elseif ($ac->isError()) {
-				$feedback .= $ac->getErrorMessage();
+				$error_msg .= $ac->getErrorMessage();
 			} else {
 				$ao = new ArtifactExtraFieldElement($ac,$id);
 				if (!$ao || !is_object($ao)) {
-					$feedback .= _('Unable to create ArtifactExtraFieldElement Object');
+					$error_msg .= _('Unable to create ArtifactExtraFieldElement Object');
 				} elseif ($ao->isError()) {
-					$feedback .= $ao->getErrorMessage();
+					$error_msg .= $ao->getErrorMessage();
 				} else {
 					$name = getStringFromRequest('name');
 					$status_id = getIntFromRequest('status_id');
 					if (!$ao->update($name,$status_id)) {
-						$feedback .= _('Error updating a custom field').' : '.$ao->getErrorMessage();
+						$error_msg .= _('Error updating a custom field').' : '.$ao->getErrorMessage();
 						$ao->clearError();
 					} else {
 						$feedback .= _('Element updated');
@@ -272,10 +272,10 @@
 			$clone_id = getStringFromRequest('clone_id');
 
 			if (!$clone_id) {
-				exit_missing_param();
+				exit_missing_param('',array(_('Clone ID')),'tracker');
 			}
 			if (!$ath->cloneFieldsFrom($clone_id)) {
-				exit_error('Error','Error cloning fields: '.$ath->getErrorMessage());
+				exit_error(_('Error cloning fields: ').$ath->getErrorMessage(),'tracker');
 			} else {
 				$feedback .= _('Successfully Cloned Tracker Fields ');
 				$next = '*main*';
@@ -297,7 +297,7 @@
 
 			if (!$ath->update($name,$description,$email_all,$email_address,
 				$due_period,$status_timeout,$use_resolution,$submit_instructions,$browse_instructions)) {
-				$feedback .= _('Error updating').' : '.$ath->getErrorMessage();
+				$error_msg .= _('Error updating').' : '.$ath->getErrorMessage();
 				$ath->clearError();
 			} else {
 				$feedback .= _('Tracker Updated');
@@ -321,7 +321,7 @@
 			}
 			$browse_fields = join(',', $browse_fields);
 			if (!$ath->setBrowseList($browse_fields)) {
-				$feedback .= _('Error updating').' : '.$ath->getErrorMessage();
+				$error_msg .= _('Error updating').' : '.$ath->getErrorMessage();
 				$ath->clearError();
 			} else {
 				$feedback .= _('Tracker Updated');
@@ -335,10 +335,9 @@
 			$really_sure = getStringFromRequest('really_sure');
 
 			if (!$ath->delete($sure,$really_sure)) {
-				$feedback .= _('Error updating').' : '.$ath->getErrorMessage();
+				$error_msg .= _('Error updating').' : '.$ath->getErrorMessage();
 			} else {
-				header ("Location: /tracker/admin/?group_id=${group_id}&tracker_deleted=1");
-				exit;
+				session_redirect('/tracker/admin/?group_id='.$group_id.'&tracker_deleted=1');
 			}
 
 		//
@@ -368,12 +367,12 @@
 			$new_pos = getStringFromRequest('new_pos');
 			$ac = new ArtifactExtraField($ath,$boxid);
 			if (!$ac || !is_object($ac)) {
-				$feedback .= _('Unable to create ArtifactExtraField Object');
+				$error_msg .= _('Unable to create ArtifactExtraField Object');
 			} elseif ($ac->isError()) {
-				$feedback .= $ac->getErrorMessage();
+				$error_msg .= $ac->getErrorMessage();
 			} else {
 				if (!$ac->reorderValues($id, $new_pos)) {
-					$feedback .= _('Error updating a custom field').' : '.$ac->getErrorMessage();
+					$error_msg .= _('Error updating a custom field').' : '.$ac->getErrorMessage();
 					$ac->clearError();
 				} else {
 					$feedback .= _('Tracker Updated');
@@ -388,15 +387,15 @@
 			$order = getArrayFromRequest('order');
 			$ac = new ArtifactExtraField($ath,$boxid);
 			if (!$ac || !is_object($ac)) {
-				$feedback .= 'Unable to create ArtifactExtraField Object';
+				$error_msg .= _('Unable to create ArtifactExtraField Object');
 			} elseif ($ac->isError()) {
-				$feedback .= $ac->getErrorMessage();
+				$error_msg .= $ac->getErrorMessage();
 			} else {
 				$updated_flag = 0;
 				foreach ($order as $id => $new_pos) {
 					if ($new_pos == '') continue;
 					if (!$ac->reorderValues($id, $new_pos)) {
-						$feedback .= _('Error updating a custom field').' : '.$ac->getErrorMessage();
+						$error_msg .= _('Error updating a custom field').' : '.$ac->getErrorMessage();
 						$ac->clearError();
 						continue;
 					}
@@ -411,12 +410,12 @@
 			$boxid = getStringFromRequest('boxid');
 			$ac = new ArtifactExtraField($ath,$boxid);
 			if (!$ac || !is_object($ac)) {
-				$feedback .= 'Unable to create ArtifactExtraField Object';
+				$error_msg .= _('Unable to create ArtifactExtraField Object');
 			} elseif ($ac->isError()) {
-				$feedback .= $ac->getErrorMessage();
+				$error_msg .= $ac->getErrorMessage();
 			} else {
 				if (!$ac->alphaorderValues($id)) {
-					$feedback .= _('Error updating a custom field').' : '.$ac->getErrorMessage();
+					$error_msg .= _('Error updating a custom field').' : '.$ac->getErrorMessage();
 					$ac->clearError();
 				} else {
 					$feedback .= _('Tracker Updated');
@@ -432,7 +431,7 @@
     		$atw = new ArtifactWorkflow($ath, $field_id);
 
     		if (!isset($wk[100])) {
-    			$feedback .= _('ERROR: Initial values not saved, no initial state given.').'<br />';
+    			$error_msg .= _('ERROR: Initial values not saved, no initial state given.').'<br />';
     		} else {
 	    		// Save values for the submit form (from=100).
 	    		$atw->saveNextNodes('100', array_keys($wk[100]));
@@ -463,16 +462,16 @@
 			$boxid = getStringFromRequest('boxid');
 			$ab = new ArtifactExtraField($ath,$boxid);
 			if (!$ab || !is_object($ab)) {
-				$feedback .= 'Unable to create ArtifactExtraField Object';
+				$error_msg .= _('Unable to create ArtifactExtraField Object');
 			} elseif ($ab->isError()) {
-				$feedback .= $ab->getErrorMessage();			
+				$error_msg .= $ab->getErrorMessage();
 			} else {
 				$ao = new ArtifactExtraFieldElement($ab,$id);
 				if (!$ao || !is_object($ao)) {
-					$feedback .= 'Unable to create ArtifactExtraFieldElement Object';
+					$error_msg .= _('Unable to create ArtifactExtraFieldElement Object');
 				} else {
 					if (!$sure || !$really_sure || !$ao->delete()) {
-						$feedback .= _('Error deleting an element').': '.$ao->getErrorMessage();
+						$error_msg .= _('Error deleting an element').': '.$ao->getErrorMessage();
 						$ao->clearError();
 					} else {
 						$feedback .= _('Element deleted');

Modified: trunk/src/www/tracker/browse.php
===================================================================
--- trunk/src/www/tracker/browse.php	2010-09-28 09:44:40 UTC (rev 10747)
+++ trunk/src/www/tracker/browse.php	2010-09-28 11:09:26 UTC (rev 10748)
@@ -60,7 +60,7 @@
 		} else {
 			$aq = new ArtifactQuery($ath,$query_id);
 			if (!$aq || !is_object($aq)) {
-				exit_error('Error',$aq->getErrorMessage());
+				exit_error($aq->getErrorMessage(),'tracker');
 			}
 			$aq->makeDefault();
 		}
@@ -86,9 +86,9 @@
 $af = new ArtifactFactory($ath);
 
 if (!$af || !is_object($af)) {
-	exit_error('Error','Could Not Get Factory');
+	exit_error(_('Could Not Get Factory'),'tracker');
 } elseif ($af->isError()) {
-	exit_error('Error',$af->getErrorMessage());
+	exit_error($af->getErrorMessage(),'tracker');
 }
 
 if (!isset($_sort_col)) {
@@ -144,7 +144,7 @@
 $art_arr =& $af->getArtifacts();
 
 if (!$art_arr && $af->isError()) {
-	exit_error('Error',$af->getErrorMessage());
+	exit_error($af->getErrorMessage(),'tracker');
 }
 
 //build page title to make bookmarking easier




More information about the Fusionforge-commits mailing list