diff --git a/module/bug/control.php b/module/bug/control.php index 6b48550e2e..9fc571b773 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -942,8 +942,7 @@ class bug extends control $bugs = $this->bug->getLinkedBugs($linkedBugs); /* Build linkBug list.*/ - $output = "'; die($output); } @@ -971,13 +969,11 @@ class bug extends control $bugs = $this->bug->deleteLinkedBug($bugID, $deleteBug); /* Build linkBug list. */ - $output = "'; die($output); } diff --git a/module/bug/css/edit.css b/module/bug/css/edit.css index 57e4d4ef0a..d8ae28005e 100644 --- a/module/bug/css/edit.css +++ b/module/bug/css/edit.css @@ -2,4 +2,4 @@ .col-side .chosen-container {width: 218px!important} .col-side .chosen-container[id^="openedBuild"] {width: 172px!important} .col-side .chosen-container[id^="resolvedBuild"] {width: 172px!important} -#linkBugBox > .list-unstyled > li {margin-left:-56px} +#linkBugBox > li {margin-left:-56px} diff --git a/module/bug/view/edit.html.php b/module/bug/view/edit.html.php index ee7fa5f391..ac2c81d1b1 100644 --- a/module/bug/view/edit.html.php +++ b/module/bug/view/edit.html.php @@ -232,9 +232,9 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild); - - - -
bug->linkBug;?> -
    +
createLink('bug', 'linkBugs', "bugID=$bug->id&bugs=$bug->linkBug", '', true), $lang->bug->linkBugs, '', "data-toggle='modal' data-type='iframe' data-width='85%'");?> +
    linkBugTitles)) { diff --git a/module/search/model.php b/module/search/model.php index eecf5c2a58..3d085e292a 100644 --- a/module/search/model.php +++ b/module/search/model.php @@ -30,10 +30,6 @@ class searchModel extends model $searchParams['style'] = zget($searchConfig, 'style', 'full'); $searchParams['queryID'] = isset($searchConfig['queryID']) ? $searchConfig['queryID'] : 0; - /* remove onlybody for url*/ - $onlybodyParam = $this->config->requestType == 'GET' ? '&onlybody=yes' : '?onlybody=yes'; - $searchParams['actionURL'] = str_replace($onlybodyParam, '', $searchParams['actionURL']); - $this->session->set('searchParams', $searchParams); } diff --git a/module/story/control.php b/module/story/control.php index b691876c31..ccc7e7beb0 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -946,6 +946,7 @@ class story extends control $this->view->type = $type; $this->view->allStories = $allStories; $this->view->users = $this->loadModel('user')->getPairs('noletter'); + $this->view->actionURL = $this->config->product->search; $this->display(); } @@ -964,8 +965,7 @@ class story extends control $stories = $this->story->getLinkedStories($linkedStories); $story = $this->story->getById($storyID); - $output = "
      "; - $output .= html::a($this->createLink('story', 'linkStory', "storyID=$storyID&type=$type&stories={$story->$type}", '', true), $this->lang->story->linkStory, '', "class='iframe' data-width='85%'"); + $output = ''; foreach($stories as $storyId => $storyTitle) { $output .= '
    • '; @@ -973,7 +973,6 @@ class story extends control $output .= html::a("javascript:deleteLinkedStory($storyID, \"$type\", $storyId)", '', '', "title='{$this->lang->unlink}' style='float:right'"); $output .= '
    • '; } - $output .= '
    '; die($output); } @@ -992,8 +991,7 @@ class story extends control $stories = $this->story->deleteLinkedStory($storyID, $type, $deleteStory); $story = $this->story->getById($storyID); - $output = "
      "; - $output .= html::a($this->createLink('story', 'linkStory', "storyID=$storyID&type=$type&stories={$story->$type}", '', true), $this->lang->story->linkStory, '', "class='iframe' data-width='85%'"); + $output = ""; foreach($stories as $storyId => $storyTitle) { $output .= '
    • '; @@ -1001,7 +999,6 @@ class story extends control $output .= html::a("javascript:deleteLinkedStory($storyID, \"$type\", $storyId)", '', '', "title='{$this->lang->unlink}' style='float:right'"); $output .= '
    • '; } - $output .= '
    '; die($output); } diff --git a/module/story/css/edit.css b/module/story/css/edit.css index 51a2162f96..f5eb5cf828 100644 --- a/module/story/css/edit.css +++ b/module/story/css/edit.css @@ -1,3 +1,3 @@ .col-side .chosen-container .chosen-drop {width: 216px!important} .col-side .chosen-container {width: 218px!important} -#linkStoriesBox > .list-unstyled > li ,#childStoriesBox > .list-unstyled > li {margin-left:-56px} +#linkStoriesBox > li ,#childStoriesBox > li {margin-left:-56px} diff --git a/module/story/view/edit.html.php b/module/story/view/edit.html.php index 98fafeb437..0c88c69103 100644 --- a/module/story/view/edit.html.php +++ b/module/story/view/edit.html.php @@ -171,9 +171,9 @@
story->linkStories;?> -
    +
createLink('story', 'linkStory', "storyID=$story->id&type=linkStories&stories=$story->linkStories", '', true), $lang->story->linkStory, '', "data-toggle='modal' data-type='iframe' data-width='85%'");?> +
    linkStories); foreach($linkStories as $linkStoryID) @@ -192,9 +192,9 @@
story->childStories;?> -
    - createLink('story', 'linkStory', "storyID=$story->id&type=childStories&stories=$story->childStories", '', true), $lang->story->linkStory, '', "class='iframe' data-width='85%'");?> +
+ createLink('story', 'linkStory', "storyID=$story->id&type=childStories&stories=$story->childStories", '', true), $lang->story->linkStory, '', "data-toggle='modal' data-type='iframe' data-width='85%'");?> +
    childStories); foreach($childStories as $childStoryID) diff --git a/module/testcase/control.php b/module/testcase/control.php index b71e25adea..54ea5dd284 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -683,8 +683,7 @@ class testcase extends control $cases = $this->testcase->getLinkedCases($linkedCases); /* Build linkCase list. */ - $output = "
      "; - $output .= html::a($this->createLink('testcase', 'linkCases', "caseID=$caseID&cases=$case->linkCase", '', true), $this->lang->testcase->linkCases, '', "class='iframe' data-width='85%'"); + $output = ''; foreach($cases as $caseId => $caseTitle) { $output .= '
    • '; @@ -692,7 +691,6 @@ class testcase extends control $output .= html::a("javascript:deleteLinkedCase($caseID, $caseId)", '', '', "title='{$this->lang->unlink}' style='float:right'"); $output .= '
    • '; } - $output .= '
    '; die($output); } @@ -712,8 +710,7 @@ class testcase extends control $cases = $this->testcase->deleteLinkedCase($caseID, $deleteCase); /* Build linkCase list. */ - $output = "
      "; - $output .= html::a($this->createLink('testcase', 'linkCases', "caseID=$caseID&cases=$cases", '', true), $this->lang->testcase->linkCases, '', "class='iframe' data-width='85%'"); + $output = ''; foreach($cases as $caseId => $caseTitle) { $output .= '
    • '; @@ -721,7 +718,6 @@ class testcase extends control $output .= html::a("javascript:deleteLinkedCase($caseID, $caseId)", '', '', "title='{$this->lang->unlink}' style='float:right'"); $output .= '
    • '; } - $output .= '
    '; die($output); } diff --git a/module/testcase/css/edit.css b/module/testcase/css/edit.css index b39329fde7..ac96511bf3 100644 --- a/module/testcase/css/edit.css +++ b/module/testcase/css/edit.css @@ -2,4 +2,4 @@ .col-side .chosen-container {width: 218px!important} .table-form > tbody > tr > td .btn.addbutton {display:block; margin:1px 0px; width:40px; padding:1px 6px;} .table-form > tbody > tr > td .btn.delbutton {display:block; margin:1px 0px; width:40px; padding:1px 6px;} -#linkCaseBox > .list-unstyled > li {margin-left:-56px} +#linkCaseBox li {margin-left:-56px} diff --git a/module/testcase/view/edit.html.php b/module/testcase/view/edit.html.php index ef1ab1703c..d5f8729d72 100644 --- a/module/testcase/view/edit.html.php +++ b/module/testcase/view/edit.html.php @@ -142,9 +142,9 @@
testcase->linkCase;?> -
    +
createLink('testcase', 'linkCases', "caseID=$case->id&case=$case->linkCase", '', true), $lang->testcase->linkCases, '', "data-type='iframe' data-toggle='modal' data-width='85%'");?> +
    linkCaseTitles)) {