Add content card to voicemail greetings (#7142)
* Add content card to voicemail greetings * Update voicemail_greeting_edit.php
This commit is contained in:
parent
ced8c16a28
commit
84950065aa
|
|
@ -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 "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -427,6 +428,7 @@ if (!empty($_POST) && empty($_POST["persistformvar"])) {
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>\n";
|
||||
echo "<br /><br />";
|
||||
|
||||
if ($action == 'update' && !empty($voicemail_greeting_uuid) && is_uuid($voicemail_greeting_uuid)) {
|
||||
|
|
|
|||
|
|
@ -392,6 +392,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' id='voicemail_id' name='voicemail_id' value='".escape($voicemail_id)."'>\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
$col_count = 0;
|
||||
|
|
@ -503,6 +504,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
echo "</form>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue