diff --git a/html/includes/common/generic-graph.inc.php b/html/includes/common/generic-graph.inc.php index 91cb64f8d1..bd594b5ec7 100644 --- a/html/includes/common/generic-graph.inc.php +++ b/html/includes/common/generic-graph.inc.php @@ -74,6 +74,7 @@ if( defined('show_settings') || empty($widget_settings) ) { + @@ -150,6 +151,14 @@ if( defined('show_settings') || empty($widget_settings) ) { $common_output[] = ' +
+
+ +
+
+ '; + $common_output[] = '
+
@@ -393,9 +402,10 @@ else { elseif ($type == 'munin') { $param = 'device='.$widget_settings['graph_'.$type]['device_id'].'&plugin='.$widget_settings['graph_'.$type]['name']; } - elseif ($type == 'transit' || $type == 'peering' || $type == 'core' || $type == 'custom') { - if ( $type == 'custom' ) { - $type = $widget_settings['graph_custom']; + elseif ($type == 'transit' || $type == 'peering' || $type == 'core' || $type == 'custom' || $type == 'manual') { + if ( $type == 'custom' || $type == 'manual') { + $type = $widget_settings['graph_'.$type]; + $type = explode(',', $type); } $ports = get_ports_from_type($type);