template language translations from Dr. Bosman's group
[openemr.git] / templates / documents / general_upload.html
blob2ee06def3bed4beeeadea4e4e39950f21b863b52
1 <form method=post enctype="multipart/form-data" action="{$FORM_ACTION}">
2 <input type="hidden" name="MAX_FILE_SIZE" value="12000000" />
3 <table>
4 <tr>
5 <td>{xl t="NOTE: Uploading files with duplicate names will cause the files to be automatically renamed. For example '<i>file.jpg</i>' will become '<i>file.jpg.1</i>'. Filenames are considered unique per patient, not per category. "}</td>
6 </tr>
7 <tr>
8 <td>{xl t="Upload Document"} {if $category_name} {xl t="to category"} '{$category_name}'{/if}</td>
9 </tr>
10 <tr>
11 <td><input type="file" name="file"></td>
12 </tr>
13 <tr>
14 <td><input type="submit" value="{xl t='Upload'}"></td>
15 </tr>
16 {if !empty($file)}
17 <tr>
18 <td><br><br></td>
19 </tr>
20 <tr>
21 <td>{xl t='Upload Report'}</td>
22 </tr>
23 <tr>
24 <td>{$error}</td>
25 </tr>
26 <tr>
27 <td>
28 {xl t='ID'}: {$file->get_id()}<br>
29 {xl t='Patient'}: {$file->get_foreign_id()}<br>
30 {xl t='URL'}: {$file->get_url()}<br>
31 {xl t='Size'}: {$file->get_size()}<br>
32 {xl t='Date'}: {$file->get_date()}<br>
33 {xl t='MimeType'}: {$file->get_mimetype()}<br>
34 {xl t='Revision'}: {$file->revision}<br>
35 </td>
36 </tr>
37 {/if}
38 </table>
39 <input type="hidden" name="patient_id" value="{$patient_id}" />
40 <input type="hidden" name="category_id" value="{$category_id}" />
41 <input type="hidden" name="process" value="{$PROCESS}" />
42 </form>