2009-03-24 Sancho Lerena <slerena@gmail.com>

* module_manager_editor.php,
	module_manager_editor_common.php: Fixed problem with id_module
	affecting plugin, wmi and prediction modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2009-03-24 00:52:25 +00:00
parent ff44352cfd
commit 7634e45a55
3 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2009-03-24 Sancho Lerena <slerena@gmail.com>
* module_manager_editor.php,
module_manager_editor_common.php: Fixed problem with id_module
affecting plugin, wmi and prediction modules.
2009-03-23 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/massive_edit_modules.php: The module selection is

View File

@ -167,20 +167,20 @@ case 2:
require ('module_manager_editor_network.php');
break;
case "pluginserver":
$moduletype = 3;
case 3:
$moduletype = 4;
case 4:
require ('module_manager_editor_common.php');
require ('module_manager_editor_plugin.php');
break;
case "predictionserver":
$moduletype = 4;
case 4:
$moduletype = 5;
case 5:
require ('module_manager_editor_common.php');
require ('module_manager_editor_prediction.php');
break;
case "wmiserver":
$moduletype = 5;
case 5:
$moduletype = 6;
case 6:
require ('module_manager_editor_common.php');
require ('module_manager_editor_wmi.php');
break;

View File

@ -126,15 +126,15 @@ if ($id_agent_module) {
case "networkserver":
$categories = array (3, 4, 5);
break;
case 3:
case 4:
case "pluginserver":
$categories = array (0, 1, 2, 9);
break;
case 4:
case 5:
case "predictionserver":
$categories = array (1, 2);
break;
case 5:
case 6:
case "wmiserver":
$categories = array (0, 1, 2);
break;