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:
Tom Laermans
2011-03-16 23:10:10 +00:00
parent b3dc4c3129
commit 1a477eebbe
57 changed files with 1070 additions and 1059 deletions
+5 -3
View File
@@ -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");
}
?>
?>