From 8de42e5bca850d60de4667b56e864c5c6913ee5f Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Fri, 30 Jul 2021 11:20:55 +0800 Subject: [PATCH] * add space between icon and text. --- module/backup/view/index.html.php | 2 +- module/block/view/productstatisticblock.html.php | 4 ++-- module/bug/view/browse.html.php | 2 +- module/bug/view/report.html.php | 2 +- module/bug/view/view.html.php | 2 +- module/caselib/view/browse.html.php | 8 ++++---- module/doc/model.php | 8 ++++---- module/doc/view/browsebygrid.html.php | 6 +++--- module/doc/view/tablecontents.html.php | 4 ++-- module/execution/view/all.html.php | 2 +- module/execution/view/bug.html.php | 2 +- module/execution/view/kanban.html.php | 2 +- module/execution/view/task.html.php | 2 +- module/execution/view/taskheader.html.php | 10 +++++----- module/execution/view/tree.html.php | 2 +- module/personnel/view/whitelist.html.php | 2 +- module/product/view/all.html.php | 2 +- module/program/control.php | 2 +- module/program/view/browse.html.php | 4 ++-- module/program/view/product.html.php | 2 +- module/program/view/project.html.php | 8 ++++---- module/program/view/stakeholder.html.php | 2 +- module/project/view/browsebycard.html.php | 12 ++++++------ module/project/view/browsebylist.html.php | 12 ++++++------ module/project/view/bug.html.php | 2 +- module/repo/view/blame.html.php | 4 ++-- module/repo/view/diff.html.php | 4 ++-- module/repo/view/log.html.php | 2 +- module/repo/view/revision.html.php | 2 +- module/repo/view/view.html.php | 2 +- module/stakeholder/view/browse.html.php | 4 ++-- module/stakeholder/view/userissue.html.php | 2 +- module/stakeholder/view/view.html.php | 2 +- module/stakeholder/view/viewissue.html.php | 10 +++++----- module/story/view/report.html.php | 4 ++-- module/story/view/view.html.php | 2 +- module/testcase/view/caseheader.html.php | 4 ++-- module/testcase/view/view.html.php | 2 +- module/testreport/view/browse.html.php | 2 +- module/testreport/view/edit.html.php | 2 +- module/testreport/view/view.html.php | 2 +- module/tree/view/browse.html.php | 2 +- module/webhook/view/log.html.php | 4 ++-- 43 files changed, 81 insertions(+), 81 deletions(-) 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 @@
    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 @@