[Fusionforge-commits] r12410 - trunk/src/plugins/mantisbt/view

Franck VILLAUME nerville at fusionforge.org
Sun Feb 27 22:05:25 CET 2011


Author: nerville
Date: 2011-02-27 22:05:25 +0100 (Sun, 27 Feb 2011)
New Revision: 12410

Modified:
   trunk/src/plugins/mantisbt/view/addIssue.php
   trunk/src/plugins/mantisbt/view/addOrEditNote.php
   trunk/src/plugins/mantisbt/view/editIssue.php
   trunk/src/plugins/mantisbt/view/init.php
   trunk/src/plugins/mantisbt/view/roadmap.php
   trunk/src/plugins/mantisbt/view/viewAttachment.php
   trunk/src/plugins/mantisbt/view/viewIssue.php
   trunk/src/plugins/mantisbt/view/viewNote.php
Log:
update header & warning

Modified: trunk/src/plugins/mantisbt/view/addIssue.php
===================================================================
--- trunk/src/plugins/mantisbt/view/addIssue.php	2011-02-27 20:54:13 UTC (rev 12409)
+++ trunk/src/plugins/mantisbt/view/addIssue.php	2011-02-27 21:05:25 UTC (rev 12410)
@@ -128,17 +128,16 @@
 	echo			'<td class="FullBox"><input type="text" name="resume" MAXLENGTH="128" style="width:99%;"></td>';
 	echo		'</tr>';
 	echo		'<tr>';
-	echo 			'<td class="FullBoxTitle">Description *</td>';
+	echo 			'<td class="FullBoxTitle">'.('Description').' *</td>';
 	echo			'<td class="FullBox"><textarea name="description" style="width:99%;" rows="12"></textarea></td>';
 	echo		'</tr>';
 	echo		'<tr>';
-	echo 			'<td class="FullBoxTitle">Informations complémentaires</td>';
+	echo 			'<td class="FullBoxTitle">'._('Additional informations').'</td>';
 	echo			'<td class="FullBox"><textarea name="informations" style="width:99%;" rows="12"></textarea></td>';
 	echo		'</tr>';
 	echo	'</table>';
 	echo 	'<div align="center">';
-	echo 		'<input type="button" name="submitbutton" value="Soumettre le ticket" onclick="validate();">';
-	echo 		'<input type="button" name="Annuler" value="Annuler" onclick="window.location.href=\'?type='.$type.'&id='.$group_id.'&pluginname='.$mantisbt->name.'\'">';
+	echo 		'<input type="button" name="submitbutton" value="'._('Submit').'" onclick="validate();">';
 	echo 	'</div>';
 	echo	'* '._('Mandatory fields');
 	echo 	'</form>';

Modified: trunk/src/plugins/mantisbt/view/addOrEditNote.php
===================================================================
--- trunk/src/plugins/mantisbt/view/addOrEditNote.php	2011-02-27 20:54:13 UTC (rev 12409)
+++ trunk/src/plugins/mantisbt/view/addOrEditNote.php	2011-02-27 21:05:25 UTC (rev 12410)
@@ -1,10 +1,11 @@
 <?php
-
 /*
- * Copyright 2010, Capgemini
- * Authors: Franck Villaume - capgemini
- *          Antoine Mercadal - capgemini
+ * MantisBT plugin
  *
+ * Copyright 2010-2011, Franck Villaume - Capgemini
+ * Copyright 2010, Antoine Mercadal - Capgemini
+ * http://fusionforge.org
+ *
  * This file is part of FusionForge.
  *
  * FusionForge is free software; you can redistribute it and/or modify

Modified: trunk/src/plugins/mantisbt/view/editIssue.php
===================================================================
--- trunk/src/plugins/mantisbt/view/editIssue.php	2011-02-27 20:54:13 UTC (rev 12409)
+++ trunk/src/plugins/mantisbt/view/editIssue.php	2011-02-27 21:05:25 UTC (rev 12410)
@@ -210,7 +210,6 @@
     echo	'<br/>';
     echo 	'<div align="center">';
     echo 		'<input type="button" name="submitbutton" onclick="validate();" value="'._('Update').'">';
-    echo 		'<input type="button" name="Annuler" value="Annuler" onclick="window.location.href=\'?type='.$type.'&group_id='.$group_id.'&pluginname='.$mantis->name.'\'">';
     echo 	'</div>';
     echo 	'</form>';
 }

Modified: trunk/src/plugins/mantisbt/view/init.php
===================================================================
--- trunk/src/plugins/mantisbt/view/init.php	2011-02-27 20:54:13 UTC (rev 12409)
+++ trunk/src/plugins/mantisbt/view/init.php	2011-02-27 21:05:25 UTC (rev 12410)
@@ -1,5 +1,7 @@
 <?php
 /*
+ * MantisBT plugin
+ *
  * Copyright 2011, Franck Villaume - Capgemini
  * http://fusionforge.org
  *

Modified: trunk/src/plugins/mantisbt/view/roadmap.php
===================================================================
--- trunk/src/plugins/mantisbt/view/roadmap.php	2011-02-27 20:54:13 UTC (rev 12409)
+++ trunk/src/plugins/mantisbt/view/roadmap.php	2011-02-27 21:05:25 UTC (rev 12410)
@@ -1,5 +1,7 @@
 <?php
 /*
+ * MantisBT plugin
+ *
  * Copyright 2010-2011, Franck Villaume - Capgemini
  * Copyright 2010, Antoine Mercadal - Capgemini
  * http://fusionforge.org

Modified: trunk/src/plugins/mantisbt/view/viewAttachment.php
===================================================================
--- trunk/src/plugins/mantisbt/view/viewAttachment.php	2011-02-27 20:54:13 UTC (rev 12409)
+++ trunk/src/plugins/mantisbt/view/viewAttachment.php	2011-02-27 21:05:25 UTC (rev 12410)
@@ -1,10 +1,11 @@
 <?php
-
 /*
- * Copyright 2010, Capgemini
- * Authors: Franck Villaume - capgemini
- *          Antoine Mercadal - capgemini
+ * MantisBT plugin
  *
+ * Copyright 2009-2011, Franck Villaume - Capgemini
+ * Copyright 2010, Antoine Mercadal - Capgemini
+ * http://fusionforge.org
+ *
  * This file is part of FusionForge.
  *
  * FusionForge is free software; you can redistribute it and/or modify

Modified: trunk/src/plugins/mantisbt/view/viewIssue.php
===================================================================
--- trunk/src/plugins/mantisbt/view/viewIssue.php	2011-02-27 20:54:13 UTC (rev 12409)
+++ trunk/src/plugins/mantisbt/view/viewIssue.php	2011-02-27 21:05:25 UTC (rev 12410)
@@ -128,14 +128,14 @@
 <p class="notice_title" onclick='$("#expandable_edition").slideToggle(300)'><?php echo _('Edit ticket') ?></p>
 <div id='expandable_edition' class="notice_content">
 <?php
-	if (!$errorPage) {
+	if (!isset($errorPage)) {
 		include($gfplugins.$mantisbt->name."/view/editIssue.php");
 	}
 }
 ?>
 </div>
 <?php
-	if (!$errorPage) {
+	if (!isset($errorPage)) {
 		include($gfplugins.$mantisbt->name."/view/viewNote.php");
 		include($gfplugins.$mantisbt->name."/view/viewAttachment.php");
 }

Modified: trunk/src/plugins/mantisbt/view/viewNote.php
===================================================================
--- trunk/src/plugins/mantisbt/view/viewNote.php	2011-02-27 20:54:13 UTC (rev 12409)
+++ trunk/src/plugins/mantisbt/view/viewNote.php	2011-02-27 21:05:25 UTC (rev 12410)
@@ -1,9 +1,10 @@
 <?php
-
 /*
- * Copyright 2010, Capgemini
- * Authors: Franck Villaume - capgemini
+ * MantisBT plugin
  *
+ * Copyright 2010-2011, Franck Villaume - Capgemini
+ * http://fusionforge.org
+ *
  * This file is part of FusionForge.
  *
  * FusionForge is free software; you can redistribute it and/or modify




More information about the Fusionforge-commits mailing list