From 63882542e0055c1bd08a8e63cde08d2f4eb2c587 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Mon, 1 Mar 2021 08:51:36 +0800 Subject: [PATCH] * Adjust the navigation list buttons. --- module/product/model.php | 4 ++-- module/program/model.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/module/product/model.php b/module/product/model.php index 7311e57233..a80f08ef8d 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -488,8 +488,8 @@ class productModel extends model */ public function getProductMainAction() { - $link = html::a(helper::createLink('product', 'all'), $this->lang->product->product, '', "style='border: none;'"); - $html = "

" . $link . "

"; + $link = html::a(helper::createLink('product', 'all'), "", '', "style='border: none;'"); + $html = "

" . $link . "

"; return common::hasPriv('product', 'all') ? $html : ''; } diff --git a/module/program/model.php b/module/program/model.php index 352fe821d5..57cfe0926b 100644 --- a/module/program/model.php +++ b/module/program/model.php @@ -31,8 +31,8 @@ class programModel extends model */ public function getPGMMainAction() { - $link = html::a(helper::createLink('program', 'pgmbrowse'), $this->lang->program->PGMBrowse, '', "style='border: none;'"); - $html = "

" . $link . "

"; + $link = html::a(helper::createLink('program', 'pgmbrowse'), "", '', "style='border: none;'"); + $html = "

" . $link . "

"; return common::hasPriv('program', 'pgmbrowse') ? $html : ''; } @@ -893,8 +893,8 @@ class programModel extends model */ public function getPRJMainAction($module, $method) { - $link = html::a(helper::createLink('program', 'prjbrowse'), $this->lang->program->PRJBrowse, '', "style='border: none;'"); - $html = "

" . $link . "

"; + $link = html::a(helper::createLink('program', 'prjbrowse'), "", '', "style='border: none;'"); + $html = "

" . $link . "

"; return common::hasPriv('program', 'prjbrowse') ? $html : ''; }