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> 2009-03-23 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/massive_edit_modules.php: The module selection is * godmode/agentes/massive_edit_modules.php: The module selection is

View File

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

View File

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