2009-12-24 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php: fix bug to call
	enterprise function without test if the enterprise install.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-12-24 17:12:32 +00:00
parent a4c4773bba
commit e4cfb60148
6 changed files with 29 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2009-12-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php: fix bug to call
enterprise function without test if the enterprise install.
2009-12-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: fix bug that show SQL error message and don't

View File

@ -98,7 +98,10 @@ $disabledTextBecauseInPolicy = '';
$page = get_parameter('page', '');
if (strstr($page, "policy_modules") === false) {
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
if ($config['enterprise_installed'])
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
else
$disabledBecauseInPolicy = false;
if ($disabledBecauseInPolicy)
$disabledTextBecauseInPolicy = 'disabled = "disabled"';
}

View File

@ -19,7 +19,10 @@ $disabledBecauseInPolicy = false;
$disabledTextBecauseInPolicy = '';
$page = get_parameter('page', '');
if (strstr($page, "policy_modules") === false) {
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
if ($config['enterprise_installed'])
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
else
$disabledBecauseInPolicy = false;
if ($disabledBecauseInPolicy)
$disabledTextBecauseInPolicy = 'disabled = "disabled"';
}

View File

@ -19,7 +19,10 @@ $disabledBecauseInPolicy = false;
$disabledTextBecauseInPolicy = '';
$page = get_parameter('page', '');
if (strstr($page, "policy_modules") === false) {
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
if ($config['enterprise_installed'])
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
else
$disabledBecauseInPolicy = false;
if ($disabledBecauseInPolicy)
$disabledTextBecauseInPolicy = 'disabled = "disabled"';
}

View File

@ -18,7 +18,10 @@ $disabledBecauseInPolicy = false;
$disabledTextBecauseInPolicy = '';
$page = get_parameter('page', '');
if (strstr($page, "policy_modules") === false) {
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
if ($config['enterprise_installed'])
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
else
$disabledBecauseInPolicy = false;
if ($disabledBecauseInPolicy)
$disabledTextBecauseInPolicy = 'disabled = "disabled"';
}

View File

@ -18,7 +18,10 @@ $disabledBecauseInPolicy = false;
$disabledTextBecauseInPolicy = '';
$page = get_parameter('page', '');
if (strstr($page, "policy_modules") === false) {
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
if ($config['enterprise_installed'])
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module);
else
$disabledBecauseInPolicy = false;
if ($disabledBecauseInPolicy)
$disabledTextBecauseInPolicy = 'disabled = "disabled"';
}