* code for task#1424.

This commit is contained in:
chencongzhi520@gmail.com
2013-06-27 08:57:54 +00:00
parent 182059772d
commit d0bee531e6
4 changed files with 67 additions and 18 deletions
+17 -4
View File
@@ -1,10 +1,23 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
<div><?php echo $bug->title;?></caption>
<div><?php echo $lang->bug->assignedTo . html::select('assignedTo', $users, $bug->resolvedBy, 'class=select-3');?></div>
<div><?php echo $lang->bug->openedBuild . html::select('openedBuild[]', $builds, $bug->openedBuild, 'size=4 multiple=multiple class=select-3');?></div>
<div><?php echo html::textarea('comment', '', "rows='6' class='area-1' placeholder=$lang->comment");?></div>
<h3><?php echo "BUG#$bug->id $bug->title";?></h3>
<table class='table-1'>
<tr>
<td class='w-80px'><?php echo $lang->bug->assignedTo?></td>
<td><?php echo html::select('assignedTo', $users, $bug->resolvedBy, 'class=select-3');?></td>
</tr>
<tr>
<td class='w-80px'><?php echo $lang->bug->openedBuild;?></td>
<td><?php echo html::select('openedBuild[]', $builds, $bug->openedBuild, 'size=4 multiple=multiple class=select-3');?></td>
</tr>
<tr>
<td class='w-80px'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '');?></td>
</tr>
</table>
<div class='a-center'>
<?php echo html::submitButton($lang->bug->buttonConfirm, 'data-inline="true" data-theme="b"');?>
<?php echo html::backButton("data-inline='true'");?>
+9 -2
View File
@@ -1,8 +1,15 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<div><?php echo $bug->title;?></div>
<div><?php echo html::textarea('comment', '', "rows='6' class='area-1' placeholder=$lang->comment");?></div>
<h3><?php echo "BUG#$bug->id $bug->title";?></h3>
<table class='table-1'>
<tr>
<td class='w-60px'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '');?></td>
</tr>
</table>
<div class='a-center'>
<?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?>
<?php echo html::backButton("data-inline='true'");?>
+13 -3
View File
@@ -1,9 +1,19 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<div><?php echo $bug->title;?></div>
<div><?php echo $lang->bug->assignedTo . html::select('assignedTo', $users, $bug->assignedTo, "class='text-3'");?></div>
<div><?php echo $lang->comment . html::textarea('comment', '', "rows='6' class='area-1'");?></div>
<h3><?php echo "BUG#$bug->id $bug->title";?></h3>
<table class='table-1'>
<tr>
<td class='w-60px'><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo html::select('assignedTo', $users, $bug->assignedTo);?></td>
</tr>
<tr>
<td class='w-60px'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '');?></td>
</tr>
</table>
<div class='a-center'>
<?php echo html::submitButton($lang->bug->buttonConfirm, 'data-inline="true" data-theme="b"');?>
<?php echo html::backButton("data-inline='true'");?>
+28 -9
View File
@@ -1,16 +1,35 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<div><?php echo $bug->title;?></div>
<div><?php unset($lang->bug->resolutionList['tostory']); echo $lang->bug->resolution . html::select('resolution', $lang->bug->resolutionList, '', 'class=select-3 onchange=setDuplicate(this.value)');?></div>
<div id='duplicateBugBox' style='display:none'>
<div><?php echo $lang->bug->duplicateBug . html::input('duplicateBug', '', 'class=text-3');?></div>
</div>
<h3><?php echo "BUG#$bug->id $bug->title";?></h3>
<table class='table-1'>
<tr>
<td class='w-80px'><?php unset($lang->bug->resolutionList['tostory']); echo $lang->bug->resolution ;?></td>
<td><?php echo html::select('resolution', $lang->bug->resolutionList, '', 'class=select-3 onchange=setDuplicate(this.value)');?></div>
</tr>
<tr id='duplicateBugBox' style='display:none'>
<td class='w-80px'><?php echo $lang->bug->duplicateBug;?></td>
<td><?php echo $lang->bug->duplicateBug . html::input('duplicateBug');?></div>
</tr>
<tr>
<td class='w-80px'><?php echo $lang->bug->resolvedBuild?></td>
<td><?php echo html::select('resolvedBuild', $builds);?></td>
</tr>
<tr>
<td><?php echo $lang->bug->resolvedDate?></div>
<td><?php echo html::input('resolvedDate', helper::now());?></div>
</tr>
<tr>
<td><?php echo $lang->bug->assignedTo?></div>
<td><?php echo html::select('assignedTo', $users, $bug->openedBy);?></div>
</tr>
<tr>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment');?></td>
</tr>
</table>
<div><?php echo $lang->bug->resolvedBuild . html::select('resolvedBuild', $builds, '', 'class=select-3');?></div>
<div><?php echo $lang->bug->resolvedDate . html::input('resolvedDate', helper::now(), "class='select-3'");?></div>
<div><?php echo $lang->bug->assignedTo . html::select('assignedTo', $users, $bug->openedBy, 'class=select-3');?></div>
<div><?php echo html::textarea('comment', '', "rows='6' class='area-1' placeholder='$lang->comment'");?></div>
<div class='a-center'>
<?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?>
<?php echo html::backButton("data-inline='true'");?>