3 <script language=
"javascript">
4 function submit_documents()
7 document
.queue
.submit();
13 <a href=
"controller.php?practice_settings&{$TOP_ACTION}document_category&action=list" {php} if (!$GLOBALS['concurrent_layout']) echo
"target='Main'"; {/php}
onclick=
"top.restoreSession()" class=
"css_button" >
14 <span>{xl t='Edit Categories'}
</span></a><a href=
"#" onclick=
"submit_documents();" class=
"css_button" target=
"_self" ><span>{xl t='Update files'}
</span></a>
15 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" /><br><br>
17 <form name=
"queue" method=
"post" action=
"{$FORM_ACTION}" onsubmit=
"return top.restoreSession()">
18 <table cellpadding=
"1" class=
"showborder">
19 <tr class=
"center_display">
20 <td colspan=
"6">{$messages}
</td>
22 <tr class=
"showborder_head">
23 <th colspan=
"2" width=
"110px">{xl t='Name'}
</td>
24 <th width=
"100px">{xl t='Date'}
</td>
25 <th width=
"200px">{xl t='Patient'}
</td>
26 <th colspan=
"2">{xl t='Category'}
</td>
28 {foreach name=queue_list from=$queue_files item=file}
30 <td><input type=
"checkbox" name=
"files[{$file.document_id}][active]" value=
"1" {if is_numeric($file.patient_id)}checked{/if}
></td>
32 <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>
34 <td>{$file.mtime}
</td>
36 <td><input type=
"text" name=
"files[{$file.document_id}][patient_id]" size=
"5" value=
"{$file.patient_id}"><input type=
"hidden" name=
"patient_name" value=
""></td>
38 <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> </td>
39 <td><select name=
"files[{$file.document_id}][category_id]">{$tree_html_listbox}
</select></td>
43 <tr height=
"25" class=
"center_display">
44 <td colspan=
"6">{xl t='No Documents Found'}
</td>