Add image feedback

This commit is contained in:
Daniel Barbero Martin 2019-10-29 09:13:48 +01:00
parent 89b030c484
commit f6fd5cc21f
2 changed files with 3 additions and 6 deletions

View File

@ -334,13 +334,13 @@ if ($config['menu_type'] == 'classic') {
$header_feedback .= '<div id="modal-feedback-form" style="display:none;"></div>';
$header_feedback .= '<div id="msg-header" style="display: none"></div>';
$header_feedback .= html_print_image(
'/images/icono_warning.png',
'/images/feedback-header.png',
true,
[
'title' => __('Feedback'),
'id' => 'feedback-header',
'alt' => __('Feedback'),
'style' => 'cursor: pointer; width: 28px;',
'style' => 'cursor: pointer; width: 27px;',
]
);
$header_feedback .= '</div>';

View File

@ -1865,9 +1865,8 @@ class Diagnostics extends Wizard
{
global $config;
// TODO: feedback@artica.es
$mail_feedback = 'feedback@artica.es';
$email = 'daniel.barbero@artica.es';
$email = $mail_feedback;
$subject = 'PandoraFMS Report '.$config['pandora_uid'];
$text = get_parameter('what-happened', '');
$attachment = get_parameter_switch('include_installation_data', 0);
@ -1877,9 +1876,7 @@ class Diagnostics extends Wizard
$product_name = io_safe_output(get_product_name());
if (check_acl($config['id_user'], 0, 'PM') !== 1) {
// TODO: MAIL TO ADMIN.
$email = get_mail_admin();
$email = 'daniel.barbero@artica.es';
$name_admin = get_name_admin();
$subject = __('Feedback').' '.$product_name.' '.$config['pandora_uid'];