2012-04-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* godmode/groups/group_list.php
	 godmode/reporting/graph_builder.graph_editor.php: Reverted some 
	 modifications in custom graphs metaconsole compatibility.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-04-11 09:05:45 +00:00
parent 30a2c056aa
commit edd3579c4a
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2012-04-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/groups/group_list.php
godmode/reporting/graph_builder.graph_editor.php: Reverted some
modifications in custom graphs metaconsole compatibility.
2012-04-11 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_delete_modules.php: Fixed a

View File

@ -86,7 +86,7 @@ if (is_ajax ()) {
$filter['string'] = $search;
}
if ($config['metaconsole'] == 1) {
/*if ($config['metaconsole'] == 1) {
enterprise_include_once('include/functions_metaconsole.php');
$connection_names = enterprise_hook('metaconsole_get_connection_names');
@ -114,9 +114,9 @@ if (is_ajax ()) {
enterprise_hook('metaconsole_restore_db');
}
}
else {
else { */
$agents = agents_get_group_agents ($id_group, $filter, "none", false, $recursion);
}
//}
echo json_encode ($agents);
return;

View File

@ -129,7 +129,7 @@ echo "<td></td>";
echo "<td style='vertical-align: top;'>".__('Modules')."</td>";
echo "</tr><tr>";
// If metaconsole is activated
if ($config['metaconsole'] == 1) {
/*if ($config['metaconsole'] == 1) {
enterprise_include_once('include/functions_metaconsole.php');
$connection_names = enterprise_hook('metaconsole_get_connection_names');
@ -160,9 +160,9 @@ if ($config['metaconsole'] == 1) {
echo "<td>".html_print_select ($agents, 'id_agents[]', 0, false, '', '', true, true, true, '', false, 'width:200px;')."</td>";
}
else {
else {*/
echo "<td>".html_print_select (agents_get_group_agents(), 'id_agents[]', 0, false, '', '', true, true, true, '', false, 'width:200px;')."</td>";
}
//}
echo "<td style='vertical-align: center; text-align: center;'>" . html_print_image("images/darrowright.png", true) . "</td>";
echo "<td>".html_print_select (array (), 'module[]', 0, false, '', 0, true, true, true, '', false, 'width:200px;')."</td>";
echo "</tr><tr>";