From 9781809b227e6a6a3499bba8980263dd0c42e4c1 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Mon, 31 Jul 2023 09:27:50 +0200 Subject: [PATCH] #11713 Fix title --- pandora_console/godmode/wizards/ManageExtensions.class.php | 2 ++ pandora_console/include/functions_html.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/pandora_console/godmode/wizards/ManageExtensions.class.php b/pandora_console/godmode/wizards/ManageExtensions.class.php index 03b1bdee7b..e088278eea 100644 --- a/pandora_console/godmode/wizards/ManageExtensions.class.php +++ b/pandora_console/godmode/wizards/ManageExtensions.class.php @@ -682,6 +682,7 @@ class ManageExtensions extends HTML [ 'onclick' => 'if (!confirm(\''.__('Deleting this application will also delete all the discovery tasks using it. Do you want to delete it?').'\')) return false;', 'class' => 'main_menu_icon invert_filter action_button_hidden', + 'title' => 'Delete', ] ); $data[$key]['actions'] .= html_print_input_hidden('short_name', $row['short_name'], true); @@ -697,6 +698,7 @@ class ManageExtensions extends HTML [ 'onclick' => 'if (!confirm(\''.__('Are you sure you want to reapply?').'\')) return false;', 'class' => 'main_menu_icon invert_filter action_button_hidden', + 'title' => 'Refresh', ] ); $data[$key]['actions'] .= html_print_input_hidden('sync_action', 'refresh', true); diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index c4e7c52c55..d26d5447b4 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -3342,6 +3342,10 @@ function html_print_input_image($name, $src, $value, $style='', $return=false, $ } foreach ($attrs as $attribute) { + if ($attribute === 'title') { + continue; + } + if (isset($options[$attribute])) { $output .= ' '.$attribute.'="'.io_safe_input_html($options[$attribute]).'"'; }