[evolvis-commits] r17292: [#1453] Add more submit buttons [#1758]

mirabilos at evolvis.org mirabilos at evolvis.org
Fri Jun 10 13:24:46 CEST 2011


Author: mirabilos
Date: 2011-06-10 13:24:46 +0200 (Fri, 10 Jun 2011)
New Revision: 17292

Modified:
   trunk/gforge_base/evolvisforge/gforge/debian/changelog
   trunk/gforge_base/evolvisforge/gforge/www/pm/mod_task.php
Log:
[#1453] Add more submit buttons [#1758]


Modified: trunk/gforge_base/evolvisforge/gforge/debian/changelog
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/debian/changelog	2011-06-10 11:04:19 UTC (rev 17291)
+++ trunk/gforge_base/evolvisforge/gforge/debian/changelog	2011-06-10 11:24:46 UTC (rev 17292)
@@ -2,8 +2,9 @@
 
   [ Thorsten Glaser ]
   * [#1460] Sort drop-down boxen in tracker/browse
+  * [#1453] Add more submit buttons
 
- -- Thorsten Glaser <t.glaser at tarent.de>  Fri, 10 Jun 2011 13:03:30 +0200
+ -- Thorsten Glaser <t.glaser at tarent.de>  Fri, 10 Jun 2011 13:24:13 +0200
 
 gforge (4.8.3+evolvis34) unstable; urgency=low
 

Modified: trunk/gforge_base/evolvisforge/gforge/www/pm/mod_task.php
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/www/pm/mod_task.php	2011-06-10 11:04:19 UTC (rev 17291)
+++ trunk/gforge_base/evolvisforge/gforge/www/pm/mod_task.php	2011-06-10 11:24:46 UTC (rev 17292)
@@ -109,8 +109,11 @@
 		<td><strong><?php echo _('Submitted by') ?>:</strong><br />
 			<?php echo $pt->getSubmittedRealName(); ?> (<?php echo $pt->getSubmittedUnixName(); ?>)</td>
 		<td>
-		<!-- FIRST SUBMIT BEGIN: There is a second submit button in the same form below,
-		so it is just for usability reasons. Both submit the same data -->
+		<!-- FIRST SUBMIT BEGIN
+			There are a second, third and fourth submit
+			button in the same form below, so it is just
+			for usability reasons. All submit the same data
+		-->
 		<input type="submit" value="<?php echo _('Submit') ?>" name="submit" />
 		<!-- FIRST SUBMIT END -->
 		</td>
@@ -180,6 +183,10 @@
 		<p />
 		<strong><?php echo _('Add A Comment') ?>:</strong><?php echo notepad_button('document.forms[1].details') ?><br />
 		<textarea name="details" rows="5" cols="40"></textarea>
+		<br />
+		<!-- THIRD SUBMIT BEGIN -->
+		<input type="submit" value="<?php echo _('Submit') ?>" name="submit" />
+		<!-- THIRD SUBMIT END -->
 		</td>
 	</tr>
 
@@ -236,11 +243,12 @@
 
 	<tr>
 		<td>
-		<strong><?php echo _('Estimated Hours') ?>:</strong><br />
-		<input type="text" name="hours" size="5" value="<?php echo $pt->getHours(); ?>" />
+		<!-- FOURTH SUBMIT BEGIN -->
+		<input type="submit" value="<?php echo _('Submit') ?>" name="submit" />
+		<!-- FOURTH SUBMIT END -->
 		</td>
 
-		<td colspan="2">
+		<td>
 		<strong><?php echo _('Status') ?></strong><br />
 		<?php
 		echo $pg->statusBox('status_id', $pt->getStatusID(), false );
@@ -248,6 +256,11 @@
 		<input type="hidden" name="duration" value="<?php echo $pt->getDuration(); ?>" />
 		<input type="hidden" name="parent_id" value="<?php echo $pt->getParentID(); ?>" />
 		</td>
+
+		<td>
+		<strong><?php echo _('Estimated Hours') ?>:</strong><br />
+		<input type="text" name="hours" size="5" value="<?php echo $pt->getHours(); ?>" />
+		</td>
 	</tr>
 	<tr>
 		<td colspan="3">



More information about the evolvis-commits mailing list