From 839890025bb1d066c92d4c62cb79ac526db55506 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Fri, 4 Dec 2020 15:28:22 +0100 Subject: [PATCH] Added class per depth level snmp tree --- pandora_console/include/functions_snmp_browser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_snmp_browser.php b/pandora_console/include/functions_snmp_browser.php index 3f66c790ae..95956b422a 100644 --- a/pandora_console/include/functions_snmp_browser.php +++ b/pandora_console/include/functions_snmp_browser.php @@ -86,6 +86,7 @@ function snmp_browser_get_html_tree( $count = 0; $total = (count(array_keys($tree['__LEAVES__'])) - 1); $last_array[$depth] = $last; + $class = 'item_'.$depth; if ($depth > 0) { $output .= '