mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
only open device tabs <ul> if we are allowed to show tabs!
git-svn-id: http://www.observium.org/svn/observer/trunk@2904 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -37,11 +37,11 @@ if (device_permitted($vars['device']) || $check_device == $vars['device'])
|
||||
|
||||
echo('<div class="tabBox">');
|
||||
|
||||
echo('<ul class="tabs">');
|
||||
|
||||
if (device_permitted($device['device_id']))
|
||||
{
|
||||
if ($config['show_overview_tab'])
|
||||
echo('<ul class="tabs">');
|
||||
|
||||
if ($config['show_overview_tab'])
|
||||
{
|
||||
echo('
|
||||
<li class="' . $select['overview'] . '">
|
||||
|
||||
Reference in New Issue
Block a user