[evolvis-commits] r17634: fix XHTML error and display/rendering error

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Oct 24 16:13:04 CEST 2011


Author: mirabilos
Date: 2011-10-24 16:13:04 +0200 (Mon, 24 Oct 2011)
New Revision: 17634

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/pm/mod_task.php
Log:
fix XHTML error and display/rendering error


Modified: trunk/gforge_base/evolvisforge-5.1/src/www/pm/mod_task.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/pm/mod_task.php	2011-10-24 14:13:00 UTC (rev 17633)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/pm/mod_task.php	2011-10-24 14:13:04 UTC (rev 17634)
@@ -120,7 +120,7 @@
 		<td><strong><?php echo _('Submitted by') ?>:</strong><br />
 			<?php echo $pt->getSubmittedRealName(); ?> (<?php echo $pt->getSubmittedUnixName(); ?>)</td>
 		<td><input type="submit" value="<?php echo _('Submit') ?>" name="submit" /></td>
-		<td><strong>Task ID:</strong> <?php echo $project_task_id; ?> @ <?php
+		<td colspan="2"><strong>Task ID:</strong> <?php echo $project_task_id; ?> @ <?php
 		echo forge_get_config ('web_host') ; ?></td>
 	</tr>
 
@@ -135,7 +135,7 @@
 			<?php echo $pg->groupProjectBox('new_group_project_id',$group_project_id,false); ?>
 		</td>
 
-		<td>
+		<td colspan="2">
 			<strong><a href="<?php echo util_make_url("/pm/t_follow.php/" . $project_task_id); ?>">Permalink</a>:</strong><br />
 			<?php echo util_make_url("/pm/t_follow.php/" . $project_task_id); ?>
 		</td>
@@ -152,7 +152,7 @@
 		<?php echo build_priority_select_box('priority',$pt->getPriority()); ?>
 		</td>
 
-		<td>
+		<td colspan="2">
 		<strong>Task Detail Information (JSON):</strong><br />
 		<a href="<?php echo util_make_url("/pm/t_lookup.php?tid=" . $project_task_id); ?>">application/json</a>
 		or
@@ -165,11 +165,11 @@
 		<strong><?php echo _('Task Summary') ?>:</strong><br />
 		<input type="text" name="summary" size="65" maxlength="65" value="<?php echo $pt->getSummary(); ?>" />
 		</td>
+		<td>
                 <strong><?php echo _('Status') ?></strong><br />
 <?php echo $pg->statusBox('status_id', $pt->getStatusID(), false ); ?>
                 </td>
 		<td>
-		<td colspan="2">
 		<a href="<?php echo getStringFromServer('PHP_SELF')."?func=deletetask&project_task_id=$project_task_id&group_id=$group_id&group_project_id=$group_project_id"; ?>"><?php echo _('Delete this task') ?></a>
 		</td>
 		<td>
@@ -182,7 +182,7 @@
 	</tr>
 
 	<tr>
-		<td colspan="3">
+		<td colspan="4">
 		<strong><?php echo _('Original Comment') ?>:</strong><br />
 		<?php 
 			$sanitizer = new TextSanitizer();
@@ -214,7 +214,7 @@
 	</tr>
 
 	<tr>
-		<td colspan="3">
+		<td colspan="4">
 		<strong><?php echo _('Start Date') ?>:</strong><br />
 		<?php
 		echo $pg->showMonthBox ('start_month',date('m', $pt->getStartDate()));
@@ -228,7 +228,7 @@
 	</tr>
 
 	<tr>
-		<td colspan="3">
+		<td colspan="4">
 		<strong><?php echo _('End Date') ?>:</strong><br />
 		<?php
 		echo $pg->showMonthBox ('end_month',date('m', $pt->getEndDate()));
@@ -251,7 +251,7 @@
 		?>
 		</td>
 
-		<td valign="top" colspan="2">
+		<td valign="top" colspan="3">
 		<strong><?php echo _('Dependent on task') ?>:</strong><br />
 		<?php
 		/*
@@ -265,7 +265,7 @@
 	</tr>
 
 	<tr>
-		<td colspan="3">
+		<td colspan="4">
 		<strong><?php echo _('Estimated Hours') ?>:</strong><br />
 		<input type="text" name="hours" size="5" value="<?php echo $pt->getHours(); ?>" />
 		</td>
@@ -278,7 +278,7 @@
 		<input type="text" name="hours" size="5" value="<?php echo $pt->getHours(); ?>" />
 		</td>
 
-		<td colspan="2">
+		<td colspan="3">
 		<strong><?php echo _('Status') ?></strong><br />
 		<?php
 //		echo $pg->statusBox('status_id', $pt->getStatusID(), false );
@@ -287,19 +287,19 @@
 	</tr>
 -->
 	<tr>
-		<td colspan="3">
+		<td colspan="4">
 			<?php echo $pt->showDependentTasks(); ?>
 		</td>
 	</tr>
 
 	<tr>
-		<td colspan="3">
+		<td colspan="4">
 			<?php echo $pt->showRelatedArtifacts(); ?>
 		</td>
 	</tr>
 
 	<tr>
-		<td colspan="3">
+		<td colspan="4">
 			<?php echo $pt->showMessages($sort_comments_chronologically, "/pm/task.php?func=detailtask&project_task_id=$project_task_id&group_id=$group_id&group_project_id=$group_project_id"); ?>
 		</td>
 	</tr>
@@ -308,21 +308,21 @@
 		plugin_hook("task_extra_detail",$hookParams);
 	?>
 	<tr>
-		<td colspan="3">
+		<td colspan="4">
 			<?php echo $pt->showHistory(); ?>
 		</td>
 	</tr>
 
         <tr>
-		<td colspan="3" style="text-align:center">
+		<td colspan="4" style="text-align:center">
 			<strong><?php echo _('Copy to another Subproject'); ?>:</strong><br />
 			<?php echo $pg->groupProjectBox('copy_group_project_id',$group_project_id,false); ?> 
-			<?php echo '<input type="submit" name="CopySubproject" value="'._('Copy').'" onclick="document.forms[0].func.value = \'copytask\';" '; ?> 
+			<?php echo '<input type="submit" name="CopySubproject" value="'._('Copy').'" onclick="document.forms[0].func.value = \'copytask\';" />'; ?> 
 		</td>
 	</tr>
         
 	<tr>
-		<td colspan="3" style="text-align:center">
+		<td colspan="4" style="text-align:center">
 		<input type="submit" value="<?php echo _('Submit') ?>" name="submit" />
 		</td>
 	</tr>



More information about the evolvis-commits mailing list