diff --git a/app/fax/fax_files.php b/app/fax/fax_files.php index 3b06d7a44a..d8e85891cb 100644 --- a/app/fax/fax_files.php +++ b/app/fax/fax_files.php @@ -305,6 +305,54 @@ } require_once "resources/header.php"; +//pdf script, style and container + echo "\n"; + echo "\n"; + echo ""; + echo "
\n"; + echo "
\n"; + echo " \n"; + echo "
\n"; + echo "
\n"; + //show the content echo "
\n"; echo "
"; @@ -316,6 +364,7 @@ } echo "
\n"; echo "
\n"; + echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','link'=>'fax.php']); $margin_left = false; if (permission_exists('fax_file_edit') && $_REQUEST['box'] == 'inbox' && $fax_files) { @@ -457,7 +506,7 @@ $list_row_url .= "&fax_file_uuid=".urlencode($row['fax_file_uuid']); $list_row_url .= "&a=download"; $list_row_url .= "&type=fax_".urlencode($_REQUEST['box']); - $list_row_url .= "&t=bin"; + //$list_row_url .= "&t=bin"; $list_row_url .= "&order_by=".urlencode($_REQUEST['order_by']); $list_row_url .= "&order=".urlencode($_REQUEST['order']); $list_row_url .= "&box=".urlencode($_REQUEST['box']); @@ -479,7 +528,9 @@ echo " ".escape(format_phone($row['fax_destination']))." \n"; } if (permission_exists('fax_download_view')) { - echo " ".$file_name."\n"; + echo " \n"; + echo " ".$file_name.""; + echo " \n"; } echo " \n"; if ($_REQUEST['box'] == 'inbox') { @@ -489,7 +540,9 @@ $dir_fax = $dir_fax_sent; } if ((permission_exists('fax_inbox_view') || permission_exists('fax_sent_view')) && file_exists($dir_fax.'/'.$file_name.".pdf")) { - echo " PDF\n"; + echo " View\n"; + echo "   \n"; + echo " PDF\n"; } echo " \n"; echo " ".$row['fax_date_formatted']." ".$row['fax_time_formatted']." \n"; @@ -523,4 +576,4 @@ //include the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?>