* Adjust the navigation list buttons.
This commit is contained in:
@@ -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 : '';
|
||||
}
|
||||
|
||||
|
||||
@@ -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 : '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user