* @package case * @version $Id: edit.html.php 5000 2013-07-03 08:20:57Z chencongzhi520@gmail.com $ * @link http://www.zentao.net */ ?> testcase->deleteStep);?> testcase->insertBefore);?> testcase->insertAfter);?>
icons['testcase']);?> id;?> createLink('testcase', 'view', "caseID=$case->id"), $case->title, '', 'class="case-title"');?> case->edit;?>
save)?>
title, 'class="form-control" autocomplete="off" placeholder="' . $lang->case->title . '"');?>
testcase->precondition;?>
precondition, "rows='4' class='form-control'");?>
testcase->steps;?>
steps as $stepID => $step):?>
testcase->stepID;?> testcase->stepDesc;?> testcase->stepExpect;?> actions;?>
desc, "rows='1' class='form-control autosize step-steps'") ?> type)) $step->type = 'step';?>
expect, "rows='1' class='form-control autosize step-expects'") ?>
testcase->legendComment;?>
testcase->legendAttatch;?>
fetch('file', 'buildform');?>
lastEditedDate);?> createLink('testcase', 'browse', "productID=$productID");?>"' />
testcase->legendBasicInfo;?> config->global->flow != 'onlyTest'):?>
testcase->lib;?>
testcase->module;?>
"; echo html::a($this->createLink('tree', 'browse', "rootID=$libID&view=caselib¤tModuleID=0&branch=$case->branch"), $lang->tree->manage, '_blank'); echo '  '; echo html::a("javascript:loadLibModules($libID)", $lang->refresh); echo ''; } ?>
testcase->product;?>
session->currentProductType != 'normal') echo html::select('branch', $branches, $case->branch, "onchange='loadBranch();' class='form-control' style='width:65px'");?>
testcase->module;?>
"; echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=case¤tModuleID=0&branch=$case->branch"), $lang->tree->manage, '_blank'); echo '  '; echo html::a("javascript:loadProductModules($productID)", $lang->refresh); echo ''; } ?>
testcase->story;?>
story, 'class=form-control chosen');?>
testcase->type;?> testcase->typeList, $case->type, "class='form-control chosen'");?>
testcase->stage;?> testcase->stageList, $case->stage, "class='form-control chosen' multiple='multiple'");?>
testcase->pri;?> testcase->priList, $case->pri, "class='form-control chosen'");?>
testcase->status;?> testcase->statusList, $case->status, "class='form-control chosen'");?>
testcase->keywords;?> keywords, "class='form-control' autocomplete='off'");?>
testcase->linkCase;?> createLink('testcase', 'linkCases', "caseID=$case->id", '', true), $lang->testcase->linkCases, '', "data-type='iframe' data-toggle='modal' data-width='95%'");?>
    linkCaseTitles)) { foreach($case->linkCaseTitles as $linkCaseID => $linkCaseTitle) { echo '
  • '; echo html::a(inlink('view', "caseID=$linkCaseID"), "#$linkCaseID " . $linkCaseTitle, '_blank'); echo html::a("javascript:unlinkCase($case->id, $linkCaseID)", '', '', "title='{$lang->unlink}' style='float:right'"); echo '
  • '; } } ?>
testcase->legendOpenAndEdit;?>
testcase->openedBy;?> openedBy] . $lang->at . $case->openedDate;?>
testcase->lblLastEdited;?> lastEditedBy) echo $users[$case->lastEditedBy] . $lang->at . $case->lastEditedDate;?>