mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/reporting/graph_builder.php: fix blank row when redraw graph in builder, and fix the empty column agent name in table of modules. Fixes: 2916194 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
2bb9bf650c
commit
5fd50d8667
@ -1,3 +1,10 @@
|
|||||||
|
2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* pandora_console/godmode/reporting/graph_builder.php: fix blank row when
|
||||||
|
redraw graph in builder, and fix the empty column agent name in table of
|
||||||
|
modules.
|
||||||
|
Fixes: 2916194
|
||||||
|
|
||||||
2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
|
2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* pandora_console/extensions/update_manager/load_updatemanager.php: add more
|
* pandora_console/extensions/update_manager/load_updatemanager.php: add more
|
||||||
|
@ -195,21 +195,22 @@ if (isset ($_GET["delete_module"] )) {
|
|||||||
|
|
||||||
if ($add_module) {
|
if ($add_module) {
|
||||||
if ($editGraph) {
|
if ($editGraph) {
|
||||||
|
|
||||||
$id = get_parameter('id');
|
$id = get_parameter('id');
|
||||||
$id_module = get_parameter('id_module');
|
$id_module = get_parameter('id_module');
|
||||||
$factor = get_parameter('factor');
|
if ($id_module != -1) {
|
||||||
process_sql_insert('tgraph_source', array('id_graph' => $id, 'id_agent_module' => $id_module, 'weight' => $factor));
|
$factor = get_parameter('factor');
|
||||||
|
process_sql_insert('tgraph_source', array('id_graph' => $id, 'id_agent_module' => $id_module, 'weight' => $factor));
|
||||||
$period = get_parameter('period');
|
|
||||||
$width = get_parameter('width');
|
$period = get_parameter('period');
|
||||||
$height = get_parameter('height');
|
$width = get_parameter('width');
|
||||||
$events = get_parameter('events');
|
$height = get_parameter('height');
|
||||||
$stacked = get_parameter('stacked');
|
$events = get_parameter('events');
|
||||||
|
$stacked = get_parameter('stacked');
|
||||||
process_sql_update('tgraph', array('period' => $period,
|
|
||||||
'width' => $width, 'height' => $height, 'events' => $events,
|
process_sql_update('tgraph', array('period' => $period,
|
||||||
'stacked' => $stacked), array('id_graph' => $id));
|
'width' => $width, 'height' => $height, 'events' => $events,
|
||||||
|
'stacked' => $stacked), array('id_graph' => $id));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$id_agent = $_POST["id_agent"];
|
$id_agent = $_POST["id_agent"];
|
||||||
@ -345,8 +346,7 @@ if (isset ($chunk1)) {
|
|||||||
$color = 1;
|
$color = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<tr><td class='$tdcolor'>";
|
echo "<tr><td class='$tdcolor'>" . $agent_array[$a] . "</td>";
|
||||||
echo get_agent_name ($agent_array[$a])."</td>";
|
|
||||||
echo "<td class='$tdcolor'>";
|
echo "<td class='$tdcolor'>";
|
||||||
echo get_agentmodule_name ($module_array[$a])."</td>";
|
echo get_agentmodule_name ($module_array[$a])."</td>";
|
||||||
echo "<td class='$tdcolor'>";
|
echo "<td class='$tdcolor'>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user