* finish task#807.

This commit is contained in:
chencongzhi520@gmail.com
2012-05-31 09:21:43 +00:00
parent 61a6939e84
commit 813a44a61d
13 changed files with 307 additions and 75 deletions
+8 -3
View File
@@ -35,7 +35,7 @@ var moduleID = '<?php echo $moduleID;?>';
</div>
</div>
<form method='post' action='<?php echo inlink('batchAssign', "task=$task->id");?>' target='hiddenwin'>
<form method='post' name='casesform'>
<table class='cont-lt1'>
<tr valign='top'>
<td class='side <?php echo $treeClass;?>'>
@@ -89,9 +89,14 @@ var moduleID = '<?php echo $moduleID;?>';
<div class='f-left'>
<?php
echo html::selectAll() . html::selectReverse();
echo html::select('assignedTo', $users);
if(common::hasPriv('testtask', 'batchAssign')) echo html::submitButton($lang->testtask->assign);
if(common::hasPriv('testcase', 'batchEdit')):
?>
<input class='button-s' value="<?php echo $lang->testcase->batchEdit; ?>" type="button" onclick="casesform.action='<?php echo $this->createLink('testcase', 'batchEdit', "from=testtaskCases&productID=$productID");?>';casesform.submit();">
<?php endif;?>
<?php if(common::hasPriv('testtask', 'batchAssign')):?>
<?php echo html::select('assignedTo', $users);?>
<input class='button-s' value="<?php echo $lang->testtask->batchAssign; ?>" type="button" onclick="casesform.action='<?php echo $this->inLink('batchAssign', "taskID=$task->id");?>';casesform.submit();">
<?php endif;?>
</div>
<?php echo $pager->show();?>
</td>