diff --git a/pandora_console/general/alert_enterprise.php b/pandora_console/general/alert_enterprise.php index bf80619169..87925de96a 100644 --- a/pandora_console/general/alert_enterprise.php +++ b/pandora_console/general/alert_enterprise.php @@ -39,6 +39,9 @@ switch ($tipo) { case "infomodal": echo "icono_info.png"; break; + case "helpmodal": + echo "icono_info.png"; + break; case "modulemodal": echo "icono_popup.png"; break; @@ -85,6 +88,13 @@ echo "'> switch ($tipo) { + case "helpmodal": + + echo __("This is the online help for Pandora FMS console. This help is -in best cases- just a brief contextual help, not intented to teach you how to use Pandora FMS. Official documentation of Pandora FMS is about 900 pages, and you probably don't need to read it entirely, but sure, you should download it and take a look.

+ Download the official documentation"); + + break; + case "noaccess": echo __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance.

diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index 8431b6d704..502d583f91 100644 --- a/pandora_console/general/header.php +++ b/pandora_console/general/header.php @@ -273,7 +273,11 @@ config_check(); $table->data[0][3] = $maintenance_img; // Main help icon - $table->data[0][4] = ''; + $table->data[0][4] = ''.html_print_image("images/header_help.png", + true, array( + "title" => __('Main help'), + "id" => "helpmodal", + "class" => "modalpopup")).''; // Logout $table->data[0][5] = '';