merged from head the following: use of formTrim functionto fix quote handling when...
[openemr.git] / interface / patient_file / encounter / new_form.php
blobd4afe31f6b1c1734f2c076baf51e0ddb4b5b565c
1 <?
2 include_once("../../globals.php");
4 ?>
6 <html>
7 <head>
10 <link rel=stylesheet href="<?echo $css_header;?>" type="text/css">
13 </head>
14 <body <?echo $top_bg_line;?> topmargin=0 rightmargin=0 leftmargin=2 bottommargin=0 marginwidth=2 marginheight=0>
15 <!-- outdated
16 <dl>
17 <dt><span class="title">New Form</span></dt>
18 <dd><a href="<?echo "$rootdir/patient_file/encounter/load_form.php?formname=physical";?>" class="link" target=Main>Physical Examination</a></dd>
19 <dd><a href="<?echo "$rootdir/patient_file/encounter/load_form.php?formname=newpatient";?>" class="link" target=Main>New Patient Form</a></dd>
20 <dd><a href="<?echo "$rootdir/patient_file/encounter/load_form.php?formname=sencounter";?>" class="link" target=Main>Small Patient Encounter</a></dd>
21 <dd><a href="<?echo "$rootdir/patient_file/encounter/load_form.php?formname=reviewofs";?>" class="link" target=Main>Review Of Systems</a></dd>
22 </dl>
23 -->
24 <dl>
25 <dt><span class="title">New Form</span></dt>
26 <?php //DYNAMIC FORM RETREIVAL
27 include_once("$srcdir/registry.inc");
28 $reg = getRegistered ();
29 if ($reg != false)
30 foreach ($reg as $entry)
31 echo '<dd><a href="'.$rootdir.'/patient_file/encounter/load_form.php?formname='.urlencode($entry['directory']).'" class="link" target=Main>'.$entry['name'].'</a></dd>';
33 </dl>
35 </body>
36 </html>