mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2007-12-16 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: New field for tagente_modulo: disabled, to be able to disable individual modules on an agent. * index.php: Version number is now officially "1.4dev". There is a long way to finish 1.4. * operation/servers/view_server_detail.php: FIX. If no tasks, show a little message. * images/console/icons/smalldot*: New small graph for graph console. * reporting/fgraph.php: FIX. Combined graphs with components of scale =1 does not readjust automatically. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@683 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1c450fa022
commit
1aae32eedf
@ -1,3 +1,19 @@
|
|||||||
|
2007-12-16 Sancho Lerena <slerena@gmail.com>
|
||||||
|
|
||||||
|
* pandoradb.sql: New field for tagente_modulo: disabled, to be
|
||||||
|
able to disable individual modules on an agent.
|
||||||
|
|
||||||
|
* index.php: Version number is now officially "1.4dev". There is
|
||||||
|
a long way to finish 1.4.
|
||||||
|
|
||||||
|
* operation/servers/view_server_detail.php: FIX. If no tasks, show
|
||||||
|
a little message.
|
||||||
|
|
||||||
|
* images/console/icons/smalldot*: New small graph for graph console.
|
||||||
|
|
||||||
|
* reporting/fgraph.php: FIX. Combined graphs with components of scale =1
|
||||||
|
does not readjust automatically.
|
||||||
|
|
||||||
2007-12-16 Raul Mateos <raulofpandora@gmail.com>
|
2007-12-16 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
* include/languages/language_en.php, language_es_es.php, language_fr.php,
|
* include/languages/language_en.php, language_es_es.php, language_fr.php,
|
||||||
|
BIN
pandora_console/images/console/icons/smalldot.png
Normal file
BIN
pandora_console/images/console/icons/smalldot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 309 B |
BIN
pandora_console/images/console/icons/smalldot_bad.png
Normal file
BIN
pandora_console/images/console/icons/smalldot_bad.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 486 B |
BIN
pandora_console/images/console/icons/smalldot_ok.png
Normal file
BIN
pandora_console/images/console/icons/smalldot_ok.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 309 B |
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
//Pandora Version, if not defined here it would take from config.php
|
//Pandora Version, if not defined here it would take from config.php
|
||||||
$build_version="PC071216";
|
$build_version="PC071216";
|
||||||
$pandora_version="v1.4 Beta1";
|
$pandora_version="v1.4dev";
|
||||||
global $build_version;
|
global $build_version;
|
||||||
global $pandora_version;
|
global $pandora_version;
|
||||||
|
|
||||||
|
@ -131,6 +131,8 @@ if ((comprueba_login() == 0) AND (give_acl($id_user, 0, "AR")==1) ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
} else {
|
||||||
|
echo "This server has no recon tasks assigned";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,6 +127,7 @@ CREATE TABLE `tagente_modulo` (
|
|||||||
`id_module_group` int(4) unsigned default '0',
|
`id_module_group` int(4) unsigned default '0',
|
||||||
`flag` tinyint(3) unsigned default '1',
|
`flag` tinyint(3) unsigned default '1',
|
||||||
`id_modulo` int(11) unsigned NULL default 0,
|
`id_modulo` int(11) unsigned NULL default 0,
|
||||||
|
`disabled` tinyint(3) unsigned default '0',
|
||||||
PRIMARY KEY (`id_agente_modulo`, `id_agente`),
|
PRIMARY KEY (`id_agente_modulo`, `id_agente`),
|
||||||
KEY `tam_agente` (`id_agente`)
|
KEY `tam_agente` (`id_agente`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
@ -210,7 +210,8 @@ function graphic_combined_module ($module_list, $weight_list, $periodo, $width,
|
|||||||
}
|
}
|
||||||
|
|
||||||
for ($y = 0; $y < $module_number; $y++){
|
for ($y = 0; $y < $module_number; $y++){
|
||||||
$weight_list[$y] = ($max_value / $mod_data[$y]) + ($weight_list[$y]-1);
|
// Disabled autoadjusment, is not working fine :(
|
||||||
|
// $weight_list[$y] = ($max_value / $mod_data[$y]) + ($weight_list[$y]-1);
|
||||||
if ($weight_list[$y] != 1)
|
if ($weight_list[$y] != 1)
|
||||||
$module_list_name[$y] .= " (x". format_numeric($weight_list[$y],1).")";
|
$module_list_name[$y] .= " (x". format_numeric($weight_list[$y],1).")";
|
||||||
$module_list_name[$y] = $module_list_name[$y]." (MAX: ".format_numeric($mod_data[$y]).")";
|
$module_list_name[$y] = $module_list_name[$y]." (MAX: ".format_numeric($mod_data[$y]).")";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user