1 <form method=post
enctype=
"multipart/form-data" action=
"{$FORM_ACTION}" onsubmit=
"return top.restoreSession()">
2 <input type=
"hidden" name=
"MAX_FILE_SIZE" value=
"64000000" />
5 {xl
t=
"NOTE: Uploading files with duplicate names will cause the files to be automatically renamed (for example, file.jpg will become file.1.jpg). Filenames are considered unique per patient, not per category."}
9 <div class=
"text bold">
10 {xl
t=
"Upload Document"} {if $category_name} {xl
t=
"to category"} '{$category_name}'{/if}
13 <p><span>{xl
t=
"Source File Path"}:
</span> <input type=
"file" name=
"file" id=
"source-name"/></p>
14 <p><span title=
"{xl t='Leave Blank To Keep Original Filename'}">{xl
t=
"Optional Destination Name"}:
</span> <input type=
"text" name=
"destination" title=
"{xl t='Leave Blank To Keep Original Filename'}" id=
"destination-name" /></p>
15 {if !$hide_encryption}
17 <p><span title=
"{xl t='Check the box if this is an encrypted file'}">{xl
t=
"Is The File Encrypted?"}:
</span> <input type=
"checkbox" name=
"encrypted" title=
"{xl t='Check the box if this is an encrypted file'}" id=
"encrypted" /></p>
18 <p><span title=
"{xl t='Pass phrase to decrypt document'}">{xl
t=
"Pass Phrase"}:
</span> <input type=
"text" name=
"passphrase" title=
"{xl t='Pass phrase to decrypt document'}" id=
"passphrase" /></p>
19 <p><i>{xl t='Supports TripleDES encryption/decryption only.'}
</i></p>
21 <p><input type=
"submit" value=
"{xl t='Upload'}" /></p>
24 <div class=
"text bold">
26 {xl t='Upload Report'}
29 {if $error}
<i>{$error}
</i><br/>{/if}
30 {xl t='ID'}: {$file-
>get_id()}
<br>
31 {xl t='Patient'}: {$file-
>get_foreign_id()}
<br>
32 {xl t='URL'}: {$file-
>get_url()}
<br>
33 {xl t='Size'}: {$file-
>get_size()}
<br>
34 {xl t='Date'}: {$file-
>get_date()}
<br>
35 {xl t='Hash'}: {$file-
>get_hash()}
<br>
36 {xl t='MimeType'}: {$file-
>get_mimetype()}
<br>
37 {xl t='Revision'}: {$file-
>revision}
<br>
41 <input type=
"hidden" name=
"patient_id" value=
"{$patient_id}" />
42 <input type=
"hidden" name=
"category_id" value=
"{$category_id}" />
43 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" />