* Adjust the navigation list buttons.

This commit is contained in:
tianshujie98
2021-03-01 08:51:36 +08:00
parent 0944ebb9bf
commit 63882542e0
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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 = "<p style='padding-top:5px;'><i class='icon icon-list' style='padding-right:5px;'></i>" . $link . "</p>";
$link = html::a(helper::createLink('product', 'all'), "<i class='icon icon-list'></i>", '', "style='border: none;'");
$html = "<p style='padding-top:5px;'>" . $link . "</p>";
return common::hasPriv('product', 'all') ? $html : '';
}
+4 -4
View File
@@ -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 = "<p style='padding-top:5px;'><i class='icon icon-list' style='padding-right:5px;'></i>" . $link . "</p>";
$link = html::a(helper::createLink('program', 'pgmbrowse'), "<i class='icon icon-list'></i>", '', "style='border: none;'");
$html = "<p style='padding-top:5px;'>" . $link . "</p>";
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 = "<p style='padding-top:5px;'><i class='icon icon-list' style='padding-right:5px;'></i>" . $link . "</p>";
$link = html::a(helper::createLink('program', 'prjbrowse'), "<i class='icon icon-list'></i>", '', "style='border: none;'");
$html = "<p style='padding-top:5px;'>" . $link . "</p>";
return common::hasPriv('program', 'prjbrowse') ? $html : '';
}