mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
device subpages cleanup, remove dead code
git-svn-id: http://www.observium.org/svn/observer/trunk@1896 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -5,10 +5,12 @@ $query = mysql_query("SELECT * FROM `applications` WHERE `device_id` = '".$devic
|
||||
print_optionbar_start();
|
||||
|
||||
unset($sep);
|
||||
while($app = mysql_fetch_array($query)) {
|
||||
|
||||
while ($app = mysql_fetch_array($query))
|
||||
{
|
||||
echo($sep);
|
||||
|
||||
if(!$_GET['opta']) { $_GET['opta'] = $app['app_type']; }
|
||||
if (!$_GET['opta']) { $_GET['opta'] = $app['app_type']; }
|
||||
|
||||
if ($_GET['opta'] == $app['app_type'])
|
||||
{
|
||||
@@ -31,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