mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
extend simple menubar to applications page
git-svn-id: http://www.observium.org/svn/observer/trunk@2052 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -14,13 +14,13 @@ while ($app = mysql_fetch_assoc($query))
|
||||
|
||||
if ($_GET['opta'] == $app['app_type'])
|
||||
{
|
||||
echo("<strong>");
|
||||
echo('<img src="images/icons/'.$app['app_type'].'.png" class="optionicon" />');
|
||||
echo("<span class='pagemenu-selected'>");
|
||||
#echo('<img src="images/icons/'.$app['app_type'].'.png" class="optionicon" />');
|
||||
} else {
|
||||
echo('<img src="images/icons/greyscale/'.$app['app_type'].'.png" class="optionicon" />');
|
||||
#echo('<img src="images/icons/greyscale/'.$app['app_type'].'.png" class="optionicon" />');
|
||||
}
|
||||
echo("<a href='".$config['base_url']."/device/".$device['device_id']."/apps/" . $app['app_type'] . ($_GET['optb'] ? "/" . $_GET['optb'] : ''). "/'> " . $app['app_type'] ."</a>\n");
|
||||
if ($_GET['opta'] == $app['app_type']) { echo("</strong>"); }
|
||||
echo("<a href='".$config['base_url']."/device/".$device['device_id']."/apps/" . $app['app_type'] . ($_GET['optb'] ? "/" . $_GET['optb'] : ''). "/'> " . $app['app_type'] ."</a>");
|
||||
if ($_GET['opta'] == $app['app_type']) { echo("</span>"); }
|
||||
$sep = " | ";
|
||||
}
|
||||
|
||||
@@ -33,4 +33,4 @@ if (is_file("pages/device/apps/".mres($_GET['opta']).".inc.php"))
|
||||
include("pages/device/apps/".mres($_GET['opta']).".inc.php");
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user