From acad8d537b99a8e3cc16544714754ec0b3eb805e Mon Sep 17 00:00:00 2001 From: fermin831 Date: Thu, 24 May 2018 11:37:26 +0200 Subject: [PATCH] [Rebranding] Added tooltip to avoid Monitoring Event name will be changed --- pandora_console/godmode/alerts/configure_alert_action.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandora_console/godmode/alerts/configure_alert_action.php b/pandora_console/godmode/alerts/configure_alert_action.php index 0156603d4d..d1fe842469 100644 --- a/pandora_console/godmode/alerts/configure_alert_action.php +++ b/pandora_console/godmode/alerts/configure_alert_action.php @@ -111,6 +111,13 @@ $table->size[0] = '20%'; $table->data = array (); $table->data[0][0] = __('Name'); $table->data[0][1] = html_print_input_text ('name', $name, '', 35, 255, true); +if (io_safe_output($name) == "Monitoring Event") { + $table->data[0][1] .= '  ' . ui_print_help_tip( + __("This action may stop working, if you change its name."), + true, + "images/header_yellow.png" + ); +} $table->colspan[0][1] = 2; $table->data[1][0] = __('Group');