Add content card to voicemail greetings (#7142)

* Add content card to voicemail greetings

* Update voicemail_greeting_edit.php
This commit is contained in:
Alex 2024-09-26 14:57:32 -07:00 committed by GitHub
parent ced8c16a28
commit 84950065aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -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)) {

View File

@ -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";