diff --git a/module/bug/view/batchcreate.html.php b/module/bug/view/batchcreate.html.php index a5a763d9a5..502f6b7b32 100644 --- a/module/bug/view/batchcreate.html.php +++ b/module/bug/view/batchcreate.html.php @@ -32,7 +32,7 @@ { if($field) $visibleFields[$field] = ''; } - foreach(explode(',', $this->config->bug->create->requiredFields) as $field) + foreach(explode(',', $config->bug->create->requiredFields) as $field) { if($field) { diff --git a/module/bug/view/batchedit.html.php b/module/bug/view/batchedit.html.php index 87eb789aa5..0d704acb8d 100644 --- a/module/bug/view/batchedit.html.php +++ b/module/bug/view/batchedit.html.php @@ -32,7 +32,7 @@ { if($field)$visibleFields[$field] = ''; } - foreach(explode(',', $this->config->bug->edit->requiredFields) as $field) + foreach(explode(',', $config->bug->edit->requiredFields) as $field) { if($field) { diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 31a9ccb8ed..91dcdbc595 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -16,12 +16,12 @@ include '../../common/view/datatable.fix.html.php'; js::set('browseType', $browseType); js::set('moduleID', $moduleID); js::set('bugBrowseType', ($browseType == 'bymodule' and $this->session->bugBrowseType == 'bysearch') ? 'all' : $this->session->bugBrowseType); -js::set('flow', $this->config->global->flow); +js::set('flow', $config->global->flow); js::set('productID', $productID); js::set('branch', $branch); $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($browseType, array_keys($lang->bug->mySelects)) ? $browseType : ''; ?> -config->global->flow == 'full'):?> +global->flow == 'full'):?> - config->global->flow != 'onlyTest'):?> + global->flow != 'onlyTest'):?> bug->productplan;?> @@ -184,7 +184,7 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild); - config->global->flow != 'onlyTest'):?> + global->flow != 'onlyTest'):?>
bug->legendPrjStoryTask;?>
diff --git a/module/bug/view/sendmail.html.php b/module/bug/view/sendmail.html.php index f949c6399e..77f09863db 100644 --- a/module/bug/view/sendmail.html.php +++ b/module/bug/view/sendmail.html.php @@ -18,7 +18,7 @@
color) ? '#333' : $bug->color;?> - config->mail, 'domain', common::getSysURL()) . helper::createLink('bug', 'view', "bugID=$bug->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?> + mail, 'domain', common::getSysURL()) . helper::createLink('bug', 'view', "bugID=$bug->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?>
diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php index 3dbbbe3071..c58a90587f 100644 --- a/module/bug/view/view.html.php +++ b/module/bug/view/view.html.php @@ -288,7 +288,7 @@ - config->global->flow != 'onlyTest'):?> + global->flow != 'onlyTest'):?> toStory != 0):?> bug->toStory;?> @@ -328,7 +328,7 @@ $convertParams = "productID=$productID&branch=$bug->branch&moduleID=0&from=bug&b common::printIcon('bug', 'close', $params, $bug, 'button', '', '', 'text-danger iframe showinonlybody', true); common::printIcon('bug', 'activate', $params, $bug, 'button', '', '', 'text-success iframe showinonlybody', true); - if($this->config->global->flow != 'onlyTest') common::printIcon('bug', 'toStory', "product=$bug->product&branch=$bug->branch&module=0&story=0&project=0&bugID=$bug->id", $bug, 'button', $lang->icons['story']); + if($config->global->flow != 'onlyTest') common::printIcon('bug', 'toStory', "product=$bug->product&branch=$bug->branch&module=0&story=0&project=0&bugID=$bug->id", $bug, 'button', $lang->icons['story']); common::printIcon('bug', 'createCase', $convertParams, $bug, 'button', 'sitemap'); echo "
"; diff --git a/module/build/view/edit.html.php b/module/build/view/edit.html.php index 8c15ec5529..2a427f55d2 100644 --- a/module/build/view/edit.html.php +++ b/module/build/view/edit.html.php @@ -70,7 +70,7 @@ - config->global->flow != 'onlyTest' ? html::hidden('project', $build->project) : '';?> + global->flow != 'onlyTest' ? html::hidden('project', $build->project) : '';?> diff --git a/module/build/view/view.html.php b/module/build/view/view.html.php index c37e7d582e..a26e01a22d 100644 --- a/module/build/view/view.html.php +++ b/module/build/view/view.html.php @@ -13,7 +13,7 @@ build->confirmUnlinkStory)?> build->confirmUnlinkBug)?> -config->global->flow)?> +global->flow)?>