From 84950065aa016355e05e06da7f1445fd35917465 Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Thu, 26 Sep 2024 14:57:32 -0700 Subject: [PATCH] Add content card to voicemail greetings (#7142) * Add content card to voicemail greetings * Update voicemail_greeting_edit.php --- app/voicemail_greetings/voicemail_greeting_edit.php | 4 +++- app/voicemail_greetings/voicemail_greetings.php | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/voicemail_greetings/voicemail_greeting_edit.php b/app/voicemail_greetings/voicemail_greeting_edit.php index 4df0863f8f..6f9c792e7e 100644 --- a/app/voicemail_greetings/voicemail_greeting_edit.php +++ b/app/voicemail_greetings/voicemail_greeting_edit.php @@ -213,7 +213,7 @@ if (!empty($_POST) && empty($_POST["persistformvar"])) { $greeting_message = $transcribe->transcribe(); } - //if base64 is enabled base64 + //if base64 is enabled base64 if ($storage_type == 'base64' && file_exists($greeting_path.'/'.$greeting_filename)) { $greeting_base64 = base64_encode(file_get_contents($greeting_path.'/'.$greeting_filename)); } @@ -296,6 +296,7 @@ if (!empty($_POST) && empty($_POST["persistformvar"])) { echo modal::create(['id'=>'modal-delete','type'=>'delete','actions'=>button::create(['type'=>'submit','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_delete','style'=>'float: right; margin-left: 15px;','collapse'=>'never','name'=>'action','value'=>'delete','onclick'=>"modal_close();"])]); } + echo "
\n"; echo "\n"; echo "\n"; @@ -427,6 +428,7 @@ if (!empty($_POST) && empty($_POST["persistformvar"])) { echo "\n"; echo "
"; + echo "
\n"; echo "

"; if ($action == 'update' && !empty($voicemail_greeting_uuid) && is_uuid($voicemail_greeting_uuid)) { diff --git a/app/voicemail_greetings/voicemail_greetings.php b/app/voicemail_greetings/voicemail_greetings.php index 000d43f482..c0dbdb53c8 100644 --- a/app/voicemail_greetings/voicemail_greetings.php +++ b/app/voicemail_greetings/voicemail_greetings.php @@ -392,6 +392,7 @@ echo "\n"; echo "\n"; + echo "
\n"; echo "\n"; echo "\n"; $col_count = 0; @@ -503,6 +504,7 @@ } echo "
\n"; + echo "
\n"; echo "
\n"; echo "\n"; echo "\n";