Translation support with xl() function added. There are some other bugs I need to...
[openemr.git] / templates / documents / general_queue.html
blob5585607f866f33c3fe3bd4533a24dea97f3ec3ad
1 <form name="queue" method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
2 <table>
3 <tr>
4 <td colspan="7">{$messages}</td>
5 </tr>
6 <tr>
7 <td></td>
8 <td>&nbsp;</td>
9 <td>{xl t='Name'}</td>
10 <td>&nbsp;</td>
11 <td>{xl t='Date'}</td>
12 <td>&nbsp;</td>
13 <td>{xl t='Patient'}</td>
14 <td>&nbsp;</td>
15 <td>{xl t='Category'}</td>
16 </tr>
17 {foreach name=queue_list from=$queue_files item=file}
18 <tr>
19 <td><input type="checkbox" name="files[{$file.document_id}][active]" value="1" {if is_numeric($file.patient_id)}checked{/if}></td>
20 <td></td>
21 <td><a href="{$file.web_path}" onclick="top.restoreSession()">{$file.filename}</a><input type="hidden" name="files[{$file.document_id}][name]" value="{$file.filename}"></td>
22 <td></td>
23 <td>{$file.mtime}</td>
24 <td></td>
25 <td><input type="text" name="files[{$file.document_id}][patient_id]" size="5" value="{$file.patient_id}"></td>
26 <input type="hidden" name="patient_name" value="">
27 <td><a href="javascript:{literal}{}{/literal}" onclick="top.restoreSession();var URL='controller.php?patient_finder&find&form_id=queue{"['files[`$file.document_id`][patient_id]']"|escape:"url"}&form_name=patient_name'; window.open(URL, 'queue', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=450,height=400,left = 425,top = 250');"><img src="images/stock_search-16.png" border="0"</a>&nbsp;&nbsp;&nbsp;</td>
28 <td><select name="files[{$file.document_id}][category_id]">{$tree_html_listbox}</select></td>
30 </tr>
31 {/foreach}
32 <tr>
33 <td colspan="5"><br><input type="submit" name="update_files" value="{xl t='Update files'}"></td>
34 </tr>
35 </table>
36 <input type="hidden" name="process" value="{$PROCESS}" />
37 </form>