improved authentication checks (not sure this file is the right place, but meh) from sovern (also some fixes for diskio_ops)

git-svn-id: http://www.observium.org/svn/observer/trunk@1299 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-05 19:19:19 +00:00
parent 9851b77203
commit 96c74a23bb
3 changed files with 20 additions and 5 deletions

View File

@@ -212,10 +212,10 @@ function generate_port_thumbnail($args)
echo $output;
}
function print_optionbar_start ($height = 20, $width = 0)
function print_optionbar_start ($height = 20, $width = 0, $marginbottom = 5)
{
echo("
<div style='text-align: center; margin-top: 0px; margin-bottom: 0px; " . ($width ? 'max-width: ' . $width . (strstr($width,'%') ? '' : 'px') . '; ' : '') . "'>
<div style='text-align: center; margin-top: 0px; margin-bottom: ".$marginbottom."px; " . ($width ? 'max-width: ' . $width . (strstr($width,'%') ? '' : 'px') . '; ' : '') . "'>
<b class='rounded'>
<b class='rounded1'><b></b></b>
<b class='rounded2'><b></b></b>