From 95575b4e905b1fe06a2275dc920c47528e1488e3 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 27 Jan 2023 12:37:25 +0100 Subject: [PATCH] remove old format events sounds pandora_enterprise#10208 --- pandora_console/operation/events/events.php | 40 ++++++++++----------- pandora_console/operation/menu.php | 20 ----------- 2 files changed, 18 insertions(+), 42 deletions(-) diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 648581a3a6..18c928727a 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -1475,7 +1475,24 @@ if ($pure) { // Sound events. $sound_event['active'] = false; - $sound_event['text'] = ''.html_print_image( + + // Sound Events. + $data_sound = base64_encode( + json_encode( + [ + 'title' => __('Sound Console'), + 'start' => __('Start'), + 'stop' => __('Stop'), + 'noAlert' => __('No alert'), + 'silenceAlarm' => __('Silence alarm'), + 'url' => ui_get_full_url('ajax.php'), + 'page' => 'include/ajax/events', + 'urlSound' => 'include/sounds/', + ] + ) + ); + + $sound_event['text'] = ''.html_print_image( 'images/sound.png', true, [ @@ -1565,27 +1582,6 @@ if ($pure) { unset($onheader['fullscreen']); ui_meta_print_header(__('Events'), $section_string, $onheader); } - - ?> - - - -