* adjust code for task #569 and #555.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-10-23 01:31:26 +00:00
parent 3568359288
commit 682dbbb6a0
6 changed files with 12 additions and 14 deletions
+4 -6
View File
@@ -13,9 +13,8 @@
<?php include './header.html.php';?>
<form method='post' enctype='multipart/form-data'>
<table align='center' class='table-1'>
<caption><?php echo $lang->story->product; echo $lang->story->batchCreate;?></caption>
<caption><?php echo $lang->story->product . $lang->colon . $lang->story->batchCreate; echo "<span class='star'><small>{$lang->story->notes}</small></span>";?></caption>
<tr>
<th class='w-40px'><?php echo $lang->story->use;?>
<th><?php echo $lang->story->module;?></th>
<th><?php echo $lang->story->plan;?></th>
<th><?php echo $lang->story->title;?></th>
@@ -28,14 +27,13 @@
<?php $moduleID = $i == 0 ? 0 : 'same';?>
<?php $planID = $i == 0 ? '' : 'same';?>
<tr class='a-center'>
<td><?php echo html::select("use[$i]", $lang->story->useList, 0);?>
<td><span id='moduleIdBox'><?php echo html::select("module[$i]", $moduleOptionMenu, $moduleID);?></span></td>
<td><span id='planIdBox'><?php echo html::select("plan[$i]", $plans, $planID, 'class=select-2');?></span></td>
<td><?php echo html::select("module[$i]", $moduleOptionMenu, $moduleID, 'class=select-2');?></td>
<td><?php echo html::select("plan[$i]", $plans, $planID, 'class=select-2');?></td>
<td><?php echo html::input("title[$i]", $title, "class='text-1'"); echo "<span class='star'>*</span>";?></td>
<td><?php echo html::textarea("spec[$i]", $spec, "rows='1' class='text-1'");?></td>
<td><?php echo html::select("pri[$i]", (array)$lang->story->priList, $pri, 'class=w-50px');?></td>
<td><?php echo html::input("estimate[$i]", $estimate, "class='w-50px'");?></td>
<td><?php echo html::select("needReview[$i]", $lang->story->reviewList, 0, "id='needNotReview'");?></td>
<td><?php echo html::select("needReview[$i]", $lang->story->reviewList, 0, '');?></td>
</tr>
<?php endfor;?>
<tr><td colspan='8' class='a-center'><?php echo html::submitButton() . html::resetButton();?></td></tr>