* Replace $this->config with $config in view files.

This commit is contained in:
liugang
2018-06-14 14:34:41 +08:00
parent 3a833a0f7a
commit 35bcf01ff5
60 changed files with 98 additions and 98 deletions
+3 -3
View File
@@ -22,7 +22,7 @@
<?php echo $lang->task->batchCreate;?>
<?php endif;?>
</h2>
<?php if($project->type != 'ops' && $this->config->global->flow != 'onlyTask'):?>
<?php if($project->type != 'ops' && $config->global->flow != 'onlyTask'):?>
<a class="checkbox-primary pull-left" id='zeroTaskStory' href='javascript:toggleZeroTaskStory();'>
<label><?php echo $lang->story->zeroTask;?></label>
</a>
@@ -40,7 +40,7 @@
{
if($field)$visibleFields[$field] = '';
}
foreach(explode(',', $this->config->task->create->requiredFields) as $field)
foreach(explode(',', $config->task->create->requiredFields) as $field)
{
if($field)
{
@@ -49,7 +49,7 @@
}
}
$colspan = count($visibleFields) + 3;
$hiddenStory = ((isonlybody() and $storyID) || $this->config->global->flow == 'onlyTask') ? ' hidden' : '';
$hiddenStory = ((isonlybody() and $storyID) || $config->global->flow == 'onlyTask') ? ' hidden' : '';
if($hiddenStory and isset($visibleFields['story'])) $colspan -= 1;
?>
<form method='post' class='load-indicator batch-actions-form' enctype='multipart/form-data' target='hiddenwin' id="batchCreateForm">