* Optimize function to printExtendFields.

This commit is contained in:
liugang
2019-08-13 14:58:15 +08:00
parent 72504872ac
commit dc022ad849
51 changed files with 71 additions and 67 deletions
+2 -2
View File
@@ -145,7 +145,7 @@
<?php echo $this->fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
<?php $actionFormLink = $this->createLink('action', 'comment', "objectType=task&objectID=$task->id");?>
</div>
<?php $this->printExtendFields($task, 'div', "position=left&divCell=true");?>
<?php $this->printExtendFields($task, 'div', "position=left&inForm=0&inCell=1");?>
<div class="cell"><?php include '../../common/view/action.html.php';?></div>
<div class='main-actions'>
<div class="btn-toolbar">
@@ -376,7 +376,7 @@
</div>
</details>
</div>
<?php $this->printExtendFields($task, 'div', "position=right&mode=value");?>
<?php $this->printExtendFields($task, 'div', "position=right&inForm=0&inCell=1");?>
</div>
</div>