Modified documentation to recommend no longer using the mode, prepend, or append...
[openemr.git] / templates / documents / general_upload.html
blobf5c1e217afa13313d63070f77d3b99b59cbc8b35
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" />
4 <div class="text">
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."}
6 <br/>
7 <br/>
8 </div>
9 <div class="text bold">
10 {xl t="Upload Document"} {if $category_name} {xl t="to category"} '{$category_name}'{/if}
11 </div>
12 <div class="text">
13 <input type="file" name="file"> <input type="submit" value="{xl t='Upload'}">
14 </div>
15 {if !empty($file)}
16 <div class="text bold">
17 <br/>
18 {xl t='Upload Report'}
19 </div>
20 <div class="text">
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>
29 </div>
30 {/if}
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}" />
35 </form>