diff --git a/pandora_console/godmode/agentes/module_manager.php b/pandora_console/godmode/agentes/module_manager.php index 19ea5e2340..5c21fa71a0 100644 --- a/pandora_console/godmode/agentes/module_manager.php +++ b/pandora_console/godmode/agentes/module_manager.php @@ -116,7 +116,6 @@ ui_toggle( echo ''; - if (isset($id_agente) === false) { return; } diff --git a/pandora_console/operation/menu.php b/pandora_console/operation/menu.php index 6619138b63..f79a4a611a 100644 --- a/pandora_console/operation/menu.php +++ b/pandora_console/operation/menu.php @@ -650,6 +650,25 @@ if (!empty($rows)) { +// Links. +$rows = db_get_all_rows_in_table('tlink', 'name'); +// $rows = []; +if (!empty($rows)) { + $menu_operation['links']['text'] = __('Links'); + $menu_operation['links']['sec2'] = ''; + $menu_operation['links']['id'] = 'god-links'; + + $sub = []; + foreach ($rows as $row) { + // Audit //meter en extensiones. + $sub[$row['link']]['text'] = $row['name']; + $sub[$row['link']]['id'] = $row['name']; + $sub[$row['link']]['type'] = 'direct'; + $sub[$row['link']]['subtype'] = 'new_blank'; + } + + $menu_operation['links']['sub'] = $sub; +} // Workspace. $menu_operation['workspace']['text'] = __('Workspace');