From de40baa42788656eb7f95321eb3be4af7b2e6896 Mon Sep 17 00:00:00 2001 From: xia0ta0 Date: Fri, 7 Mar 2014 11:06:42 +0800 Subject: [PATCH] * code for task#1844. --- module/bug/view/browse.html.php | 8 ++++---- module/common/model.php | 2 +- module/common/view/footer.lite.html.php | 1 - module/common/view/header.lite.html.php | 4 ++-- module/my/view/blocktasks.html.php | 2 +- module/my/view/index.html.php | 3 +-- module/my/view/task.html.php | 4 ++-- module/product/view/browse.html.php | 4 ++-- module/project/view/bug.html.php | 2 +- module/project/view/task.html.php | 14 +++++++------- module/project/view/taskheader.html.php | 4 ++-- module/testcase/view/browse.html.php | 6 +++--- module/tree/model.php | 5 ++--- module/tree/view/browse.html.php | 4 ++-- 14 files changed, 30 insertions(+), 33 deletions(-) diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 2c63b8741c..13660406e6 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -40,7 +40,7 @@ js::set('customed', $customed); '; - echo html::a("#", " " . $lang->export, '', "id='exportAction' onclick=toggleSubMenu(this.id,'bottom',0) title='{$lang->export}'"); + echo html::a("#", " " . $lang->export, '', "id='exportAction' onclick=\"toggleSubMenu(this.id,'bottom',0)\" title='{$lang->export}'"); echo ''; common::printIcon('bug', 'report', "productID=$productID&browseType=$browseType&moduleID=$moduleID"); @@ -189,7 +189,7 @@ if($customed) echo ""; $actionLink = $this->createLink('bug', 'batchEdit', "productID=$productID"); - $misc = common::hasPriv('bug', 'batchEdit') ? "onclick=setFormAction('$actionLink')" : "disabled='disabled'"; + $misc = common::hasPriv('bug', 'batchEdit') ? "onclick=\"setFormAction('$actionLink')\"" : "disabled='disabled'"; echo "
"; echo html::commonButton($lang->edit, $misc); echo ""; @@ -213,7 +213,7 @@ if($customed) $class = "class='disabled'"; $actionLink = $this->createLink('bug', 'batchConfirm'); - $misc = common::hasPriv('bug', 'batchConfirm') ? "onclick=setFormAction('$actionLink','hiddenwin')" : "class='disabled'"; + $misc = common::hasPriv('bug', 'batchConfirm') ? "onclick=\"setFormAction('$actionLink','hiddenwin')\"" : "class='disabled'"; echo "
  • " . html::a('#', $lang->bug->confirmBug, '', $misc) . "
  • "; $misc = common::hasPriv('bug', 'batchResolve') ? "onmouseover='toggleSubMenu(this.id)' onmouseout='toggleSubMenu(this.id)' id='resolveItem'" : $class; @@ -233,7 +233,7 @@ if($customed) echo "
  • "; if($key == 'fixed') { - echo html::a('#', $resolution, '', "onmouseover=toggleSubMenu(this.id,'right',2) id='fixedItem'"); + echo html::a('#', $resolution, '', "onmouseover=\"toggleSubMenu(this.id,'right',2)\" id='fixedItem'"); } else { diff --git a/module/common/model.php b/module/common/model.php index ea01c9da0d..cce8418f21 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -386,7 +386,7 @@ class commonModel extends model echo "
  • "; echo "\n"; diff --git a/module/common/view/footer.lite.html.php b/module/common/view/footer.lite.html.php index 8008f62818..79d5ce3c98 100755 --- a/module/common/view/footer.lite.html.php +++ b/module/common/view/footer.lite.html.php @@ -1,4 +1,3 @@ -
    getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>