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 <input type=
"file" name=
"file"> <input type=
"submit" value=
"{xl t='Upload'}">
16 <div class=
"text bold">
18 {xl t='Upload Report'}
21 {if $error}
<i>{$error}
</i><br/>{/if}
22 {xl t='ID'}: {$file-
>get_id()}
<br>
23 {xl t='Patient'}: {$file-
>get_foreign_id()}
<br>
24 {xl t='URL'}: {$file-
>get_url()}
<br>
25 {xl t='Size'}: {$file-
>get_size()}
<br>
26 {xl t='Date'}: {$file-
>get_date()}
<br>
27 {xl t='MimeType'}: {$file-
>get_mimetype()}
<br>
28 {xl t='Revision'}: {$file-
>revision}
<br>
32 <input type=
"hidden" name=
"patient_id" value=
"{$patient_id}" />
33 <input type=
"hidden" name=
"category_id" value=
"{$category_id}" />
34 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" />