remove directory checking, no longer required
[openemr.git] / templates / prescription / general_lookup.html
blob22586d37866435ee7bf601ed99b691263f5ca339
1 <html>
2 <head>
3 {php}html_header_show();{/php}
4 <link rel="stylesheet" href="{php}echo $GLOBALS['css_header']; {/php}" type="text/css">
5 <script language="Javascript">
6 {literal}
7 function my_process () {
8 // Pass the variable
9 {/literal}
10 opener.document.prescribe.drug.value = document.lookup.drug.value;
11 // Close the window
12 window.self.close();
13 {literal}
15 {/literal}
16 </script>
17 {literal}
18 <style type="text/css" title="mystyles" media="all">
19 <!--
20 td {
21 font-size:8pt;
22 font-family:helvetica;
24 input {
25 font-size:8pt;
26 font-family:helvetica;
28 select {
29 font-size:8pt;
30 font-family:helvetica;
32 a {
33 font-size:8pt;
34 font-family:helvetica;
36 textarea {
37 font-size:8pt;
38 font-family:helvetica;
40 -->
41 </style>
42 {/literal}
43 </head>
44 <body onload="javascript:document.lookup.drug.focus();"
45 <div ALIGN="CENTER">
46 <form NAME="lookup" ACTION="{$FORM_ACTION}" METHOD="POST" onsubmit="return top.restoreSession()">
47 {if $drug_options}
48 {html_options name="drug" values=$drug_values options=$drug_options}<input class="button" TYPE="BUTTON" NAME="select" VALUE="{xl t='Select'}" onClick="my_process(); return true;">
49 <br><a href="{$CONTROLLER_THIS}" onclick="top.restoreSession()">{xl t='search again'}</a>
50 {else}
51 {$NO_RESULTS}
53 <input TYPE="HIDDEN" NAME="varname" VALUE=""/>
54 <input TYPE="HIDDEN" NAME="formname" VALUE=""/>
55 <input TYPE="HIDDEN" NAME="submitname" VALUE=""/>
56 <input TYPE="HIDDEN" NAME="action" VALUE="{xl t='Search'}">
57 <div ALIGN="CENTER" CLASS="infobox">
58 Drug:
59 <input TYPE="TEXT" NAME="drug" VALUE="{$drug}"/>
60 <input TYPE="SUBMIT" NAME="action" VALUE="{xl t='Search'}" class="button"/>
61 </div>
62 <input type="hidden" name="process" value="{$PROCESS}" />
64 {/if}
65 </form>
66 </div>
67 </body>
68 </html>