diff --git a/pandora_console/godmode/reporting/graph_builder.graph_editor.php b/pandora_console/godmode/reporting/graph_builder.graph_editor.php index de687ffefc..cc1f8875b1 100644 --- a/pandora_console/godmode/reporting/graph_builder.graph_editor.php +++ b/pandora_console/godmode/reporting/graph_builder.graph_editor.php @@ -50,6 +50,7 @@ if ($editGraph) { $module_array = array(); $weight_array = array(); $agent_array = array(); + $label_array = array(); if($graphRows === false) { $graphRows = array(); @@ -59,6 +60,7 @@ if ($editGraph) { $idgs_array[] = $graphRow['id_gs']; $module_array[] = $graphRow['id_agent_module']; $weight_array[] = $graphRow['weight']; + $label_array[] = $graphRow['label']; $agent_array[] = $graphRow['agent_name']; } @@ -78,6 +80,7 @@ if (count($module_array) > 0) { echo " ".__('Agent')." ".__('Module')." + ".__('Label')." ".__('Weight')." ".__('Delete').""; $color = 0; @@ -95,6 +98,18 @@ if (count($module_array) > 0) { echo "" . $agent_array[$a] . ""; echo ""; echo modules_get_agentmodule_name ($module_array[$a]).""; + + echo ""; + echo ""; + + echo ""; + html_print_input_text ('label', $label_array[$a], '', 20, 10, false, false); + html_print_submit_button ('Ok', 'btn', false, '', false); + echo ""; + + echo "
"; + echo ""; + echo ""; echo ""; diff --git a/pandora_console/godmode/reporting/graph_builder.main.php b/pandora_console/godmode/reporting/graph_builder.main.php index e38725f9ff..cd6ada0fa1 100644 --- a/pandora_console/godmode/reporting/graph_builder.main.php +++ b/pandora_console/godmode/reporting/graph_builder.main.php @@ -113,13 +113,18 @@ echo "