From 3fb68bbb0ca6fc88d09909abbd8bb818b3a144bf Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Thu, 18 Nov 2010 15:25:54 +0000 Subject: [PATCH] * add arrow to the select html. --- module/testcase/model.php | 2 +- module/testtask/model.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/testcase/model.php b/module/testcase/model.php index 9f251cd989..259c908ea0 100644 --- a/module/testcase/model.php +++ b/module/testcase/model.php @@ -26,7 +26,7 @@ class testcaseModel extends model $selectHtml = html::select('productID', $products, $productID, "onchange=\"switchProduct(this.value, 'testcase', 'browse');\""); foreach($this->lang->testcase->menu as $key => $menu) { - $replace = ($key == 'product') ? $selectHtml : $productID; + $replace = ($key == 'product') ? $selectHtml . $this->lang->arrow : $productID; common::setMenuVars($this->lang->testcase->menu, $key, $replace); } } diff --git a/module/testtask/model.php b/module/testtask/model.php index 9ecd9977ba..e8fbacfb31 100644 --- a/module/testtask/model.php +++ b/module/testtask/model.php @@ -26,7 +26,7 @@ class testtaskModel extends model $selectHtml = html::select('productID', $products, $productID, "onchange=\"switchProduct(this.value, 'testtask', 'browse');\""); foreach($this->lang->testtask->menu as $key => $value) { - $replace = ($key == 'product') ? $selectHtml : $productID; + $replace = ($key == 'product') ? $selectHtml . $this->lang->arrow: $productID; common::setMenuVars($this->lang->testtask->menu, $key, $replace); } }