From 579f936fd62bb7bc9c7daed9d71e8eea391f7fd1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 5 Jun 2018 18:09:49 -0600 Subject: [PATCH] Update call_recordings.php --- app/call_recordings/call_recordings.php | 36 ++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/app/call_recordings/call_recordings.php b/app/call_recordings/call_recordings.php index 744b83cb17..d82d9e0dc6 100644 --- a/app/call_recordings/call_recordings.php +++ b/app/call_recordings/call_recordings.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2017 + Portions created by the Initial Developer are Copyright (C) 2018 the Initial Developer. All Rights Reserved. Contributor(s): @@ -173,7 +173,7 @@ echo " \n"; echo "       "; } - echo " \n"; + echo " \n"; echo " \n"; echo " \n"; echo " \n"; @@ -221,7 +221,7 @@ $x = 0; foreach($result as $row) { //if (permission_exists('call_recording_play') && $recording_file_path != '') { - // echo "\n"; + // echo "\n"; //} if (permission_exists('call_recording_edit')) { $tr_link = "href='call_recording_edit.php?id=".$row['call_recording_uuid']."'"; @@ -229,38 +229,38 @@ echo "\n"; echo " \n"; echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; - echo " ".$row['call_recording_name']." \n"; + echo " ".escape($row['call_recording_name'])." \n"; echo " \n"; //echo " \n"; - //echo " ".$text['label-download']." ".$v_link_label_download."\n"; + //echo " ".$text['label-download']." ".$v_link_label_download."\n"; if (file_exists($row['call_recording_path'].'/'.$row['call_recording_name'])) { if (permission_exists('call_recording_play')) { - echo ""; - echo "".$v_link_label_play.""; + echo ""; + echo "".$v_link_label_play.""; } if (permission_exists('call_recording_download')) { - echo "".$v_link_label_download.""; + echo "".$v_link_label_download.""; } } echo " \n"; //echo " \n"; - //echo " ".$text['label-download']." ".$v_link_label_download."\n"; + //echo " ".$text['label-download']." ".$v_link_label_download."\n"; //echo " \n"; - echo " ".$row['call_recording_length']." \n"; - echo " ".$row['call_recording_date']." \n"; - echo " ".$row['call_direction']." \n"; - echo " ".$row['call_recording_description']." \n"; - //echo " ".$row['call_recording_base64']." \n"; + echo " ".escape($row['call_recording_length'])." \n"; + echo " ".escape($row['call_recording_date'])." \n"; + echo " ".escape($row['call_direction'])." \n"; + echo " ".escape($row['call_recording_description'])." \n"; + //echo " ".escape($row['call_recording_base64'])." \n"; echo " "; if (permission_exists('xml_cdr_details')) { - echo " $v_link_label_view"; + echo " $v_link_label_view"; } if (permission_exists('call_recording_edit')) { - echo "\n";