Fixes for restoreSession logic. (#4378)
[openemr.git] / templates / document_categories / general_upload.html
blob4b7641a5772c4796fcd048f641e2ca24f00a3718
1 <html>
2 <head>
4 {literal}
5 <style>
6 <!--
7 td {
8 font-size:8pt;
9 font-family:helvetica;
11 a {
12 font-size:8pt;
13 font-family:helvetica;
16 -->
17 </style>
18 {/literal}
19 </head>
20 <body bgcolor="{$STYLE.BGCOLOR2}">
21 <form method=post enctype="multipart/form-data" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
22 <input type="hidden" name="MAX_FILE_SIZE" value="64000000" />
23 <table>
24 <tr>
25 <td>{xlt t="Upload Document"}</td>
26 </tr>
27 <tr>
28 <td><input type="file" name="file"></td>
29 </tr>
30 <tr>
31 <td><input type="submit" value="{xla t='Upload'}"></td>
32 </tr>
33 {if !empty($file)}
34 <tr>
35 <td><br /><br /></td>
36 </tr>
37 <tr>
38 <td>{xlt t='Upload Report'}</td>
39 </tr>
40 <tr>
41 <td>{$error|text}</td>
42 </tr>
43 <tr>
44 <td><pre>{$file|text}</pre></td>
45 </tr>
46 {/if}
47 </table>
48 <input type="hidden" name="process" value="{$PROCESS|attr}" />
49 </form>
50 </body>
51 </html>