'.$error_db['oid'].' | ' . PHP_EOL);
$timediff = $GLOBALS['config']['time']['now'] - $error_db['updated'];
echo(''.generate_tooltip_link('', format_uptime($timediff, "short-3").' ago', format_unixtime($error_db['updated'])).' | ' . PHP_EOL);
echo(''.$error_codes[$error_db['error_code']]['reason'].' | ' . PHP_EOL);
echo(''.$error_db['error_count'].' | ' . PHP_EOL);
echo(''.round($error_db['error_rate'], 2).'/poll | ' . PHP_EOL);
echo('' . PHP_EOL);
$form = array('type' => 'simple');
// Elements
$form['row'][0]['mib'] = array('type' => 'hidden',
'value' => $mib);
$form['row'][0]['toggle_oid'] = array('type' => 'hidden',
'value' => $error_db['oid']);
$form['row'][0]['submit'] = array('type' => 'submit',
'name' => '',
'class' => 'btn-mini btn-'.$error_class,
'icon' => $btn_icon,
'right' => TRUE,
'readonly' => $readonly,
'disabled' => TRUE, // This button disabled for now, because disabling oids in progress
'value' => 'toggle_oid');
print_form($form); unset($form);
echo(' | ' . PHP_EOL);
echo('
' . PHP_EOL);
}
echo('