* adjust the testcase module UI.

This commit is contained in:
wangchunsheng
2009-12-18 02:26:48 +00:00
parent c87c619272
commit ee82b9d783
9 changed files with 227 additions and 226 deletions
+7
View File
@@ -25,6 +25,13 @@
<?php
class testcaseModel extends model
{
/* 设置菜单。*/
public function setMenu($products, $productID)
{
$selectHtml = html::select('productID', $products, $productID, "onchange=\"switchProduct(this.value, 'case');\"");
common::setMenuVars($this->lang->testcase->menu, 'product', $selectHtml . $this->lang->arrow);
}
/* 创建一个Case。*/
function create()
{