* add printExtendFields method.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
</div>
|
||||
<form class='load-indicator main-form' method='post' id='activateForm'>
|
||||
<table class='table table-form'>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=1');?>
|
||||
<?php $this->printExtendFields($task, 'table', 'columns=1');?>
|
||||
<tr>
|
||||
<th class='w-45px'><?php echo $lang->comment;?></th>
|
||||
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</div>
|
||||
<form class='load-indicator main-form' method='post' id='blockForm'>
|
||||
<table class='table table-form'>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=1');?>
|
||||
<?php $this->printExtendFields($task, 'table', 'columns=1');?>
|
||||
<tr>
|
||||
<th class='w-45px'><?php echo $lang->comment;?></th>
|
||||
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</div>
|
||||
<form class='load-indicator main-form' method='post' id='closeForm'>
|
||||
<table class='table table-form'>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=1');?>
|
||||
<?php $this->printExtendFields($task, 'table', 'columns=1');?>
|
||||
<tr>
|
||||
<th class='w-60px'><?php echo $lang->comment;?></th>
|
||||
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
</div>
|
||||
</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>
|
||||
<td class='text-center form-actions' colspan='3'>
|
||||
<?php echo html::submitButton();?>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=2');?>
|
||||
<?php $this->printExtendFields($task, 'table', 'columns=2');?>
|
||||
<tr>
|
||||
<td class='text-center form-actions' colspan='3'>
|
||||
<?php echo html::submitButton();?>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</div>
|
||||
<form class='load-indicator main-form' method='post' id='startForm'>
|
||||
<table class='table table-form'>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=1');?>
|
||||
<?php $this->printExtendFields($task, 'table', 'columns=1');?>
|
||||
<tr>
|
||||
<th class='w-45px'><?php echo $lang->comment;?></th>
|
||||
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<?php endif;?>
|
||||
<?php $actionFormLink = $this->createLink('action', 'comment', "objectType=testtask&objectID=$task->id");?>
|
||||
</div>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'div', "position=left&divCell=true");?>
|
||||
<?php $this->printExtendFields($task, 'div', "position=left&divCell=true");?>
|
||||
<div class='cell'><?php include '../../common/view/action.html.php';?></div>
|
||||
<div class='main-actions'>
|
||||
<div class="btn-toolbar">
|
||||
@@ -127,7 +127,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'div', "position=right&divCell=true");?>
|
||||
<?php $this->printExtendFields($task, 'div', "position=right&divCell=true");?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user