diff --git a/app/xml_cdr/app_languages.php b/app/xml_cdr/app_languages.php index e1fa128eca..2228a2915d 100644 --- a/app/xml_cdr/app_languages.php +++ b/app/xml_cdr/app_languages.php @@ -135,6 +135,11 @@ $text['button-search']['pt-pt'] = "Pesquisa"; $text['button-search']['fr-fr'] = "Recherche"; + $text['button-view']['en-us'] = "View"; + $text['button-view']['es-cl'] = "Ver"; + $text['button-view']['pt-pt'] = "Vista"; + $text['button-view']['fr-fr'] = "Voir"; + $text['button-advanced_search']['en-us'] = "Advanced Search"; $text['button-advanced_search']['es-cl'] = "Búsqueda Avanzada"; $text['button-advanced_search']['pt-pt'] = "Pesquisa Avançada"; diff --git a/app/xml_cdr/xml_cdr.php b/app/xml_cdr/xml_cdr.php index 059c19bb5e..d206f5f441 100644 --- a/app/xml_cdr/xml_cdr.php +++ b/app/xml_cdr/xml_cdr.php @@ -282,7 +282,7 @@ else { } //show the results - echo "
| \n"; //echo th_order_by('direction', 'Direction', $order_by, $order); @@ -303,6 +303,9 @@ else { echo th_order_by('rtp_audio_in_mos', 'MOS', $order_by, $order); } echo th_order_by('hangup_cause', $text['label-status'], $order_by, $order); + if (if_group("admin") || if_group("superadmin")) { + echo " | \n"; + } echo " | |||||||
|---|---|---|---|---|---|---|---|---|
| "; + echo " | "; echo " \n"; if (is_numeric($row['caller_id_number'])) { echo " ".format_phone($row['caller_id_number']).' '; @@ -393,7 +397,7 @@ else { echo " "; echo " | \n"; - echo ""; + echo " | "; echo " \n"; if (is_numeric($row['destination_number'])) { echo format_phone($row['destination_number'])."\n"; @@ -432,11 +436,18 @@ else { if (permission_exists("xml_cdr_mos")) { echo " | 0) ? "title='".($row['rtp_audio_in_mos'] / 5 * 100)."%'" : null).">".((strlen($row['rtp_audio_in_mos']) > 0) ? $row['rtp_audio_in_mos'] : " ")." | \n"; } + echo ""; if (if_group("admin") || if_group("superadmin")) { - echo " | ".$hangup_cause." | \n"; + echo "".$hangup_cause.""; } else { - echo "".$hangup_cause." | \n"; + echo $hangup_cause; + } + echo " \n"; + if (if_group("admin") || if_group("superadmin")) { + echo ""; + echo " $v_link_label_view"; + echo " | \n"; } echo "