mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Show graph name in custom graph items for report list - #1374
This commit is contained in:
parent
dafa8202f5
commit
8572bc61b3
@ -352,6 +352,12 @@ foreach ($items as $item) {
|
|||||||
|
|
||||||
$row[1] = get_report_name($item['type']);
|
$row[1] = get_report_name($item['type']);
|
||||||
|
|
||||||
|
$custom_graph_name = db_get_row_sql('select name from tgraph where id_graph = '.$item['id_gs']);
|
||||||
|
|
||||||
|
if($item['type'] == 'custom_graph'){
|
||||||
|
$row[1] = get_report_name($item['type']).' ('.$custom_graph_name['name'].')';
|
||||||
|
}
|
||||||
|
|
||||||
$server_name = $item ['server_name'];
|
$server_name = $item ['server_name'];
|
||||||
|
|
||||||
if (($config ['metaconsole'] == 1) && ($server_name != '') && defined('METACONSOLE')) {
|
if (($config ['metaconsole'] == 1) && ($server_name != '') && defined('METACONSOLE')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user