From 1f2f21e44bf3ab7efe95e2c7bfad7b1e446817d8 Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Sat, 29 Aug 2020 13:20:50 +0800 Subject: [PATCH] * Adjust code style. --- module/bug/model.php | 4 ++-- module/bug/view/browse.html.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/bug/model.php b/module/bug/model.php index a2d221ad74..fb33d6153c 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -36,7 +36,7 @@ class bugModel extends model if($isMobile) { $this->app->loadLang('qa'); - $pageNav = html::a(helper::createLink('qa', 'index', ''), $this->lang->qa->index) . $this->lang->colon; + $pageNav = html::a(helper::createLink('qa', 'index'), $this->lang->qa->index) . $this->lang->colon; } else { @@ -2680,7 +2680,7 @@ class bugModel extends model common::printIcon('bug', 'confirmBug', $params, $bug, 'list', 'confirm', '', 'iframe', true); common::printIcon('bug', 'resolve', $params, $bug, 'list', 'checked', '', 'iframe', true); common::printIcon('bug', 'close', $params, $bug, 'list', '', '', 'iframe', true); - common::printIcon('bug', 'edit', $params, $bug, 'list', '', '', '', ''); + common::printIcon('bug', 'edit', $params, $bug, 'list'); common::printIcon('bug', 'create', "product=$bug->product&branch=$bug->branch&extra=$params", $bug, 'list', 'copy'); break; } diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 2837b67813..fd3e28a4a6 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -29,7 +29,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow echo $moduleName; if($moduleID) { - $removeLink = $browseType == 'bymodule' ? $this->createLink('bug', 'browse', "productID=$productID&branch=$branch&browseType=$browseType¶m=0&orderBy=$orderBy&recTotal=0&recPerPage={$pager->recPerPage}") : 'javascript:removeCookieByKey("bugModule")'; + $removeLink = $browseType == 'bymodule' ? inlink('browse', "productID=$productID&branch=$branch&browseType=$browseType¶m=0&orderBy=$orderBy&recTotal=0&recPerPage={$pager->recPerPage}") : 'javascript:removeCookieByKey("bugModule")'; echo html::a($removeLink, "", '', "class='text-muted'"); } ?>