diff --git a/module/backup/view/index.html.php b/module/backup/view/index.html.php
index 6d7bef3fd7..5572e7c853 100644
--- a/module/backup/view/index.html.php
+++ b/module/backup/view/index.html.php
@@ -36,7 +36,7 @@
backup->history?>
- " . $lang->backup->setting, '', "data-width='500' class='iframe btn btn-primary'");?>
+ " . $lang->backup->setting, '', "data-width='500' class='iframe btn btn-primary'");?>
" . $lang->backup->backup, 'hiddenwin', "class='btn btn-primary backup'");?>
diff --git a/module/block/view/productstatisticblock.html.php b/module/block/view/productstatisticblock.html.php
index 40f7d58547..0445263b63 100644
--- a/module/block/view/productstatisticblock.html.php
+++ b/module/block/view/productstatisticblock.html.php
@@ -157,7 +157,7 @@ $(function()
- id}", "" . $lang->productplan->create, '', "class='btn btn-info'");?>
+ id}", " " . $lang->productplan->create, '', "class='btn btn-info'");?>
@@ -190,7 +190,7 @@ $(function()
- id}", "" . $lang->release->create, '', "class='btn btn-info'");?>
+ id}", " " . $lang->release->create, '', "class='btn btn-info'");?>
diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php
index 2eb9bc2557..2356adcc4c 100644
--- a/module/bug/view/browse.html.php
+++ b/module/bug/view/browse.html.php
@@ -181,7 +181,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
>
createLink('bug', 'batchCreate', "productID=$productID&branch=$branch&executionID=0&moduleID=$moduleID");
- echo "" . html::a($batchLink, "" . $lang->bug->batchCreate) . "";
+ echo "
" . html::a($batchLink, " " . $lang->bug->batchCreate) . "";
?>
diff --git a/module/bug/view/report.html.php b/module/bug/view/report.html.php
index 10db781752..118c64ed1a 100644
--- a/module/bug/view/report.html.php
+++ b/module/bug/view/report.html.php
@@ -13,7 +13,7 @@
- createLink('bug', 'browse', "productID=$productID&branch=0&browseType=$browseType&moduleID=$moduleID"), "
" . $lang->goback, '', "class='btn btn-link'");?>
+ createLink('bug', 'browse', "productID=$productID&branch=0&browseType=$browseType&moduleID=$moduleID"), "
" . $lang->goback, '', "class='btn btn-link'");?>
bug->report->common;?>
diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php
index 6c0bf203ad..2f3277774f 100644
--- a/module/bug/view/view.html.php
+++ b/module/bug/view/view.html.php
@@ -32,7 +32,7 @@
app->openApp) !== false ? $this->app->openApp : 'qa';?>
- product}&branch={$bug->branch}&extra=moduleID={$bug->module},projectID={$bug->project},executionID={$bug->execution}", "" . $lang->bug->create, '', "class='btn btn-primary' data-app='$openApp'"); ?>
+ product}&branch={$bug->branch}&extra=moduleID={$bug->module},projectID={$bug->project},executionID={$bug->execution}", " " . $lang->bug->create, '', "class='btn btn-primary' data-app='$openApp'"); ?>
diff --git a/module/caselib/view/browse.html.php b/module/caselib/view/browse.html.php
index cf3f8f97b7..e4e94f5217 100644
--- a/module/caselib/view/browse.html.php
+++ b/module/caselib/view/browse.html.php
@@ -51,16 +51,16 @@ js::set('flow', $config->global->flow);
if(common::hasPriv('caselib', 'view'))
{
$link = helper::createLink('caselib', 'view', "libID=$libID");
- echo html::a($link, "
" . $this->lang->caselib->view, '', "class='btn btn-link'");
+ echo html::a($link, "
" . $this->lang->caselib->view, '', "class='btn btn-link'");
}
?>
- " . $lang->caselib->exportTemplet, '', "class='btn btn-link export' data-width='40%'");?>
- " . $lang->testcase->fileImport, '', "class='btn btn-link export'");?>
+ " . $lang->caselib->exportTemplet, '', "class='btn btn-link export' data-width='40%'");?>
+ " . $lang->testcase->fileImport, '', "class='btn btn-link export'");?>
- createLink('caselib', 'create'), "
" . $lang->caselib->create, '', 'class="btn btn-secondary"');?>
+ createLink('caselib', 'create'), "
" . $lang->caselib->create, '', 'class="btn btn-secondary"');?>
' . $this->lang->doc->createBook, '', 'class="btn btn-secondary iframe"');
+ $html = html::a(helper::createLink('doc', 'createLib', "type=$objectType&objectID=$objectID"), '
' . $this->lang->doc->createBook, '', 'class="btn btn-secondary iframe"');
}
elseif($libID)
{
$html = "
";
- $html .= "";
+ $html .= "";
$html .= "
diff --git a/module/execution/view/bug.html.php b/module/execution/view/bug.html.php
index 2a87a5589a..84afd362bf 100644
--- a/module/execution/view/bug.html.php
+++ b/module/execution/view/bug.html.php
@@ -25,7 +25,7 @@
bug->search;?>
- id", " " . $lang->bug->export, '', "class='btn btn-link export'");?>
+ id", " " . $lang->bug->export, '', "class='btn btn-link export'");?>
id", " " . $lang->bug->create, '', "class='btn btn-primary'");?>
diff --git a/module/execution/view/kanban.html.php b/module/execution/view/kanban.html.php
index 49307adf4f..5db8444efb 100644
--- a/module/execution/view/kanban.html.php
+++ b/module/execution/view/kanban.html.php
@@ -41,7 +41,7 @@
$checkObject->execution = $executionID;
$misc = common::hasPriv('task', 'create', $checkObject) ? "class='btn btn-primary iframe' data-width='1200px'" : "class='btn btn-primary disabled'";
$link = common::hasPriv('task', 'create', $checkObject) ? $this->createLink('task', 'create', "execution=$executionID" . (isset($moduleID) ? "&storyID=&moduleID=$moduleID" : ''), '', true) : '#';
- echo html::a($link, "
" . $lang->task->create, '', $misc);
+ echo html::a($link, "
" . $lang->task->create, '', $misc);
?>
diff --git a/module/execution/view/task.html.php b/module/execution/view/task.html.php
index 8443f62667..25942972aa 100644
--- a/module/execution/view/task.html.php
+++ b/module/execution/view/task.html.php
@@ -171,7 +171,7 @@ body {margin-bottom: 25px;}
>
createLink('task', 'batchCreate', "execution=$executionID" . (isset($moduleID) ? "&storyID=&moduleID=$moduleID" : ''));
- echo "" . html::a($batchLink, "" . $lang->task->batchCreate) . "";
+ echo "
" . html::a($batchLink, " " . $lang->task->batchCreate) . "";
?>
diff --git a/module/execution/view/taskheader.html.php b/module/execution/view/taskheader.html.php
index 1c298bd1cd..c613a8bf5b 100644
--- a/module/execution/view/taskheader.html.php
+++ b/module/execution/view/taskheader.html.php
@@ -84,7 +84,7 @@
-
diff --git a/module/personnel/view/whitelist.html.php b/module/personnel/view/whitelist.html.php
index 6291704cda..dd4c75a106 100644
--- a/module/personnel/view/whitelist.html.php
+++ b/module/personnel/view/whitelist.html.php
@@ -20,7 +20,7 @@
- " . $lang->personnel->addWhitelist, '', "class='btn btn-primary' $openApp");?>
+ " . $lang->personnel->addWhitelist, '', "class='btn btn-primary' $openApp");?>
diff --git a/module/product/view/all.html.php b/module/product/view/all.html.php
index 47ec434873..19e5d44450 100644
--- a/module/product/view/all.html.php
+++ b/module/product/view/all.html.php
@@ -20,7 +20,7 @@
" . $lang->product->line, '', 'class="btn btn-link iframe"', '', true);?>
- ' . $lang->product->create, '', 'class="btn btn-primary"');?>
+ ' . $lang->product->create, '', 'class="btn btn-primary"');?>
diff --git a/module/program/control.php b/module/program/control.php
index 9daaaf03d7..0efabdc13c 100644
--- a/module/program/control.php
+++ b/module/program/control.php
@@ -28,7 +28,7 @@ class program extends control
*/
public function browse($status = 'all', $orderBy = 'order_asc')
{
- if(common::hasPriv('program', 'create')) $this->lang->pageActions = html::a($this->createLink('program', 'create'), "" . $this->lang->program->create, '', "class='btn btn-primary'");
+ if(common::hasPriv('program', 'create')) $this->lang->pageActions = html::a($this->createLink('program', 'create'), " " . $this->lang->program->create, '', "class='btn btn-primary'");
$this->session->set('programList', $this->app->getURI(true), 'program');
$this->session->set('projectList', $this->app->getURI(true), 'project');
diff --git a/module/program/view/browse.html.php b/module/program/view/browse.html.php
index 3059e465f2..1003efc783 100644
--- a/module/program/view/browse.html.php
+++ b/module/program/view/browse.html.php
@@ -27,9 +27,9 @@
config->maxVersion)):?>
- ' . $lang->project->create, '', 'class="btn btn-secondary" data-toggle="modal" data-target="#guideDialog"');?>
+ ' . $lang->project->create, '', 'class="btn btn-secondary" data-toggle="modal" data-target="#guideDialog"');?>
config->systemMode == 'new'):?>
- ' . $lang->project->create, '', 'class="btn btn-secondary"');?>
+ ' . $lang->project->create, '', 'class="btn btn-secondary"');?>
pageActions)) echo $lang->pageActions;?>
diff --git a/module/program/view/product.html.php b/module/program/view/product.html.php
index 8e726647fe..8984018b8d 100644
--- a/module/program/view/product.html.php
+++ b/module/program/view/product.html.php
@@ -21,7 +21,7 @@
- id", '' . $lang->product->create, '', 'class="btn btn-primary"');?>
+ id", ' ' . $lang->product->create, '', 'class="btn btn-primary"');?>
diff --git a/module/program/view/project.html.php b/module/program/view/project.html.php
index 6abb22e1a5..3b82bc8ecb 100644
--- a/module/program/view/project.html.php
+++ b/module/program/view/project.html.php
@@ -31,9 +31,9 @@ js::set('browseType', $browseType);
config->maxVersion)):?>
- ' . $lang->project->create, '', 'class="btn btn-primary" data-toggle="modal" data-target="#guideDialog"');?>
+ ' . $lang->project->create, '', 'class="btn btn-primary" data-toggle="modal" data-target="#guideDialog"');?>
config->systemMode == 'new'):?>
- ' . $lang->project->create, '', 'class="btn btn-primary"');?>
+ ' . $lang->project->create, '', 'class="btn btn-primary"');?>
@@ -44,9 +44,9 @@ js::set('browseType', $browseType);
project->empty;?>
config->maxVersion)):?>
- ' . $lang->project->create, '', 'class="btn btn-info btn-wide " data-toggle="modal" data-target="#guideDialog"');?>
+ ' . $lang->project->create, '', 'class="btn btn-info btn-wide " data-toggle="modal" data-target="#guideDialog"');?>
config->systemMode == 'new'):?>
- ' . $lang->project->create, '', 'class="btn btn-info btn-wide"');?>
+ ' . $lang->project->create, '', 'class="btn btn-info btn-wide"');?>
diff --git a/module/program/view/stakeholder.html.php b/module/program/view/stakeholder.html.php
index 291e500763..05f4574d08 100644
--- a/module/program/view/stakeholder.html.php
+++ b/module/program/view/stakeholder.html.php
@@ -17,7 +17,7 @@
createLink('program', 'stakeholder', "programID=$programID"), '' . $lang->program->stakeholder . '', '', 'class="btn btn-link btn-active-text"');?>
- " . $lang->program->createStakeholder, '', "class='btn btn-primary'");?>
+ " . $lang->program->createStakeholder, '', "class='btn btn-primary'");?>
diff --git a/module/project/view/browsebycard.html.php b/module/project/view/browsebycard.html.php
index 5e2576196d..c88631f78a 100644
--- a/module/project/view/browsebycard.html.php
+++ b/module/project/view/browsebycard.html.php
@@ -27,11 +27,11 @@
", '', "class='btn btn-icon' title='{$lang->project->bylist}' id='switchButton' data-type='bylist'");?>
config->maxVersion)):?>
- ' . $lang->project->create, '', 'class="btn btn-primary" data-toggle="modal" data-target="#guideDialog"');?>
+ ' . $lang->project->create, '', 'class="btn btn-primary" data-toggle="modal" data-target="#guideDialog"');?>
config->systemMode == 'new'):?>
- ' . $lang->project->create, '', 'class="btn btn-primary"');?>
+ ' . $lang->project->create, '', 'class="btn btn-primary"');?>
- ' . $lang->execution->create, '', 'class="btn btn-primary"');?>
+ ' . $lang->execution->create, '', 'class="btn btn-primary"');?>
@@ -42,11 +42,11 @@
project->empty;?>
config->maxVersion)):?>
- ' . $lang->project->create, '', 'class="btn btn-info" data-toggle="modal" data-target="#guideDialog"');?>
+ ' . $lang->project->create, '', 'class="btn btn-info" data-toggle="modal" data-target="#guideDialog"');?>
config->systemMode == 'new'):?>
- ' . $lang->project->create, '', 'class="btn btn-info"');?>
+ ' . $lang->project->create, '', 'class="btn btn-info"');?>
- ' . $lang->execution->create, '', 'class="btn btn-info"');?>
+ ' . $lang->execution->create, '', 'class="btn btn-info"');?>
diff --git a/module/project/view/browsebylist.html.php b/module/project/view/browsebylist.html.php
index ca451913f1..3964ea8443 100644
--- a/module/project/view/browsebylist.html.php
+++ b/module/project/view/browsebylist.html.php
@@ -38,11 +38,11 @@
", '', "class='btn btn-icon text-primary' title='{$lang->project->bylist}' id='switchButton' data-type='bylist'");?>
config->maxVersion)):?>
- ' . $lang->project->create, '', 'class="btn btn-primary" data-toggle="modal" data-target="#guideDialog"');?>
+ ' . $lang->project->create, '', 'class="btn btn-primary" data-toggle="modal" data-target="#guideDialog"');?>
config->systemMode == 'new'):?>
- ' . $lang->project->create, '', 'class="btn btn-primary"');?>
+ ' . $lang->project->create, '', 'class="btn btn-primary"');?>
- ' . $lang->execution->create, '', 'class="btn btn-primary"');?>
+ ' . $lang->execution->create, '', 'class="btn btn-primary"');?>
@@ -64,11 +64,11 @@
project->empty;?>
config->maxVersion)):?>
- ' . $lang->project->create, '', 'class="btn btn-info" data-toggle="modal" data-target="#guideDialog"');?>
+ ' . $lang->project->create, '', 'class="btn btn-info" data-toggle="modal" data-target="#guideDialog"');?>
config->systemMode == 'new'):?>
- ' . $lang->project->create, '', 'class="btn btn-info"');?>
+ ' . $lang->project->create, '', 'class="btn btn-info"');?>
- ' . $lang->execution->create, '', 'class="btn btn-info"');?>
+ ' . $lang->execution->create, '', 'class="btn btn-info"');?>
diff --git a/module/project/view/bug.html.php b/module/project/view/bug.html.php
index aa454ec187..2fd37b292e 100644
--- a/module/project/view/bug.html.php
+++ b/module/project/view/bug.html.php
@@ -25,7 +25,7 @@
bug->search;?>
- id", " " . $lang->bug->export, '', "class='btn btn-link export'");?>
+ id", " " . $lang->bug->export, '', "class='btn btn-link export'");?>
id", " " . $lang->bug->create, '', "class='btn btn-primary'");?>
diff --git a/module/repo/view/blame.html.php b/module/repo/view/blame.html.php
index dd129dc110..2a6a578079 100644
--- a/module/repo/view/blame.html.php
+++ b/module/repo/view/blame.html.php
@@ -20,11 +20,11 @@ css::import($jsRoot . 'misc/highlight/styles/github.css');
$backURI = $this->session->repoView ? $this->session->repoView : $this->session->repoList;
if($backURI)
{
- echo html::a($backURI, "" . $lang->goback, '', "class='btn btn-link' data-app='{$app->openApp}'");
+ echo html::a($backURI, " " . $lang->goback, '', "class='btn btn-link' data-app='{$app->openApp}'");
}
else
{
- echo html::backButton("" . $lang->goback, '', 'btn btn-link');
+ echo html::backButton(" " . $lang->goback, '', 'btn btn-link');
}
?>
diff --git a/module/repo/view/diff.html.php b/module/repo/view/diff.html.php
index 0eb648aa81..83b1545476 100644
--- a/module/repo/view/diff.html.php
+++ b/module/repo/view/diff.html.php
@@ -18,11 +18,11 @@
$backURI = $this->session->repoView ? $this->session->repoView : $this->session->repoList;
if($backURI)
{
- echo html::a($backURI, "" . $lang->goback, '', "class='btn btn-link' data-app='{$app->openApp}'");
+ echo html::a($backURI, " " . $lang->goback, '', "class='btn btn-link' data-app='{$app->openApp}'");
}
else
{
- echo html::backButton("" . $lang->goback, '', "btn btn-link");
+ echo html::backButton(" " . $lang->goback, '', "btn btn-link");
}
?>
diff --git a/module/repo/view/log.html.php b/module/repo/view/log.html.php
index 4e780f9653..a1e63fd377 100644
--- a/module/repo/view/log.html.php
+++ b/module/repo/view/log.html.php
@@ -13,7 +13,7 @@