Additional Sql-injection functions and techniques for escaping;
[openemr.git] / interface / forms / dictation / view.php
blob6bbac5ae146f1b2ba12e66e0c32d7881234bfc01
1 <!-- Forms generated from formsWiz -->
2 <?php
4 $fake_register_globals=false;
5 $sanitize_all_escapes=true;
7 include_once("../../globals.php");
8 $returnurl = $GLOBALS['concurrent_layout'] ? 'encounter_top.php' : 'patient_encounter.php';
9 ?>
10 <html><head>
11 <?php html_header_show();?>
12 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
13 </head>
14 <body class="body_top">
15 <?php
16 include_once("$srcdir/api.inc");
17 $obj = formFetch("form_dictation", $_GET["id"]);
19 <form method=post action="<?php echo $rootdir?>/forms/dictation/save.php?mode=update&id=<?php echo attr($_GET["id"]);?>" name="my_form">
20 <span class="title"><?php echo xlt('Speech Dictation'); ?></span><Br><br>
21 <span class=text><?php echo xlt('Dictation: '); ?></span><br><textarea cols=80 rows=24 wrap=virtual name="dictation" ><?php echo text($obj{"dictation"});?></textarea><br>
22 <span class=text><?php echo xlt('Additional Notes: '); ?></span><br><textarea cols=80 rows=8 wrap=virtual name="additional_notes" ><?php echo text($obj{"additional_notes"});?></textarea><br>
23 <br>
24 <a href="javascript:top.restoreSession();document.my_form.submit();" class="link_submit">[<?php echo xlt('Save'); ?>]</a>
25 <br>
26 <a href="<?php echo "$rootdir/patient_file/encounter/$returnurl";?>" class="link"
27 onclick="top.restoreSession()">[<?php echo xlt('Don\'t Save Changes'); ?>]</a>
28 </form>
29 <?php
30 formFooter();