i win. fucking graphviz.

git-svn-id: http://www.observium.org/svn/observer/trunk@2673 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-10-08 23:49:24 +00:00
parent 6983a94792
commit e87e9b5a02
2 changed files with 27 additions and 11 deletions

View File

@@ -4,7 +4,8 @@ if ($vars['view'] == 'graphs' || $vars['view'] == 'minigraphs')
{
if (isset($vars['graph'])) { $graph_type = "port_" . $vars['graph']; } else { $graph_type = "port_bits"; }
}
if (!$vars['view']) { $vars['view'] = "basic"; }
if (!$vars['view']) { $vars['view'] = $config['ports_page_default']; }
$link_array = array('page' => 'device',
'device' => $device['device_id'],