mark ports deleted when deleted. allow changing of top logo (maybe we remove this again, i dunno)

git-svn-id: http://www.observium.org/svn/observer/trunk@2683 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-10-13 09:27:50 +00:00
parent 180148002c
commit d1092794c3
2 changed files with 4 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
<div id="gumax-header">
<div id="gumax-p-logo">
<div id="p-logo">
<a style="background-image: url('images/observium-logo.png');" accesskey="z" href=""></a>
<a style="background-image: url('<?php echo($config['title_image']); ?>');" accesskey="z" href=""></a>
</div>
<script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
</div>

View File

@@ -120,6 +120,9 @@ foreach ($port_stats as $ifIndex => $port)
dbUpdate(array('deleted' => '0'), 'ports', '`interface_id` = ?', array($ports[$ifIndex]['interface_id']));
$ports[$ifIndex]['deleted'] = "0";
}
} else {
dbUpdate(array('deleted' => '1'), 'ports', '`interface_id` = ?', array($ports[$ifIndex]['interface_id']));
$ports[$ifIndex]['deleted'] = "1";
}
}
/// End New interface detection