1 <script type=
"text/javascript" src=
"library/dialog.js"></script>
2 <script language=
"JavaScript">
3 // Process click on Delete link.
4 function deleteme(docid
) {literal
}{{/literal
}
5 dlgopen('interface/patient_file/deleter.php?document=' + docid
, '_blank', 500, 450);
8 // Called by the deleter.php window on a successful delete.
9 function imdeleted() {literal
}{{/literal
}
10 window
.location
.href
='{$REFRESH_ACTION}';
19 <form name=
"notes" method=
"post" action=
"{$NOTE_ACTION}">
20 <textarea cols=
"53" rows=
"4" wrap=
"virtual" name=
"note"></textarea><br>
21 <input type=
"submit" name=
"add note" value=
"Add Note">
22 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" />
23 <input type=
"hidden" name=
"foreign_id" value=
"{$file->get_id()}" />
27 <textarea cols=
"53" rows=
"10" disabled
>
28 {foreach name=note_loop from=$notes item=note}
29 Note #{$note-
>get_id()}
30 Date: {$note-
>get_date()}
39 <form method=
"post" name=
"document_move" action=
"{$MOVE_ACTION}">
40 <select name=
"new_category_id">{$tree_html_listbox}
</select><br><br>
41 Move to Patient #
<input type=
"text" name=
"new_patient_id" size=
"4">
42 <a href=
"javascript:{literal}{}{/literal}" onclick=
"var URL='controller.php?patient_finder&find&form_id={"document_move['new_patient_id']
"|escape:"url
"}&form_name={"document_move['new_patient_name']
"|escape:"url
"}'; window.open(URL, 'document_move', '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>
43 <input type=
"submit" name=
"move" value=
"Move">
44 <input type=
"hidden" name=
"new_patient_name" value=
"">
50 <a href=
"{$web_path}">Click to download
</a>
52 <!-- Added by Rod: -->
53 {$delete_string}
60 {if $file-
>get_mimetype() eq
"image/tiff"}
61 <embed border=
"0" frameborder=
"0" style=
"border:none;" width=
"800" height=
"600" type=
"{$file->get_mimetype()}" src=
"{$web_path}{$file->get_url_web()}&as_file=false"></embed>
62 {elseif $file-
>get_mimetype() eq
"image/png" or $file-
>get_mimetype() eq
"image/jpg" or $file-
>get_mimetype() eq
"image/jpeg" or $file-
>get_mimetype() eq
"image/gif"}
63 <iframe border=
"0" frameborder=
"0" style=
"border:none;" width=
"800" height=
"600" type=
"{$file->get_mimetype()}" src=
"{$web_path}{$file->get_url_web()}&as_file=false"></iframe>
65 <iframe border=
"0" frameborder=
"0" style=
"border:none;" width=
"800" height=
"600" type=
"{$file->get_mimetype()}" src=
"{$web_path}{$file->get_url_web()}&as_file=true"></iframe>