* adjust the fields, add help link.

This commit is contained in:
wangchunsheng
2010-03-26 06:32:49 +00:00
parent f0ebf75314
commit 51920ba04e
21 changed files with 43 additions and 36 deletions
+8 -4
View File
@@ -70,11 +70,15 @@ $(document).ready(function()
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->name;?></th>
<td><input type='text' name='name' id='name' class='text-1' /><?php echo html::commonButton($lang->task->copyStoryTitle, 'onclick=copyStoryTitle()');?></td>
<td>
<?php
echo html::input('name', '', "class='text-1'");
echo html::commonButton($lang->task->copyStoryTitle, 'onclick=copyStoryTitle()');?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->desc;?></th>
<td><textarea name='desc' rows='5' class='area-1'></textarea>
<td><?php echo html::textarea('desc', '', "rows='5' class='area-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->files;?></th>
@@ -86,11 +90,11 @@ $(document).ready(function()
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->estimate;?></th>
<td><input type='text' name='estimate' id='estimate' class='text-3' /></td>
<td><?php echo html::input('estimate', '', "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td><input type='text' name='deadline' class='text-3 date' /></td>
<td><?php echo html::input('deadline', '', "class='text-3 date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->type;?></th>
+2 -2
View File
@@ -94,11 +94,11 @@
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><input type='text' name='consumed' value='<?php echo $task->consumed;?>' class='text-1' /></td>
<td><?php echo html::input('consumed', $task->consumed, "class='text-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<td><input type='text' name='left' value='<?php echo $task->left;?>' class='text-1' /></td>
<td><?php echo html::input('left', $task->left, "class='text-1'");?></td>
</tr>
</table>
</fieldset>