* change copyright time.

This commit is contained in:
wangchunsheng
2013-01-18 01:18:58 +00:00
parent 2f3e8f2c70
commit 48d43cb5e1
409 changed files with 58058 additions and 58058 deletions
+70 -70
View File
@@ -1,70 +1,70 @@
<?php
/**
* The batch edit view of testcase module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Congzhi Chen <congzhi@cnezsoft.com>
* @package testcase
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<style type='text/css'>
form p{margin:0px;}
table td,th{border:1px solid #E4E4E4}
table .table-1{border:0px; margin:0px;}
table .table-1 td{border:0px;}
</style>
<form method='post' target='hiddenwin'>
<table class='table-1 fixed'>
<caption><?php echo $lang->testtask->common . $lang->colon . $lang->testtask->batchRun;?></caption>
<tr>
<th class='w-id'><?php echo $lang->idAB;?></th>
<th class='w-pri'><?php echo $lang->priAB;?></th>
<th class='w-100px'><?php echo $lang->testcase->module;?></th>
<th width='300'><?php echo $lang->testcase->title;?></th>
<th width='150'><?php echo $lang->testcase->result?></th>
<th><?php echo $lang->testcase->stepDesc . '/' . $lang->testcase->stepExpect?></th>
</tr>
<?php foreach($cases as $caseID => $case):?>
<tr class='a-center'>
<td><?php echo $case->id . html::hidden("version[$case->id]", $case->version)?></td>
<td><?php echo $lang->testcase->priList[$case->pri]?></td>
<td align='left'><?php echo "<span title='" . $moduleOptionMenu[$case->module] . "'>" . $moduleOptionMenu[$case->module] . "</span>"?></td>
<td align='left'><?php echo "<span title='$case->title'>$case->title</span>"?></td>
<td><?php echo html::radio("results[$case->id]", $resultList, 'pass', "onclick='showAction(this.value,\".action$caseID\")'")?></td>
<td>
<table class='table-1 fixed'>
<?php $i = 1;?>
<?php foreach($steps[$caseID] as $stepID => $step):?>
<tr>
<td align='left' width='30%'><?php echo "<span title='$step->desc'>" . $i . "、" . $step->desc . '</span>'?></td>
<td align='left' width='30%'><?php echo "<span title='$step->expect'>" . $lang->testcase->stepExpect . ":" . $step->expect . '</span>'?></td>
<td width='50' class='hidden action<?php echo $caseID?>'><?php echo html::select("steps[$caseID][$stepID]", $lang->testcase->resultList, 'pass')?></td>
<td class='hidden action<?php echo $caseID?>'><?php echo html::input("reals[$caseID][$stepID]", '', "class='text-1'");?></td>
</tr>
<?php $i++?>
<?php endforeach?>
</table>
</td>
</tr>
<?php endforeach;?>
<tr><td colspan='6' class='a-center'><?php echo html::submitButton();?></td></tr>
</table>
</form>
<script type='text/javascript'>
function showAction(value, obj)
{
if(value == 'pass')
{
$(obj).addClass('hidden');
}
else
{
$(obj).removeClass('hidden');
}
}
</script>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The batch edit view of testcase module of ZenTaoPMS.
*
* @copyright Copyright 2009-2013 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Congzhi Chen <congzhi@cnezsoft.com>
* @package testcase
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<style type='text/css'>
form p{margin:0px;}
table td,th{border:1px solid #E4E4E4}
table .table-1{border:0px; margin:0px;}
table .table-1 td{border:0px;}
</style>
<form method='post' target='hiddenwin'>
<table class='table-1 fixed'>
<caption><?php echo $lang->testtask->common . $lang->colon . $lang->testtask->batchRun;?></caption>
<tr>
<th class='w-id'><?php echo $lang->idAB;?></th>
<th class='w-pri'><?php echo $lang->priAB;?></th>
<th class='w-100px'><?php echo $lang->testcase->module;?></th>
<th width='300'><?php echo $lang->testcase->title;?></th>
<th width='150'><?php echo $lang->testcase->result?></th>
<th><?php echo $lang->testcase->stepDesc . '/' . $lang->testcase->stepExpect?></th>
</tr>
<?php foreach($cases as $caseID => $case):?>
<tr class='a-center'>
<td><?php echo $case->id . html::hidden("version[$case->id]", $case->version)?></td>
<td><?php echo $lang->testcase->priList[$case->pri]?></td>
<td align='left'><?php echo "<span title='" . $moduleOptionMenu[$case->module] . "'>" . $moduleOptionMenu[$case->module] . "</span>"?></td>
<td align='left'><?php echo "<span title='$case->title'>$case->title</span>"?></td>
<td><?php echo html::radio("results[$case->id]", $resultList, 'pass', "onclick='showAction(this.value,\".action$caseID\")'")?></td>
<td>
<table class='table-1 fixed'>
<?php $i = 1;?>
<?php foreach($steps[$caseID] as $stepID => $step):?>
<tr>
<td align='left' width='30%'><?php echo "<span title='$step->desc'>" . $i . "、" . $step->desc . '</span>'?></td>
<td align='left' width='30%'><?php echo "<span title='$step->expect'>" . $lang->testcase->stepExpect . ":" . $step->expect . '</span>'?></td>
<td width='50' class='hidden action<?php echo $caseID?>'><?php echo html::select("steps[$caseID][$stepID]", $lang->testcase->resultList, 'pass')?></td>
<td class='hidden action<?php echo $caseID?>'><?php echo html::input("reals[$caseID][$stepID]", '', "class='text-1'");?></td>
</tr>
<?php $i++?>
<?php endforeach?>
</table>
</td>
</tr>
<?php endforeach;?>
<tr><td colspan='6' class='a-center'><?php echo html::submitButton();?></td></tr>
</table>
</form>
<script type='text/javascript'>
function showAction(value, obj)
{
if(value == 'pass')
{
$(obj).addClass('hidden');
}
else
{
$(obj).removeClass('hidden');
}
}
</script>
<?php include '../../common/view/footer.html.php';?>