mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 11:29:12 +02:00
2014-01-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php: Fix group parameter in links of groups view on mobile console. Incident #491 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
09a6c172db
commit
4ae9038f1b
@ -1,3 +1,8 @@
|
|||||||
|
2014-01-14 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* include/functions_groups.php: Fix group parameter in links
|
||||||
|
of groups view on mobile console. Incident #491
|
||||||
|
|
||||||
2014-01-14 Miguel de Dios <miguel.dedios@artica.es>
|
2014-01-14 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/reporting/reporting_builder.list_items.php: fixed the
|
* godmode/reporting/reporting_builder.list_items.php: fixed the
|
||||||
|
@ -705,7 +705,7 @@ function groups_get_group_row_data($id_group, $group_all, $group, &$printed_grou
|
|||||||
// Group name
|
// Group name
|
||||||
$group_cell = __('Group');
|
$group_cell = __('Group');
|
||||||
$row[$group_cell] = $group['prefix'];
|
$row[$group_cell] = $group['prefix'];
|
||||||
$row[$group_cell] .= "<a href='index.php?page=agents&id_group=" . $id_group . "'>";
|
$row[$group_cell] .= "<a href='index.php?page=agents&group=" . $id_group . "'>";
|
||||||
$row[$group_cell] .= ui_print_group_icon ($id_group, true, "groups_small", '', false);
|
$row[$group_cell] .= ui_print_group_icon ($id_group, true, "groups_small", '', false);
|
||||||
$row[$group_cell] .= ui_print_truncate_text($group['name']);
|
$row[$group_cell] .= ui_print_truncate_text($group['name']);
|
||||||
$row[$group_cell] .= "</a>";
|
$row[$group_cell] .= "</a>";
|
||||||
@ -749,43 +749,43 @@ function groups_get_group_row_data($id_group, $group_all, $group, &$printed_grou
|
|||||||
}
|
}
|
||||||
|
|
||||||
$row[__('Agents')] = "<a class='link_count' href='index.php?" .
|
$row[__('Agents')] = "<a class='link_count' href='index.php?" .
|
||||||
"page=agents&id_group=" . $id_group . "'>";
|
"page=agents&group=" . $id_group . "'>";
|
||||||
$row[__('Agents')] .= $data["total_agents"];
|
$row[__('Agents')] .= $data["total_agents"];
|
||||||
$row[__('Agents')] .= "</a>";
|
$row[__('Agents')] .= "</a>";
|
||||||
|
|
||||||
// Agents unknown
|
// Agents unknown
|
||||||
$row[__('Agents unknown')] = "<a class='link_count' href='index.php?" .
|
$row[__('Agents unknown')] = "<a class='link_count' href='index.php?" .
|
||||||
"page=agents&id_group=" . $id_group . "&status=" . AGENT_STATUS_UNKNOWN . "'>";
|
"page=agents&group=" . $id_group . "&status=" . AGENT_STATUS_UNKNOWN . "'>";
|
||||||
$row[__('Agents unknown')] .= $data["agents_unknown"];
|
$row[__('Agents unknown')] .= $data["agents_unknown"];
|
||||||
$row[__('Agents unknown')] .= "</a>";
|
$row[__('Agents unknown')] .= "</a>";
|
||||||
|
|
||||||
// Monitors Unknown
|
// Monitors Unknown
|
||||||
$row[__('Unknown')] = "<a class='link_count' href='index.php?" .
|
$row[__('Unknown')] = "<a class='link_count' href='index.php?" .
|
||||||
"page=modules&id_group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_UNKNOWN . "'>";
|
"page=modules&group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_UNKNOWN . "'>";
|
||||||
$row[__('Unknown')] .= $data["monitor_unknown"];
|
$row[__('Unknown')] .= $data["monitor_unknown"];
|
||||||
$row[__('Unknown')] .= "</a>";
|
$row[__('Unknown')] .= "</a>";
|
||||||
|
|
||||||
// Monitors Not Init
|
// Monitors Not Init
|
||||||
$row[__('Not init')] = "<a class='link_count' href='index.php?" .
|
$row[__('Not init')] = "<a class='link_count' href='index.php?" .
|
||||||
"page=modules&id_group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_NOT_INIT . "'>";
|
"page=modules&group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_NOT_INIT . "'>";
|
||||||
$row[__('Not init')] .= $data["monitor_not_init"];
|
$row[__('Not init')] .= $data["monitor_not_init"];
|
||||||
$row[__('Not init')] .= "</a>";
|
$row[__('Not init')] .= "</a>";
|
||||||
|
|
||||||
// Monitors OK
|
// Monitors OK
|
||||||
$row[__('Normal')] = "<a class='link_count' href='index.php?" .
|
$row[__('Normal')] = "<a class='link_count' href='index.php?" .
|
||||||
"page=modules&id_group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_NORMAL . "'>";
|
"page=modules&group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_NORMAL . "'>";
|
||||||
$row[__('Normal')] .= $data["monitor_ok"];
|
$row[__('Normal')] .= $data["monitor_ok"];
|
||||||
$row[__('Normal')] .= "</a>";
|
$row[__('Normal')] .= "</a>";
|
||||||
|
|
||||||
// Monitors Warning
|
// Monitors Warning
|
||||||
$row[__('Warning')] = "<a class='link_count' href='index.php?" .
|
$row[__('Warning')] = "<a class='link_count' href='index.php?" .
|
||||||
"page=modules&id_group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_WARNING . "'>";
|
"page=modules&group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_WARNING . "'>";
|
||||||
$row[__('Warning')] .= $data["monitor_warning"];
|
$row[__('Warning')] .= $data["monitor_warning"];
|
||||||
$row[__('Warning')] .= "</a>";
|
$row[__('Warning')] .= "</a>";
|
||||||
|
|
||||||
// Monitors Critical
|
// Monitors Critical
|
||||||
$row[__('Critical')] = "<a class='link_count' href='index.php?" .
|
$row[__('Critical')] = "<a class='link_count' href='index.php?" .
|
||||||
"page=modules&id_group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_CRITICAL_BAD . "'>";
|
"page=modules&group=" . $id_group . "&status=" . AGENT_MODULE_STATUS_CRITICAL_BAD . "'>";
|
||||||
$row[__('Critical')] .= $data["monitor_critical"];
|
$row[__('Critical')] .= $data["monitor_critical"];
|
||||||
$row[__('Critical')] .= "</a>";
|
$row[__('Critical')] .= "</a>";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user