Change menu. Tiquet: #2471

This commit is contained in:
m-lopez-f 2015-08-19 08:49:16 +02:00
parent 7cf17e62f1
commit 7f1d89940d

View File

@ -135,12 +135,9 @@ if (check_acl ($config['id_user'], 0, "AR")) {
$sub["godmode/reporting/map_builder"]["refr"] = 60; $sub["godmode/reporting/map_builder"]["refr"] = 60;
} }
$sub["godmode/reporting/map_builder"]["type"] = "direct";
$sub["godmode/reporting/map_builder"]["subtype"] = "nolink";
$layouts = db_get_all_rows_in_table ('tlayout', 'name'); $layouts = db_get_all_rows_in_table ('tlayout', 'name');
$sub2 = array (); $sub2 = array ();
$sub2["godmode/reporting/map_builder"]["text"] = __("List of visual console");
if ($layouts === false) { if ($layouts === false) {
$layouts = array (); $layouts = array ();
} }
@ -177,8 +174,10 @@ if (check_acl ($config['id_user'], 0, "AR")) {
$sub2["operation/visual_console/render_view&id=".$layout["id"]]["refr"] = 0; $sub2["operation/visual_console/render_view&id=".$layout["id"]]["refr"] = 0;
} }
} }
if (!empty($sub2))
$sub["godmode/reporting/map_builder"]["sub2"] = $sub2;
} }
$sub["godmode/reporting/map_builder"]["sub2"] = $sub2;
// Agent read, Server read // Agent read, Server read
if (check_acl ($config['id_user'], 0, "AR")) { if (check_acl ($config['id_user'], 0, "AR")) {