4 <style type=
"text/css" title=
"mystyles" media=
"all">
12 font-family:helvetica;
18 <script language=
"javascript">
20 function changeLinkHref(id
,addValue
,value
) {
21 var myRegExp
= new RegExp(":" + value
+ ":");
22 if (addValue
){ //add value to href
23 document
.getElementById(id
).href
+= ':' + value
+ ':';
25 else { //remove value from href
26 document
.getElementById(id
).href
= document
.getElementById(id
).href
.replace(myRegExp
,'');
34 <body {$STYLE.BOTTOM_BG_LINE}
>
37 <td colspan=
"12" align=
"right">
38 <a id=
"multiprint" target=
"_new" href=
"{$CONTROLLER}prescriptiondutch&multiprint&id={$printm}" onclick=
"top.restoreSession()">Print Multiple
</a>
43 <td>{xl t='Drug'}
</td>
44 <td rowspan=
"50"> </td>
45 <td>{xl t='Created'}
<br />{xl t='Changed'}
</td>
46 <td rowspan=
"50"> </td>
47 <td>{xl t='Dosage'}
</td>
48 <td rowspan=
"50"> </td>
49 <td>{xl t='Unit'}
</td>
50 <td rowspan=
"50"> </td>
51 <td>{xl t='Qty'}.
</td>
52 <td rowspan=
"50"> </td>
53 <td>{xl t='Provider'}
</td>
54 <td>{xl t='Select'}
</td>
57 {foreach from=$prescriptions item=prescription}
59 <td><a href=
"{$CONTROLLER}prescriptiondutch&edit&id={$prescription->id}" onclick=
"top.restoreSession()">{$prescription-
>drug}
</a></td>
60 <td><a href=
"{$CONTROLLER}prescriptiondutch&edit&id={$prescription->id}" onclick=
"top.restoreSession()">{$prescription-
>date_added}
</a><br /><a href=
"{$CONTROLLER}prescription&edit&id={$prescription->id}" onclick=
"top.restoreSession()">{$prescription-
>date_modified}
</a></td>
61 <td>{$prescription-
>get_dosage_display()}
</td>
62 <td>{$prescription-
>get_unit_display()}
</td>
63 <td>{$prescription-
>quantity}
</td>
64 <td>{$prescription-
>provider-
>get_name_display()}
</td>
65 <td><input type=checkbox
value=
"{$prescription->id}" onclick=
"changeLinkHref('multiprint',this.checked, this
70 <td colspan=
"6">{xl t='No Prescriptions Found'}
</td>