diff --git a/app/recordings/recordings.php b/app/recordings/recordings.php index 615e9cac11..08176b2b0e 100644 --- a/app/recordings/recordings.php +++ b/app/recordings/recordings.php @@ -147,7 +147,7 @@ require_once "resources/check_auth.php"; require_once "resources/header.php"; //begin the content - echo "
| \n";
echo " ".$text['title']."";
@@ -162,11 +162,11 @@ require_once "resources/check_auth.php";
if (permission_exists('recording_upload')) {
echo "".$text['header']."";
echo " "; - echo ""; echo " \n"; } @@ -206,16 +206,20 @@ require_once "resources/check_auth.php"; echo " | ||||
| ".$text['label-tools']." | \n"; - echo "".$text['label-file-size']." | \n"; + echo "".$text['label-tools']." | \n"; + if ($_SESSION['recordings']['storage_type']['text'] != 'base64') { + echo "".$text['label-file-size']." | \n"; + } echo th_order_by('recording_description', $text['label-description'], $order_by, $order); echo "\n"; echo " | ".$tmp_filesize." | \n"; + if ($_SESSION['recordings']['storage_type']['text'] != 'base64') { + echo "".$tmp_filesize." | \n"; + } echo "".$row['recording_description']." | \n"; echo ""; if (permission_exists('recording_edit')) { diff --git a/app/voicemails/voicemail_messages.php b/app/voicemails/voicemail_messages.php index a5bf8cae47..8b965e2150 100644 --- a/app/voicemails/voicemail_messages.php +++ b/app/voicemails/voicemail_messages.php @@ -107,7 +107,9 @@ if (!(check_str($_REQUEST["action"]) == "download" && check_str($_REQUEST["src"] $table_header .= th_order_by('caller_id_number', $text['label-caller_id_number'], $order_by, $order); $table_header .= " | ".$text['label-tools']." | \n"; $table_header .= th_order_by('message_length', $text['label-message_length'], $order_by, $order, null, "style='text-align: right;'"); - $table_header .= "".$text['label-message_size']." | \n"; + if ($_SESSION['voicemail']['storage_type']['text'] != 'base64') { + $table_header .= "".$text['label-message_size']." | \n"; + } $table_header .= ""; $table_header .= "\n"; @@ -121,14 +123,15 @@ if (!(check_str($_REQUEST["action"]) == "download" && check_str($_REQUEST["src"] echo " | \n";
echo " ".$text['label-mailbox'].": ".$field['voicemail_id']." \n"; echo " | \n";
- echo " \n"; + echo " | \n";
if (permission_exists('voicemail_greeting_view')) {
echo " \n";
}
if (permission_exists('voicemail_edit')) {
echo " \n";
}
- echo " | \n";
+ echo " \n"; echo "\n"; if (count($field['messages']) > 0) { @@ -161,7 +164,9 @@ if (!(check_str($_REQUEST["action"]) == "download" && check_str($_REQUEST["src"] echo "".$v_link_label_download.""; echo " \n"; echo " | ".$row['message_length_label']." | \n"; - echo "".$row['file_size_label']." | \n"; + if ($_SESSION['voicemail']['storage_type']['text'] != 'base64') { + echo "".$row['file_size_label']." | \n"; + } echo ""; if (permission_exists('voicemail_message_delete')) { echo "$v_link_label_delete"; |
|---|