* add printExtendFields method.

This commit is contained in:
wangyidong
2019-07-24 13:44:01 +08:00
parent f1b0faf11b
commit ff55e2267f
62 changed files with 85 additions and 70 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
<th><?php echo $lang->testsuite->desc;?></th>
<td colspan='2'><?php echo html::textarea('desc', '', "rows=10 class='form-control'");?></td>
</tr>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, '', 'table', 'columns=2');?>
<?php $this->printExtendFields('', 'table', 'columns=2');?>
<tr>
<th><?php echo $lang->testsuite->author;?></th>
<td><?php echo html::radio('type', $lang->testsuite->authorList, 'private');?></td>
+1 -1
View File
@@ -27,7 +27,7 @@
<th><?php echo $lang->testsuite->desc;?></th>
<td><?php echo html::textarea('desc', htmlspecialchars($suite->desc), "rows=10 class='form-control'");?></td>
</tr>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $suite, 'table', 'columns=1');?>
<?php $this->printExtendFields($suite, 'table', 'columns=1');?>
<?php if($suite->type != 'library'):?>
<tr>
<th><?php echo $lang->testsuite->author;?></th>
+1 -1
View File
@@ -154,7 +154,7 @@
</div>
</div>
</div>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $suite, 'div', "position=right&divCell=true");?>
<?php $this->printExtendFields($suite, 'div', "position=right&divCell=true");?>
<div class='cell'>
<?php include '../../common/view/action.html.php';?>
</div>